How To Edit the Hosts File in Windows 7

Sharing is Caring

I’m an Administrator on my installation of Windows 7 and had to edit the hosts file for one of my projects. I wasn’t able to make the changes though because it kept saying file was in use. I realized that I need to run notepad as the administrator and then I could make my changes!

  1. I went to the start menu, and typed in notepad.
  2. Right clicked on the notepad icon and selected Run As Administrator
  3. Clicked yes when it confirmed whether it should
  4. Navigationed to c:WindowsSystem32driversetchosts

Hope this helps!

Author: Brian Cline

Brian is a programmer living in Niagara Falls with ten years of development experience. He is passionate about automation, business process re-engineering, and gamification. For the last six years or so, he has been working with Salesforce and JavaScript.

Related Posts

Sharing is Caring