• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 956
  • Last Modified:

How to Edit a WIndows 2008 Server Host File

How do i edit a 2008 host file?  I keep receiving an error message that tells me i dont have the correct permissions.  I tried is as the local and domain admin.
0
deklinm
Asked:
deklinm
1 Solution
 
Tony MassaCommented:
Run NOTEPAD ad Administrator first, then browse for the HOSTS file and then you can edit it.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Simply logging in as an administrator won't give you permission to.  All programs run as a standard user UNLESS you specifically run them as an admin.  What I typically do is open a command prompt as administrator and then run the programs from there.  For example, I'll have the command prompt and then type "notepad %windir%\system32\drivers\etc\hosts" and that will give me the right to edit the file.

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now