Editing hosts files on XP

Caporegime
Joined
4 Jul 2004
Posts
30,779
Just a quick problem (hopefully). Whenever I try to edit my hosts file and then save it, this error appears:

Cannot create the C:\WINDOWS\system32\drivers\etc\hosts file.

Make sure that the path and filename are correct.

How do I fix this? Desperately trying to jailbreak my iPhone. :(:o

Thanks.
 
create this batch file and run it. its strange that it was right protected.

@Echo off
echo,Y|cacls "%WinDir%\system32\drivers\etc\hosts" /G everyone:f
attrib -s -h -r "%WinDir%\system32\drivers\etc\hosts"
 
Back
Top Bottom