| Windows 7: Security issues (Access Denied) |
16 Mar 2011
|
#1 | | |
Security issues (Access Denied) I've been pulling my hair out over this issue, or should I say, these issues.
Firstly, a a minor issue. When I try to rename folders, or delete folders on my 2nd drive D, windows 7 keeps asking for admin permission. Why? How can I stop it from happening? I am the admin. I've tried taking ownership, granted full access. Still it wont stop asking.
But perhaps the most annoying issue. I was trying to modify my hosts file and no matter what guide I follow, I cant save the hosts file. Always access denied.
I've done the following:
Gave myself full permissions in the security tab.
Make sure I was one of the owners.
Run notepad as admin.
And still I can't save it. I know all this security is for my protection, but when I install Windows 7 with only one account, the admins, I should'nt have to jump through hoops to delete things.
Any ideas? | My System Specs |
| |
16 Mar 2011
|
#2 | | |
Start 'orb' / Control Panel / (view by category) System and Security / Change user account control settings
- Slide down to, Never Notify
2nd: As for: Quote: But perhaps the most annoying issue. I was trying to modify my hosts file and no matter what guide I follow, I cant edit it.
I've done the following: Do you get an error? | My System Specs | | |
16 Mar 2011
|
#3 | | Windows 7 x64 Ultimate San Diego |
Actually the real problem is that your second drive probably has files and folders on it created by another user. I'd guess another user account of yours on another machine or previous install of windows?
So as your CURRENT user you do not have acces to those files without invoking admin privs (You are not a full time admin on your machine when logged into your normal user account).
To stop this you want to take ownership of all the files on your D drive. Then they will all be owned by your new windows 7 user account and you won't have to invoke admin privs every time you touch them.
Search this forum for "Take Ownership". But ONLY take ownership of your own personal files. NEVER try to take ownership of any OS controlled file locations or you will hose your install. | My System Specs | | System Manufacturer/Model Number Scratch built OS Windows 7 x64 Ultimate CPU i7 960 Motherboard Asus P6X58D Memory 12 Gig Corsair Dominator Graphics Card Nvidia 480 Sound Card Maudio Delta 44 + breakout box Monitor(s) Displays Dell UltraSharp U2410 24in and Samsung 21 dual monitors Screen Resolution 1920x1200 and 1280x1024 Keyboard Logitech G15 + N52 game pad Mouse Logitech MX518 PSU Corasair TX850 Case Cooler Master HAF Cooling Corsair H50 Hard Drives Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode. Internet Speed 15kbs down 4.5kbps up Other Info WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7 |
16 Mar 2011
|
#4 | | Windows 7 Ultimate RTM (Technet) Charlotte, NC |

Quote: Originally Posted by CrazyAwesome I've been pulling my hair out over this issue, or should I say, these issues.
Firstly, a a minor issue. When I try to rename folders, or delete folders on my 2nd drive D, windows 7 keeps asking for admin permission. Why? How can I stop it from happening? I am the admin. I've tried taking ownership, granted full access. Still it wont stop asking.
But perhaps the most annoying issue. I was trying to modify my hosts file and no matter what guide I follow, I cant save the hosts file. Always access denied.
I've done the following:
Gave myself full permissions in the security tab.
Make sure I was one of the owners.
Run notepad as admin.
And still I can't save it. I know all this security is for my protection, but when I install Windows 7 with only one account, the admins, I should'nt have to jump through hoops to delete things.
Any ideas? The hosts file is set to read-only. You have to remove that in properties before you can change it, regardless of your permissions. | My System Specs | | System Manufacturer/Model Number Custom OS Windows 7 Ultimate RTM (Technet) CPU 3.00 gigahertz Intel Core2 Duo E8400 Motherboard ASUSTeK Computer INC. P5K/EPU Rev 1.xx Memory 4GB Graphics Card ATI Radeon X1950 Pro Sound Card Built in HD Audio Monitor(s) Displays 22" Gateway LCD Screen Resolution 1920 x 1200 Keyboard Logitech G11 Mouse Microsoft Wireless Laser Mouse 5000 Hard Drives ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK Internet Speed 13.44 Mbps |
16 Mar 2011
|
#5 | | |

Quote: Originally Posted by fseal Actually the real problem is that your second drive probably has files and folders on it created by another user. I'd guess another user account of yours on another machine or previous install of windows?
So as your CURRENT user you do not have acces to those files without invoking admin privs (You are not a full time admin on your machine when logged into your normal user account).
To stop this you want to take ownership of all the files on your D drive. Then they will all be owned by your new windows 7 user account and you won't have to invoke admin privs every time you touch them.
Search this forum for "Take Ownership". But ONLY take ownership of your own personal files. NEVER try to take ownership of any OS controlled file locations or you will hose your install. Thats spot on. I'll give it a try and see how it goes 
Quote: Originally Posted by MacGyvr The hosts file is set to read-only. You have to remove that in properties before you can change it, regardless of your permissions. In the properties its not read only.
If for example, I try to rename the hosts file, it will ask for admin permissions.
I click continue but the screen doesnt dim and ask for permission like it does with other things. Then I get this:
I am the admin. | My System Specs | | |
16 Mar 2011
|
#6 | | Windows 7 Ultimate RTM (Technet) Charlotte, NC |
By default it is read-only, so that has been changed at some point in time. Your hosts file is also much larger (more than double) than a normal one should be.
Unless you are logged in as "Administrator," you aren't "the admin"...admin permissions are a little different in Windows 7. You could try enabling the "Administrator" account and logging in that way, but you should not need to as long as you are a member of the Administrators group. | My System Specs | | System Manufacturer/Model Number Custom OS Windows 7 Ultimate RTM (Technet) CPU 3.00 gigahertz Intel Core2 Duo E8400 Motherboard ASUSTeK Computer INC. P5K/EPU Rev 1.xx Memory 4GB Graphics Card ATI Radeon X1950 Pro Sound Card Built in HD Audio Monitor(s) Displays 22" Gateway LCD Screen Resolution 1920 x 1200 Keyboard Logitech G11 Mouse Microsoft Wireless Laser Mouse 5000 Hard Drives ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK Internet Speed 13.44 Mbps |
16 Mar 2011
|
#7 | | Win7U 64 RTM Ellesmere Island |

Quote: Originally Posted by CrazyAwesome I've been pulling my hair out over this issue, or should I say, these issues.
Firstly, a a minor issue. When I try to rename folders, or delete folders on my 2nd drive D, windows 7 keeps asking for admin permission. Why? How can I stop it from happening? I am the admin. I've tried taking ownership, granted full access. Still it wont stop asking. It's not a good idea to disable UAC to 'Never Notify', as you remove an effective security measure against rogue programs, trojans, etc., allowing themselves to run. I have UAC set to the 2nd from top setting and don't have any issues. If that setting doesn;t resolve the problem, post back. Quote: But perhaps the most annoying issue. I was trying to modify my hosts file and no matter what guide I follow, I cant save the hosts file. Always access denied.
I've done the following:
Gave myself full permissions in the security tab.
Make sure I was one of the owners.
Run notepad as admin.
And still I can't save it. I know all this security is for my protection, but when I install Windows 7 with only one account, the admins, I should'nt have to jump through hoops to delete things.
Any ideas? Ideas:
Have you: - Checked to see if the file attribute is set to 'Read Only'?
- Tried from Safe Mode?
- Tried making a copy of the file, editing, saving and copying back (admittedly, a bit of hoop jumping)
- From another user account?
All but the first are a bit unreasonable to expect, but at least it will provide further info.
James | My System Specs | | OS Win7U 64 RTM CPU Q9550 Motherboard GA-EP45-UD3R Memory 8GB Gskill Graphics Card ASUS|EAH4850/HTDI/1GD3/A Sound Card xfi Plat Monitor(s) Displays Dell 2405fpw Screen Resolution 1920x1200 Keyboard MS Natural Ergonomic 4000 Mouse Logitech MX610 USB Cordless PSU Antec Case Antec Hard Drives Seagate & WD sata Drives |
16 Mar 2011
|
#8 | | |
The read only attribute is not checked.
If I make a copy of the file in the same folder, I can delete, edit, rename, all without issue. But I can't do anything with the original hosts file except look at its contents.
I can't delete it or anything. Even if I run CMD with elevated permissions, I keep getting acces denied.
I don't have any other account on this PC except the one I am using.
As for the other suggestion, Ill try it once I have finished tinkering here.
I'm baffled. | My System Specs | | |
16 Mar 2011
|
#9 | | Windows 7 Ultimate RTM (Technet) Charlotte, NC |

Quote: Originally Posted by CrazyAwesome The read only attribute is not checked.
If I make a copy of the file in the same folder, I can delete, edit, rename, all without issue. But I can't do anything with the original hosts file except look at its contents.
I can't delete it or anything. Even if I run CMD with elevated permissions, I keep getting acces denied.
As for the other suggestions, Ill try them once I have finished tinkering here.
I'm baffled. Who is the current owner of the file? | My System Specs | | System Manufacturer/Model Number Custom OS Windows 7 Ultimate RTM (Technet) CPU 3.00 gigahertz Intel Core2 Duo E8400 Motherboard ASUSTeK Computer INC. P5K/EPU Rev 1.xx Memory 4GB Graphics Card ATI Radeon X1950 Pro Sound Card Built in HD Audio Monitor(s) Displays 22" Gateway LCD Screen Resolution 1920 x 1200 Keyboard Logitech G11 Mouse Microsoft Wireless Laser Mouse 5000 Hard Drives ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK Internet Speed 13.44 Mbps |
16 Mar 2011
|
#10 | | |
The owner is my PC and my only account. The copy of the hosts file, I compared all the security settings side by side. They are identical. Yet one I can edit and one I can't. | My System Specs | | Security issues (Access Denied) problems? All times are GMT -5. The time now is 07:28 PM. | |