Helping millions of people navigate the world of technology.

How to Prevent Users From Running Certain Programs on Windows 11

Quick Tips
  • If you are using the Home edition of Windows 11, you can only use the Registry Editor method to prevent users from running programs.
  • On Windows 11 Professional, Enterprise, and Education editions, restrict user access to specific apps and programs using the Local Group Policy Editor and the Registry Editor.

Method 1: Prevent Users From Running Certain Programs via the Group Policy Editor

The Local Group Policy Editor on Windows makes it easy to apply system-wide changes on a computer. One of the many options it includes is a policy that prevents users from running specific programs or EXE files on Windows 11.

Note: The Local Group Policy Editor is only available on Windows 11 Professional, Enterprise, and Education editions. If your PC runs Windows Home, this method will not work for you.

Step 1: Press the Windows key + R to open the Run dialog box. Type gpedit.msc in the text box and hit OK.

Step 2: Use the left pane to navigate to the following folder:

User Configuration\Administrative Templates\System\

Step 3: Double-click the Don’t run specified Windows applications policy in the right pane.

Policies in the System Folder

Step 4: Select Enabled and click the Show button under Options.

Dont Run Specified Windows Applications Policy

Step 5: Add the programs you want to block in the List of disallowed applications section. Enter the file name you double-click to launch the app, such as itunes.exe, bittorent.exe, notepad.exe, and so on. Then, click OK.

Block Apps on Windows Using Group Policy

Step 6: Click Apply > OK to save your changes.

Block Apps on Windows Using Group Policy on Windows 11

Once you complete the above steps, the specified programs will be blocked on your Windows 11 PC. To restore access to the blocked programs at any time, repeat the above steps and set the “Don’t run specified Windows applications” policy to Not Configured or Disabled.

Method 2: Prevent Users From Running Certain Programs Using the Registry Editor

If you can’t access the Local Group Policy Editor or want to use a different method, edit a few registry files to prevent users from running certain apps and programs on your Windows 11 PC.

Step 1: Click the search icon on the taskbar > type registry editor > select Run as administrator.

Open Registry Editor as Admin

Step 2: Paste the following path in the address bar at the top and press Enter to quickly navigate to the Explorer key.

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

Step 3: Right-click on the Explorer key > select New > DWORD (32-bit) Value > name it DisallowRun.

Create DWORD in Registry 6

Step 4: Double-click the newly created DWORD > enter 1 in the value data field > click OK.

Edit DWORD in Registry 6

Step 5: Right-click the Explorer key again > select New > Key > name the new key DisallowRun.

Create a Key in Registry

Step 6: Right-click the DisallowRun key > select New > String Value > name the value 1.

Create String Value in Registry

Step 7: Double-click the newly added string value named 1. In the value data field, type the name of the program you want to block and click OK. For instance, if you want to block iTunes, enter itunes.exe in the text field.

Block Apps on Windows Using Registry Editor

Step 8: Repeat the previous step to add more string values, such as 2, 3, 4, and more. In their respective value data fields, enter the executable names of the programs you want to block.

Block Access to Apps on Windows Using Registry Editor

After this, restart your PC, and the specified apps and programs will be blocked for the user account. To unblock an app later, go to the DisallowRun key in the Registry Editor and delete the string value associated with the program.

Was this helpful?

Thanks for your feedback!

Last updated on 07 August, 2024

Leave a Reply

Your email address will not be published. Required fields are marked *

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.