Before you start

What address blocking does, what it cannot do, and how to undo it. Settings paths follow the official help pages.

What address blocking does

It cuts the connection when your computer tries to reach a blocked address. Ads and windows from that address do not open.

hosts lines go into the Windows hosts file, uBlock filters into a browser extension, and the DNS list into a service that accepts one. You choose where.

What it cannot do

It cannot stop a desktop shortcut that an installer creates. The installer makes it during setup, with no internet connection involved.

If the installer has a box to create a shortcut, uncheck it. The box name differs by program. If a shortcut already exists, deleting it alone leaves the program installed.

The same ad can come back from a different address. We never say this blocks every malicious ad.

Block a shopping window with the browser's pop-up setting first. If it still opens, add its address to the list.

When you edit the hosts file

The hosts file sits in %SystemRoot%\System32\drivers\etc. You need administrator rights to edit it. The Microsoft PowerToys page says the same about the location and the rights.

The lines this page makes sit between a start marker and an end marker. To undo, delete everything between them.

We have not checked that these lines work on Windows 11. When we do, we will write it here.

Helping a parent with their PC

Pick the device and browser on the first page, then print. Only the steps come out on paper, so a parent can follow along.

If a start page or search engine changed without you doing it, Chrome Help points to unwanted software. Check the reset steps too.

When you enter addresses

Enter one address per line. Turn on the www option to block the www form of each address too.

Lines that are not addresses stay out of the lists, and each one gets a reason. Comments, bare IP numbers, words without a dot and odd characters fall in this group.

Past 500 addresses we use the first 500 and tell you how many were left out.

Which list to use

To change one Windows computer, use the hosts lines. Grab the hosts undo lines too in case you need to go back.

If you run an extension in Chrome or Edge, the uBlock filter fits. To block for a whole home or router, use a service that supports DNS lists.

All four tabs can be copied or downloaded. The lists are built on this device and never go to a server.

Undoing what you blocked

For hosts lines, delete only what sits between the start marker and the end marker. Other lines stay as they were.

For browser settings you changed, follow the steps backwards. The steps we copied from the official help also give the way back.

For a combination whose official help we have not opened, we do not make steps up. We say they are not written yet. Samsung Internet, iPhone Safari and notifications and cookies in Edge are like this.