Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » How to permit and run only certain apps in windows
  • 1 kAUgwdVYmcVgUSXiwUkObw
    Error 0x801c001d – Automatic registration failed: Failed to look up the registration service from AD Windows Server
  • AZMFeature
    Performance and Diagnostics in Microsoft Cloud with Azure Monitor AWS/Azure/OpenShift
  • Block ZIPRAR Attachments in Outlook 2016 – 2007
    How to Block ZIP/RAR Attachments in Outlook Windows
  • Install Veeam Backup and Replication with the default PostgreSQL
    Install Veeam Backup and Replication with the default PostgreSQL Backup
  • zoom 2
    How to stop Zoom App from launching automatically at startup on Mac Mac
  • unnamed 1
    NSlookup Displays Error: UnKnown Default Server Windows Server
  • Screenshot 2022 04 02 at 22.17.10
    How to Install Kubectl on Windows 11 Windows
  • no pg hba
    Resolve “no pg_hba.conf entry for host on PostgreSQL Oracle/MSSQL/MySQL

How to permit and run only certain apps in windows

Posted on 15/03/202008/09/2024 Christian By Christian No Comments on How to permit and run only certain apps in windows
permit specific apps

In this guide, I will be demonstrating How to permit and run only certain apps in Windows for selected uses to be able to run only a list of allowed programs. This can be achieved via the group policy and by tweaking the registry settings. Here is a guide on how to block apps from running in Windows. Also, see how to Enable/Disable CTRL + ALT + DEL Secure Login on Windows 11/10, and how to fix your device cannot use a Trusted Platform Module: Allow BitLocker without a compatible TPM.

Permit Certain Apps via the Registry Settings

Launch the registry settings using “regedit.exe” from the search button and accept the UAC.

This will open the Registry Editor. Navigate through the registry hive to the following key as shown below.

  • HKEY_CURRENT_USER
  • SOFTWARE
  • Microsoft
  • Windows
  • CurrentVersion, and
  • Policies
restrict Windows apps

Next, create a new sub-key inside the Policies key. Right-click the Policies key

  • Select New
  • Select Key
allow selected applications

Name the new key Explorer

Windows app control

Create a value inside the new Explorer key by right-clicking on the Explorer key and selecting New, select DWORD (32-bit) value.

Name the new value RestrictRun

permit specific apps

Next, double-click the new “RestrictRun” value (This will open its properties window). Change the value from 0 to 1 in the “Value data” box as shown below.

restrict Windows apps

Finally, click on then click “OK.”

Create a sub-key

Next, you must create a new sub-key in the Explorer key by performing the below.

  • Right-click on the Explorer key
  • Select New
  • Select Key.

Name the new Select Key RestrictRun

In the next steps, we will start populating (adding) the apps we wish to allow. Below are the steps to achieve this.

Create a new string value inside the RestrictRun key. You will do this here for every application you desire to permit (allow).

Right-click on the RestrictRun value, select New and select String-Value.

and Enter the value of 1 as shown below.

Next, double-click and enter the application you want to permit, as shown below

Click on ok, and the key will appear as shown below.

You may want to see how to Prevent the Saving of RDP Credentials in Windows 10, and how to Configure logon hours for users in Active Directory.

Block Further Apps

Repeat “How to permit (run) only certain apps in Windows” as many times as you desire using the number format of “2,” “3,” etc., followed by the executable file names you wish to run as shown above.

When you are done, ensure you restart your device to have the settings applied.

Note: If you do not restart, the settings will not be applied.

To test, this will successfully launch Notepad++ and some UWP applications. But when to try to launch other desktop apps and some Win32 tools, you will be prompted with the following restriction message below.

This can be achieved via Group policy as well. I will be testing with iexplorer++ using group policy.

Block Apps Via Group Policy Object

Launch “group policy and navigate to the following location as shown below. In the Group Policy window navigate through the User Configuration, then the Administrative Templates. Click on System.

On the right pane, double-click on “Run only specified Windows Applications.”

This will open up the s”Show Contents” dialog box

Populate the content of the “Show Contents” as shown below.

Click on okay and finally apply the settings and click on okay.

Apply GPUpdate

To ensure the settings apply immediately, run “gpupdate” via the command prompt as shown below.

Note: When you click on notepad++, this will execute correctly, but when you click on other applications outside the permitted apps, you will

Please see how to fix Error 0x800f0823: Wizard.hta Screen stuck during WDS Deployment, and how to install Dynamic Host Configuration Protocol on Windows Server 2019.

I hope you found this article useful on how to permit and run only certain apps in windows. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Grouppolicy, Microsoft Windows, RegistryEditor

Post navigation

Previous Post: How to block apps from running in Windows
Next Post: Fix failed to open session for the virtual machine GNS3 VM

Related Posts

  • image 24
    How to Resolve Microsoft RDP Connection Black Screen Windows
  • Create a self signed cert via IIS
    How to create a self-signed cert via IIS Windows
  • Featured image new
    How to update the BIOS on your Dell system Security | Vulnerability Scans and Assessment
  • screenshot 2020 02 07 at 21.56.50
    Setup Kiosk Mode on Windows 10 with AD User Account Windows
  • image 3
    How to Migrate Your WordPress Site with WordPress Duplicator Network | Monitoring
  • you need the right to sign in through Remote Desktop Services
    Fix you need the right to sign in through Remote Desktop Services Windows

More Related Articles

image 24 How to Resolve Microsoft RDP Connection Black Screen Windows
Create a self signed cert via IIS How to create a self-signed cert via IIS Windows
Featured image new How to update the BIOS on your Dell system Security | Vulnerability Scans and Assessment
screenshot 2020 02 07 at 21.56.50 Setup Kiosk Mode on Windows 10 with AD User Account Windows
image 3 How to Migrate Your WordPress Site with WordPress Duplicator Network | Monitoring
you need the right to sign in through Remote Desktop Services Fix you need the right to sign in through Remote Desktop Services Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • 1 kAUgwdVYmcVgUSXiwUkObw
    Error 0x801c001d – Automatic registration failed: Failed to look up the registration service from AD Windows Server
  • AZMFeature
    Performance and Diagnostics in Microsoft Cloud with Azure Monitor AWS/Azure/OpenShift
  • Block ZIPRAR Attachments in Outlook 2016 – 2007
    How to Block ZIP/RAR Attachments in Outlook Windows
  • Install Veeam Backup and Replication with the default PostgreSQL
    Install Veeam Backup and Replication with the default PostgreSQL Backup
  • zoom 2
    How to stop Zoom App from launching automatically at startup on Mac Mac
  • unnamed 1
    NSlookup Displays Error: UnKnown Default Server Windows Server
  • Screenshot 2022 04 02 at 22.17.10
    How to Install Kubectl on Windows 11 Windows
  • no pg hba
    Resolve “no pg_hba.conf entry for host on PostgreSQL Oracle/MSSQL/MySQL

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,834 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.