How to save hosts file

Discussion in 'Computer Networking and Servers' started by LainJeremy, Jan 15, 2020.

  1. LainJeremy

    LainJeremy New Member

    Messages:
    29
    Helllo,

    I am trying to save the hosts file I have edited and I am getting the following error:

    You don't have permission to save in this location.
    Contact the administrator to obtain permission.

    Would you like to save to the Documents folder instead?

    I need to save it in the System32/drivers/etc folder.

    Can someone please tell me how to do this and get past the error?
     
  2. johnb35

    johnb35 Administrator Staff Member

    Messages:
    41,936
    Are you running notepad as an admin? If not, thats why you are getting the error.

    Right click on notepad and click on run as admin.
     
    voyagerfan99 likes this.

Share This Page