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:
- Install PowerToys
Download and install PowerToys on your Windows 11 PC from this official link:
Install PowerToys.
- Open PowerToys
After installing, open the PowerToys app from your Start menu.
- Go to Hosts File Editor
In PowerToys, find and clickHosts File Editoron the left menu.

- Turn On Hosts File Editor
On the right side, find theEnable Hosts File Editoroption and switch it toOn.
- Enable Administrator Mode
Also switchLaunch as administratortoOn. This lets PowerToys save changes to your hosts file.

If needed, close and reopen PowerToys for the changes to take effect.
- Open the Hosts File Editor Tool
In PowerToys, clickLaunch Host File Editorto open the editor window.

- Add a New Entry
Click the New entry button to add a new website address and IP.

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

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.





Leave a Reply