8 January, 2011 § 3 Comments
Once in a while I have to edit my ‘
hosts‘ file on my Windows machine. The ‘
hosts‘ file allows a user to redirect network requests to different locations, for example if you wanted requests to google.com to go to bing.com instead.
On my machine the ‘
hosts‘ file is located under “
C:\Windows\System32\drivers\etc\hosts“. Since this file is located under the Windows directory, write access to the file requires administrator privileges.
notepad.exe, open the file, make changes, and saving won’t work. The editor will have to be launched with administrative privileges.
There are a couple of ways that this can be done, and I want to show you one of the fastest ways to do this:
For those who don’t want to watch the video, the shortcut is to hit the Windows key (), type ‘
notepad‘, then press
Ctrl+Shift+Enter. This will launch the program with administrative privileges without taking your hands off the keyboard.
Do you know any cool tips like this one? Please share them in the comments.