Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » How to Edit Windows Hosts File via PowerToy Editor Utility
  • Cluster
    Install and configure Hyper-V Cluster On Windows Server Virtualization
  • gns3
    GNS3 Setup: Error opening file for writing, click on Abort to stop installation, Retry to try again, or Ignore to skip this file Windows
  • DC creation as recommended by Microsoft
    Setup a Domain Controller as Recommended by Microsoft Windows Server
  • Hide or Show User Accounts from Login Screen on Windows 10 and 11
    How to Hide or Show User Accounts from Login Screen on Windows 10 and 11 Windows
  • screenshot 2020 05 03 at 18.30.44
    How to Activate Cisco ASA 5505 License Network | Monitoring
  • MBAM Replacement
    MBAM extended support ends April 2026: Find alternative solution Security | Vulnerability Scans and Assessment
  • GPO Blocked Downloads 3
    How to Block downloads on Microsoft Edge using GPO on Windows Server 2019 and 2022 Windows
  • sysprep
    SysPrep was unable to validate your Windows Installation Virtualization

How to Edit Windows Hosts File via PowerToy Editor Utility

Posted on 29/09/202403/10/2024 Temitope Odemo By Temitope Odemo No Comments on How to Edit Windows Hosts File via PowerToy Editor Utility
banner

In this article, I will be showing you How to edit Windows Hosts File via PowerToy Editor Utility. The host file is a configuration file that tells a machine the appropriate host IP it should route a request to, it maps a particular hostname to an IP address, this mapping has a significant effect on the bypassing of DNS Servers outside the machine and navigating a request directly to the mapped IP address. Read articles on migration: How to Migrate Your WordPress Site with WordPress Duplicator, How to Migrate Azure Web Apps, How to migrate WDS and MDT to a new Windows Server.

The Windows Hosts file can provide you with instant results anytime you are migrating your site to a new server, It will help confirm that your site is working properly on the new server IP address before making changes to the DNS servers. Please take a look at the YouTube video below for more information.

Please note that making direct changes to the Hosts file using Notepad with Administrator rights can be very delicate and dangerous. This is because, you can easily make errors by deleting or adding stuff to the file without knowing.

But with Microsoft’s PowerToys editor utility tool. You can easily and safely edit the Hosts file without using Notepad and causing errors on the file.

Here are some exciting article: How to Locate and Edit the host file on Windows, How to Locate and Edit the Host File on macOS, How to Create a DNS Record and Why You Should not Use Public DNS in Production: Change DNS Server in Windows.

How to Install and Edit Windows Hosts File using PowerToy Editor Tool

1. Download and Install Windows PowerToys.

This can be done from these locations. Download PowerToys from the Microsoft Store.

Microsoft power toys

Click Install and be patient as it starts downloading and installing from the Microsoft Store.

MPT

Download the .exe file from this GitHub page under Assets.

powertoys

If your download and installation are successful you will automatically get the below Welcome page.

welcome to PowerToys

2. Open the Hosts File Editor in Windows PowerToys.

Scroll down and click Hosts File Editor.

host file editor

Not all PowerToys modules are enabled by default, click on Open Settings and enable the Enable Hosts File Editor by toggling the button to ON. This will automatically enable other settings.

Enable HFE

Click on the Launch Hosts File Editor button.

hostfile

You will receive a warning message. Click Accept to continue.

Warning

Please see How to Diagnose a Windows Hardware Issue. Also, see How to determine GPO from GUID or Name.

3. Using the Hosts Editor to edit your file.

In the dialog box that opens. You will see a list of entries that already exist in the Hosts file. You can decide to enable or disable them. If you want to enter new details then click the New Entry button.

HostFileEditor

Adding a new entry to the Hosts File Editor.

AddNewEntry

After entering these new details click the Add button, ensure your new Hosts entry is enabled, and you are done! With this tool, you do not need to open the whole file with Notepad any longer. As this may introduce errors into the file.

I hope you found this blog post on how to how to Edit Windows Hosts File via PowerToy Editor Utility Interesting and helpful. If you have any questions do not hesitate to ask in the comment section.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Web Server, Windows, Windows Server Tags:Microsoft Windows, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: How to Diagnose a Windows Hardware Issue
Next Post: Enable Autologon and Autostart for user session

Related Posts

  • article 1280x720.192a2586 1 1
    No valid offer received: WDS PXE-E16 error when booting clients Windows Server
  • jmeterimage
    Apache JMeter Load Testing: Test Mobile Apps on Windows Configuration Management Tool
  • 1 WeXxkEX0JG3oB781HD8Hrg 1
    Post OS installation: Configure the properties of Windows Server Windows Server
  • printserver
    How to set up a Print Server on Windows Servers Windows
  • GoogleTimeError
    Google Chrome reports your clock is behind: How to fix clock synchronization issues in Windows Windows
  • How to fix CPU at 100 when nothing is running problem on Windows
    How to fix CPU at 100% when nothing is running problem on Windows Windows

More Related Articles

article 1280x720.192a2586 1 1 No valid offer received: WDS PXE-E16 error when booting clients Windows Server
jmeterimage Apache JMeter Load Testing: Test Mobile Apps on Windows Configuration Management Tool
1 WeXxkEX0JG3oB781HD8Hrg 1 Post OS installation: Configure the properties of Windows Server Windows Server
printserver How to set up a Print Server on Windows Servers Windows
GoogleTimeError Google Chrome reports your clock is behind: How to fix clock synchronization issues in Windows Windows
How to fix CPU at 100 when nothing is running problem on Windows How to fix CPU at 100% when nothing is running problem on Windows Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • Cluster
    Install and configure Hyper-V Cluster On Windows Server Virtualization
  • gns3
    GNS3 Setup: Error opening file for writing, click on Abort to stop installation, Retry to try again, or Ignore to skip this file Windows
  • DC creation as recommended by Microsoft
    Setup a Domain Controller as Recommended by Microsoft Windows Server
  • Hide or Show User Accounts from Login Screen on Windows 10 and 11
    How to Hide or Show User Accounts from Login Screen on Windows 10 and 11 Windows
  • screenshot 2020 05 03 at 18.30.44
    How to Activate Cisco ASA 5505 License Network | Monitoring
  • MBAM Replacement
    MBAM extended support ends April 2026: Find alternative solution Security | Vulnerability Scans and Assessment
  • GPO Blocked Downloads 3
    How to Block downloads on Microsoft Edge using GPO on Windows Server 2019 and 2022 Windows
  • sysprep
    SysPrep was unable to validate your Windows Installation Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.