Getting an access denied error while you are trying to edit the hosts file in Windows 7? This tutorial teaches you how to fix it.
The code which you need to copy and paste is provided below:
C:\Windows\System32\notepad.exe C:\WINDOWS\system32\drivers\etc\hosts