[How To] Block/Ban programs in Windows 7 using Registry Editor

Sponsored Links

For one or other reason you might want to block an application on your PC so that no one else can run it. You can use this trick to play a prank on your friends or to stop your child from playing games.  Whatever is the reason, follow the simple steps given below to block any program on Windows 7 without using any software.

  1. Click on Start and type regedit, press enter.
  2. Navigate to:
    HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion \\Policies\\Explorer
  3. In the right side panel, right click in the empty area and point to New, and then click on DWORD Value.
  4. Type DisallowRun, and press ENTER.
  5. Double-click the DisallowRun value that you created in the previous step.
  6. Type 1 in the Value data box, and click OK.
  7. Right-click the following registry key :  HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer. Point to New, and select Key:
  8. Type DisallowRun, and press ENTER.
    How to block/ban applications on Windows 7 without using any software
  9. For each program you want to block, create a new string value in the DisallowRun subkey . Use consecutive numbers to name the string values (starting with 1), and use the executable file name of the program as the data for the string value.For example, if you want to restrict users from running Internet Explorer:
    1. Navigate to the following key in Registry Editor:
      HKEY_CURRENT_USER\Software\\Microsoft\Windows\\CurrentVersion\\Policies\\Explorer\\DisallowRun. Then right click in the right side panel and create a new string value. Type 1, and then press ENTER.
    2. Double-click “1″ that you created in the previous step.
    3. Type iexplore.exe in the Value data box, and then click OK.
  10. Quit Registry Editor, and restart your explorer or computer to load new settings.

After restarting your computer try to run internet explorer. If you followed this correctly then you will see an error message similar to below image.

To regain access simply delete the key which you created during the process and restart your computer. Have fun ;-)

 

Source : Microsoft.com

Incoming search terms for the article:

3 thoughts on “[How To] Block/Ban programs in Windows 7 using Registry Editor

  1. Pingback: FreeSoftz

  2. Pingback: etricks

  3. Pingback: Tips From Geek

Comments are closed.