How to block access to programs in Windows 10

Matthew Adams
by Matthew Adams
Windows & Software Expert
Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things surrounding it. He is passionate about... Read more
Affiliate Disclosure
block access to programs in Windows 10

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Network administrators might need to block user access to certain Windows 10 programs. There are a few ways that network administrators, and anybody else, can block users running certain software on their desktops or laptops

Users can apply locks to folders or add passwords to programs with third-party software. However, users can also block access to programs in Win 10 without any third-party software as follows.

This is how you can block other users from running software on PC

1. Block Software by Editing the Registry

Users can stop certain programs running by editing the registry. It might be worth setting up a system restore point before editing the registry so you can undo the changes if required. Then follow the guidelines below.

  1. First, press the Windows key + R hotkey.
  2. Enter ‘regedit’ in Run’s Open text box, and select the OK option.
  3. Next, open this registry path: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies.
  4. If there isn’t an Explorer key under Policies, right-click the Policies key on the left of the window to select New > Key. Enter ‘Explorer’ as the key name.
    block access to programs Windows 10
  5. Select the new Explorer key. Then right-click an empty space on the right of the Registry Editor window and select New > DWORD (32-bit).
  6. Enter ‘DisallowRun’ as the title for the new DWORD.
  7. Double-click the new DisallowRun DWORD to open its Edit DWORD window.
  8. Enter ‘1’ in the Value data box as shown directly below, and click the OK button.
    block access to programs Windows 10
  9. Next, right-click the Explorer key to select New > Key.
  10. Then input ‘DisallowRun’ as the title for the new subkey.
  11. Right-click the new DisallowRun subkey to select the New and String Value context menu options.
  12. Now enter ‘1’ as the string value name.
    block access to programs Windows 10
  13. Double-click the 1 string value to open the Edit String window.
    Then enter the exact name of the software’s executable file that you need to stop running in the Value data box as shown directly below.
    block access to programs Windows 10
  14. Click the OK button to close the Edit String window.
  15. Close the Registry Editor window.
  16. Now the blocked program will display the error message shown below when users try to launch it.

Some users might not need to set up an Explorer key if there’s already one there under the Policies subkey. If so, users can skip the step for setting up a new Explorer key. Open the Computer HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies Explorer path in the Registry Editor. Then add the DisallowRun subkey to the existing Explorer key instead.

— RELATED: Block other Wi-Fi users with these 5 software solutions

To set up blocks for more software, users will need to enter different names for string values within the DisallowRun key. For example, the string value names within the DisallowRun key for the second and third program blocks will need to be 2 and 3 as shown below.

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

If you’re establishing a seventh program block, enter 7 as the string value title.

block access to programs Windows 10

2. Block Programs access in Windows 10 With Group Policy Editor

Windows 10 Pro and Enterprise include Group Policy Editor with which users can stop programs running without editing the registry. Users can adjust a Run only specified Windows applications setting with the Group Policy Editor. This is how users can stop software running with Group Policy Editor.

  1. Open Run in Windows 10.
  2. Enter ‘gpedit.msc’ in the Open text box, and click the OK button.
  3. Click User Configuration > Administrative Templates > Templates on the left of the Group Policy Editor window.
  4. Then double-click Run only specified Windows applications to open that setting’s window.
  5. Select the Enabled option on the Run only specified Windows applications window.
  6. Press the Show button to open a Show Contents window.
  7. Then click a line on the Show Contents window to enter the executable file name of the program to block. Some users might need to open the software’s folder to check what exe file name they need to enter.
  8. Press the OK button.
  9. Click the Apply and OK buttons on the Run only specified Windows applications window.

— RELATED: 5 best encrypted messaging software to block prying eyes

Note that the above guidelines will block the program for all users. To block the software for a specific user, you’ll need to add the Group Policy Object Editor snap-in to the Microsoft Management Console. Then you can configure policies to apply to specific users as follows.

  1. First, press the Windows key + Q keyboard shortcut.
  2. Enter mmc.exe in Cortana’s search box, and select to open mmc.exe.
  3. Click Yes on the UAC prompt window that might open.
    block access to programs Windows 10
  4. Then click File > Add/Remove Snap-in to open the window shown directly below.
    block access to programs Windows 10
  5. Select Group Policy Object Editor on the left of the window.
  6. Press the Add button.
  7. Click Browse on the Select Group Policy Object window that opens.
  8. Click the Users tab on the Browse for a Group Policy Object window.
  9. Then select an account to apply the policies to.
  10. Press the OK button.
  11. Click the Finish option.
  12. Select the OK option on the Add or Remove Snap-ins window.
  13. Click File > Save As on the console window.
  14. Enter a file title in the Save As window, and click the Save button.
  15. Thereafter, double-click the saved MSC file to apply the block program policies to the selected account group. That will launch the Group Policy Editor window from which you can select to block a program as outlined above.

That’s how users can block access to programs in Windows 10. Users can unblock the software by erasing the new string values in the registry or disabling the Run only specified Windows applications setting. To ensure that you can always undo changes, however, set up system restore points before establishing program blocks. Then you can reverse changes made even to admin accounts by rolling Windows back to the restore point.


idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

This article covers:Topics: