how to block program in windows 7 using registry editor

  1. Click Start, and then click Run.
  2. In the text box, type regedit, and press Enter.
  3. Locate and then click the following registry key:
    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersion PoliciesExplorer
  4. In the right side panel right click on some empty area and point to New, and then click on DWORD Value.
  5. Type disallowrun, and then press ENTER.
  6. Double-click the DisallowRun value that you created in the previous step.
  7. Type 1 in the Value data box, and then click OK.
  8. Create a new HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersion PoliciesExplorerDisallowRun subkey.
  9. Right-click the following registry key, point to New, and then click Key: HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersion PoliciesExplorer.
  10. Type disallowrun, and then press ENTER.
  11. For each program that you want to prevent users from running, 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 for the program as the data for the string value.For example, if you want to restrict users from running Microsoft Internet Explorer:
  12. Go to the following key in Registry Editor:
    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersion PoliciesExplorerDisallowRun. Then right click in the right side panel and create a new string value. Type 1, and then press ENTER.
  13. Double-click the 1 value that you created in the previous step.
  14. Type iexplore.exe in the Value data box, and then click OK.
  15. Quit Registry Editor, and then restart the computer

0 Response to

Post a Comment