There are several ways to block websites on a computer. One way is to use the Windows Registry Editor (regedt) to edit a registry key to block a site. Editing the Windows registry is a complicated but effective way to limit access to certain websites. When a user attempts to access a blocked website once it is restricted in the registry, they will see a notification message that the website is blocked.
- Skill level:
Other People Are Reading
Click the Windows "Start" button to show the Windows Search input box.
Type "regedit," without quotes, into the search input box and press the "Enter" key. The Windows Registry Editor opens.
Navigate to the following key in the registry tree.
Click "Edit" from the top navigation bar and then click "New." Select "Key" to create a new key.
Type the website domain name into the new key and press "Enter."
Click "Edit" from the top navigation bar, and then click "New." Select the "DWORD (32-bit value)" option.
Type an asterisk (*) into the "DWORD" field and press "Enter."
Right-click on the DWORD entry and click "Modify."
Type the value "4" into the "DWORD Value" field and click the "OK" button. The number 4 indicates the website is blocked from access.
Create a new key and DWORD for each website to block.
Click the "X" in the upper right corner to save the data and close the registry editor. The specified websites are blocked on the computer.
Tips and warnings
- To block sites from within Internet Explorer, open IE and click "Tools" from the top navigation bar. Click "Internet Options" and then click the tab labelled "Security." Add the website to the "Sites" input box to block Internet Explorer from accessing the site.
- Be sure to back up the registry before making any changes to the index by clicking "File" and then clicking "Export" from the top menu in the Registry Editor. If you make an error, you will be able to quickly restore the original file.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for