PurpleHaze420 Posted April 28, 2009 Share Posted April 28, 2009 I'm having a problem saving an edit I need to do to the "hosts" file in "windows/system32/drivers/etc" It's complaining about the fact I don't have permission to save the edit although i'm using the only profile i.e Administrator and i'm just not sure what i'm doing wrong. :huh: Direct link to larger image Link to comment Share on other sites More sharing options...
s1k3sT Posted April 28, 2009 Share Posted April 28, 2009 I'm having a problem saving an edit I need to do to the "hosts" file in "windows/system32/drivers/etc"It's complaining about the fact I don't have permission to save the edit although i'm using the only profile i.e Administrator and i'm just not sure what i'm doing wrong. heh. Thought i'd find the solution quicker posting here then screwing about working out what dumb thing i'm doing. Direct link to larger image whenever i mess with the host file i make a copy, modify that one, then replace by copy/paste (prob. should backup orig) Link to comment Share on other sites More sharing options...
PurpleHaze420 Posted April 28, 2009 Author Share Posted April 28, 2009 Awesome, yeah that worked. By doing it that way it brings up a box asking me to confirm administrator acknowledgement. :) Link to comment Share on other sites More sharing options...
Sethos Posted April 28, 2009 Share Posted April 28, 2009 Can't just you right click and "Run as administrator" ? Works in Vista. Link to comment Share on other sites More sharing options...
Zain Adeel Posted April 28, 2009 Share Posted April 28, 2009 it never asked me about the permission thing.. :s i always have to make an edit to it whenever i do a clean install coz i have to run a program i cant live without :p Link to comment Share on other sites More sharing options...
Delete my account please Posted April 28, 2009 Share Posted April 28, 2009 The read only attribute is likely set. Link to comment Share on other sites More sharing options...
MuffloN Posted April 28, 2009 Share Posted April 28, 2009 By default you do not have write permissions of the host file, and you need to take ownership to edit it. Link to comment Share on other sites More sharing options...
Lee G. Veteran Posted April 28, 2009 Veteran Share Posted April 28, 2009 Set your user to allow writing to the hosts file. Link to comment Share on other sites More sharing options...
Jorkand Posted April 28, 2009 Share Posted April 28, 2009 By default TrustedInstaller is the owner for the etc\ folder. You need to take ownership or change the acl to allow administrator modify access. Link to comment Share on other sites More sharing options...
ToneKnee Posted April 28, 2009 Share Posted April 28, 2009 Right click notepad, run as Administrator, then open the file, save and then it's sorted. Link to comment Share on other sites More sharing options...
PurpleHaze420 Posted April 28, 2009 Author Share Posted April 28, 2009 Thanks for the information guys. :) Link to comment Share on other sites More sharing options...
Recommended Posts