Error Edit File System hosts on Windows


Open your cmd, run as administrator, move to this path :

$ cd C:\Windows\System32\drivers\etc


Unlock security / grant access for editing file :

$ attrib -s -h -r hosts

$ nano hosts


Lock security again :

$ attrib +s +h +r hosts


Source :

https://share.gemini.google/OOnfiX1NsUcP

Comments