How to Block Websites in Regedit

Written by tammy clevenger
  • Share
  • Tweet
  • Share
  • Email

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


  1. 1

    Click the Windows "Start" button to show the Windows Search input box.

  2. 2

    Type "regedit," without quotes, into the search input box and press the "Enter" key. The Windows Registry Editor opens.

  3. 3

    Navigate to the following key in the registry tree.

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains


  4. 4

    Click "Edit" from the top navigation bar and then click "New." Select "Key" to create a new key.

  5. 5

    Type the website domain name into the new key and press "Enter."

  6. 6

    Click "Edit" from the top navigation bar, and then click "New." Select the "DWORD (32-bit value)" option.

  7. 7

    Type an asterisk (*) into the "DWORD" field and press "Enter."

  8. 8

    Right-click on the DWORD entry and click "Modify."

  9. 9

    Type the value "4" into the "DWORD Value" field and click the "OK" button. The number 4 indicates the website is blocked from access.

  10. 10

    Create a new key and DWORD for each website to block.

  11. 11

    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.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.