Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: HOSTS File - Create a "Edit HOSTS file" Shortcut


HOSTS File - Create a "Edit HOSTS file" Shortcut

How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista
Published by Brink
16 Apr 2011
Published by

How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista

information   Information
The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet.

The hosts file is located in the C:\Windows\System32\drivers\etc folder. Normally you would open Notepad with Run as administrator and open (File - Open) the the hosts file from within Notepad to edit it.

This will show you how to download or create a elevated Edit HOSTS file shortcut to make editing the HOSTS file easier to do in Windows 7 and Vista.

warning   Warning
You must be logged in as an administrator to be able to do this tutorial, and to be able to use the created Edit HOSTS file shortcut.

EXAMPLE: HOSTS File
Name:  HOSTS_file.jpg
Views: 2543
Size:  109.3 KB



OPTION ONE
To Download the "Edit HOSTS file" Shortcut
1. Click on the Download button below to download the file below.
Edit_HOSTS_file.zip
download
2. Click on Save, and save the .zip file to the desktop.

3. Open the .zip file and extract (drag and drop) the Edit HOSTS file shortcut to the desktop.

4. Right click on the downloaded Edit HOSTS file shortcut, click on Properties.

4. Click on the General tab, Unblock button, and Apply button. (see screenshot below)
NOTE: If you do not have a Unblock button under the General tab, then the shortcut is already unblocked and you can continue on to step 5.
Name:  Unblock.jpg
Views: 2037
Size:  74.1 KB
5. Click on the Shortcut tab, and click on the Advanced button. (see screenshot below)
Name:  Step3.jpg
Views: 2005
Size:  62.5 KB
6. Check the Run as administrator box, and click on OK. (see screenshot below)
Name:  Step4.jpg
Views: 1950
Size:  36.5 KB
7. Click on OK. (see screenshot below step 5)

8. You can now Pin to Taskbar or Pin to Start Menu this shortcut, assign a keyboard shortcut to it, or move it where you like for easy use.

9. When done, you can delete the downloaded .zip file if you like, or save it to use again later.




OPTION TWO
To Manually Create the "Edit HOSTS file" Shortcut
1. Right click on a empty area on desktop, and click on New and Shortcut.

2. Copy and paste the location below into the location area, and click on the Next button. (see screenshot below)
notepad.exe C:\Windows\System32\drivers\etc\hosts
Name:  Step1.jpg
Views: 1919
Size:  93.6 KB
3. Type Edit HOSTS file for the name, and click on the Finish button. (see screenshot below)
NOTE: You can name this anything you would like though.
Name:  Step2.jpg
Views: 1918
Size:  71.5 KB
4. Right click on the new Edit HOSTS file shortcut on the Desktop and click on Properties.

5. Click on the Shortcut tab, then click on the Advanced button. (see screenshot below)
Name:  Step3.jpg
Views: 2005
Size:  62.5 KB
6. Check the Run as administrator box, and click on OK. (see screenshot below)
Name:  Step4.jpg
Views: 1950
Size:  36.5 KB
7. Click on OK. (see screenshot below step 5)

8. You can now Pin to Taskbar or Pin to Start Menu this shortcut, assign a keyboard shortcut to it, or move it where you like for easy use.
That's it,
Shawn




Comment

 HOSTS File - Create a "Edit HOSTS file" Shortcut





Tutorial Tools



Similar help and support threads for2: HOSTS File - Create a "Edit HOSTS file" Shortcut
Windows 7 Tutorial Category
Solved Remove "Create Shortcut" from file and folder context menu? Customization
Is this a fact?; "Windows hosts files eating my bandwith" General Discussion
How to edit the Hosts file in 7 Network & Sharing
Solved Hosts file-S?? System Security
HOSTS file Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:43 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33