PBIT
asked on
Can't edit hosts file in Windows Server 2012
When trying to edit the hosts file, I get a "The process cannot access the file because it is being used by another process."
I know the file is controlled by the SYSTEM. I tried opening NotePad with administrator rights but that did not help. I am not logged in as the system, but as an administrator and have full control on the C:\Windows\System32\driver s\etc folder.
How can I edit the hosts file?
I know the file is controlled by the SYSTEM. I tried opening NotePad with administrator rights but that did not help. I am not logged in as the system, but as an administrator and have full control on the C:\Windows\System32\driver
How can I edit the hosts file?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Already running notepad in admin mode. That does not solve the problem.
Try in safe mode, and check if you can.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open Notepad by selection the option run as an administrator > click on File > select Open and then browse the path of host file i.e. c:\windows\system32\driver s\etc\host s.
Make the changes and then save it. Hope it would fix the issue.
Make the changes and then save it. Hope it would fix the issue.
ASKER
Thanks, I will look into the virus scanner potential.
Notepad c:\windows\system32\driver