Edit Hosts File Easily with PowerToys on Windows 11

Want to quickly change your computer’s hosts file on Windows 11? Microsoft PowerToys makes it easy, even if you’re not a tech expert.

What is Microsoft PowerToys?

PowerToys is a free set of tools from Microsoft that helps you customize and improve how you use Windows. It includes handy features like a color picker, keyboard shortcuts manager, and the Hosts File Editor that we’ll use here.

What is the Hosts File?

The hosts file is a small text file on your computer. It helps your PC know which website IP addresses to go to. Usually, your computer asks the internet to find websites, but the hosts file can tell it where to go first for certain websites. This can be useful for blocking sites or testing website addresses.

How to Edit Your Hosts File with PowerToys

Follow these simple steps to use PowerToys to edit your hosts file:

  1. Install PowerToys

    Download and install PowerToys on your Windows 11 PC from this official link:

    Install PowerToys.
  2. Open PowerToys

    After installing, open the PowerToys app from your Start menu.
  3. Go to Hosts File Editor

    In PowerToys, find and click Hosts File Editor on the left menu.
PowerToys Hosts File Editor menu

  1. Turn On Hosts File Editor

    On the right side, find the Enable Hosts File Editor option and switch it to On.
  2. Enable Administrator Mode

    Also switch Launch as administrator to On. This lets PowerToys save changes to your hosts file.
Enable Hosts File Editor and Administrator Mode in PowerToys

If needed, close and reopen PowerToys for the changes to take effect.

  1. Open the Hosts File Editor Tool

    In PowerToys, click Launch Host File Editor to open the editor window.
Launching Hosts File Editor in PowerToys

  1. Add a New Entry

    Click the New entry button to add a new website address and IP.
New entry button in Hosts File Editor

In the window that pops up, type the IP address and the website name you want to add, then click Add.

Adding new address and host in PowerToys Hosts File Editor

Once added, your computer will use this new information right away when accessing that website.

Summary

  • PowerToys is a free and easy way to customize Windows 11.
  • The Hosts File Editor inside PowerToys lets you quickly update your hosts file without searching for it manually.
  • Follow the steps above to add or change website addresses on your computer safely.

That’s it! Now you can easily manage your hosts file with PowerToys.

Categories:

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *