Windows 7 Forums


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 16 Apr 2011
Published by

Featured Tutorial

Microsoft Account - Sign up for and Create
Microsoft Account - Sign up for and Create

How to Sign up for and Create a Microsoft Account

Microsoft Outlook Desktop Shortcut - Create
Microsoft Outlook Desktop Shortcut - Create

How to Create a Special Outlook Desktop (Office XP style) Shortcut

System Preparation Tool - Use to Customize Windows
System Preparation Tool - Use to Customize Windows

How to Use Sysprep to Customize Windows 7 and Windows 8

Search - Find More with Filters and Operators
Search - Find More with Filters and Operators

How to Use Windows Search Filters and Operators to get better Search Results in Windows 7

Restore Point - Add "Create Restore Point" to Context Menu in Windows
Restore Point - Add "Create Restore Point" to Context Menu in Windows

How to Add "Create Restore Point" to Context Menu in XP, Vista, Windows 7, and Windows 8

Bootmgr - Move to C:\ with EasyBCD
Bootmgr - Move to C:\ with EasyBCD

How to Move Bootmgr to C:\ with EasyBCD
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
HOSTS File - Create a "Edit HOSTS file" Shortcut-hosts_file.jpg



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.
HOSTS File - Create a "Edit HOSTS file" Shortcut-unblock.jpg
5. Click on the Shortcut tab, and click on the Advanced button. (see screenshot below)
HOSTS File - Create a "Edit HOSTS file" Shortcut-step3.jpg
6. Check the Run as administrator box, and click on OK. (see screenshot below)
HOSTS File - Create a "Edit HOSTS file" Shortcut-step4.jpg
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
HOSTS File - Create a "Edit HOSTS file" Shortcut-step1.jpg
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.
HOSTS File - Create a "Edit HOSTS file" Shortcut-step2.jpg
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)
Click image for larger version

Name:	Step3.jpg
Views:	259
Size:	62.5 KB
ID:	149561
6. Check the Run as administrator box, and click on OK. (see screenshot below)
Click image for larger version

Name:	Step4.jpg
Views:	209
Size:	36.5 KB
ID:	149562
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






Need more help? Try searching our extensive help and support site.
Loading
Comment

 HOSTS File - Create a "Edit HOSTS file" Shortcut problems?



Tutorial Tools



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


All times are GMT -5. The time now is 07:48 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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