Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Unable to save host file even with admin rights/UAC off

19 Apr 2010   #1
enciel

Windows 7
 
 
Unable to save host file even with admin rights/UAC off

Hi all I searched the net on how to overwrite or save over the host file in the C:\Windows\System32\drivers\etc folder but I cannot seem to make it work here. I tried opening Notepad and run as administrator then file>open the hosts file and then save but I keep getting access denied.

When I try overwriting the host file I keep getting this error

You need permission from S-1-5-21-1707938003-3620065225-122919045-1000 to make changes to this folder


or

if I try to delete the host file I get

You need permission from SYSTEM to make changes to this file.

I tried editing permissions in the etc folder but its disabled even though I am using administrator account

I tried this with UAC off as well. I also tried logging in using Administrator account but same thing. Who is this user? I tried disabling Norton antivirus as well. Can anyone please shed a light on how to solve this in windows 7???


My System SpecsSystem Spec
.
19 Apr 2010   #2
CarlTR6

Windows 7 Ultimate 32 bit
 
 

Have tried to take ownership of the Host file?

Take Ownership Shortcut
My System SpecsSystem Spec
19 Apr 2010   #3
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

My System SpecsSystem Spec
.

19 Apr 2010   #4
enciel

Windows 7
 
 

thanks for that I tried it but to no avail I can't still save. It still says I need permission
My System SpecsSystem Spec
19 Apr 2010   #5
enciel

Windows 7
 
 

Quote   Quote: Originally Posted by CarlTR6 View Post
Have tried to take ownership of the Host file?

Take Ownership Shortcut
tried that after i did that a different prompt occured it said that I need permission from myself to change the host file. tried logging in using administrator account same result! why is that? it's really weird I have an admin account permission and I need permission from myself to change that file???
My System SpecsSystem Spec
19 Apr 2010   #6
DeaconFrost

Windows 7 Ultimate x64 SP1
 
 

Was this computer on a domain at one point, or did it have an admin-level account that was removed?
My System SpecsSystem Spec
21 Apr 2010   #7
enciel

Windows 7
 
 

Quote   Quote: Originally Posted by DeaconFrost View Post
Was this computer on a domain at one point, or did it have an admin-level account that was removed?

Yes it's on a WORKGROUP domain. I am not sure what you mean that my admin-level account was removed? I checked my rights and I am under in the group of Administrators. And I also tried logging in as Administrator but still cannot save the hosts file.

Is there anything I should do???
My System SpecsSystem Spec
21 Apr 2010   #8
DeaconFrost

Windows 7 Ultimate x64 SP1
 
 

You're answer confuses me more. Is the computer currently on a workgroup or a domain? If it is currently in a workgroup, was it ever on a domain? The error message you gave suggests that there was an admin-level account on the system that was removed, or cannot be verified by name anymore, such as if the computer was pulled from a domain. That's why you are seeing the long string of characters, rather than an actual username.
My System SpecsSystem Spec
21 Apr 2010   #9
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

For those interested, Seven Forums now has a tutorial on the subject of the Hosts File; I know this doesn't help with your issue though.

Hosts File : Use in Windows 7 / Vista
My System SpecsSystem Spec
Reply

 Unable to save host file even with admin rights/UAC off




Thread Tools




Similar help and support threads
Thread Forum
How to force to run any setup/program/file without admin rights?
I have been looking for the answer to the question like forever and to this day I cannot find solution that would completely solve the problem. Let me be straight from the beginning, I actually want to FORCE (!) any file to run without admin rights 100% of the time without any exceptions whats...
General Discussion
Remove Admin Rights and Move instead of Copy | Batch file
I have a list of 1000 files names that I put in a text file named list.txt. Need to find them in more folders, sub folders which has 12000+ files in it. The below script works fine but I would like the Admin Right to be removed and also I want the files to be moved permanently into C:\your_files....
General Discussion
"Unable to elevate to admin rights" error, when admin user
I am trying to download Adobe Digital Editions and I keep receiving the error message Unable to elevate to administrative rights, error 786 I am the admin! I have turned off the password, I have right clicked on the program and chosen 'run as admin'-then nothing happens. Any help would be...
Software
Unable to Acces Temp folder without admin rights
I think windows locked the temp folder from being accessed by any program without admin rights. When opening a file from an archive with Winrar, it just get extracted in the same folder before it is opened. Is temp folder locked down for non UAC applications?? But goto WinRAR and File...
System Security
Have admin rights but can't create new file in Program Files (x86)
I'm trying to solve a problem with the Aspell spell-checker for Notepad++ by using the steps described at this link... SourceForge.net: Notepad++: Aspell files - en.pws , en.prepl However, when I right-click inside that folder to create a new text file, the only option in the "New" context menu...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:37.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App