1. Right click on Start then click Command Prompt (admin) Click Yes to the UAC prompt.
2. This should drop you at C:\Windows\system32 but if not no biggy. Your aim is to get to the folder where your hosts file lives. So type: cd\ this will put you at the root of C:\. Then type: cd Windows\System32\drivers\etc then hit <return>.
Type dir <return> You should see your "hosts" file listed.
For the unwashed geeks, I found a Link Removedto show you how to get to your hosts file.(Link Removed)
Before you begin: MAKE A BACKUP OF YOUR EXISTING HOSTS FILE BEFORE GETTING STARTED!!
Assuming you have already made it to the hosts file location as shown above,
Type in: Copy hosts c:\temp.
It doesn't matter if c:\temp doesn't exist already, the copy command will create the folder.
Roll your own method:
Go to this link and copy paste the contents in your existing hosts file.
From the link, copy everything from
#<localhost>to this line:
127.0.0.1 youcanoptout.org
The rest of that stuff is superfluous and unnecessary in your hosts file IMHO.
Scroll down just below the last line in your existing hosts file and paste what you copied into your hosts file, save and exit the command prompt.
Launch Microsoft Edge and enjoy.