You might want to block apps if you manage PCs for your family or small business. Learn how to block desktop app access on Windows in this guide.
If you’re a computer administrator, there are going to be times when you’ll need to block access to specific desktop apps. For example, you might want to disable access to system tools like PowerShell to prevent unauthorized access.
Restricting access to apps like these also help to prevent a user from running harmful scripts or making unwanted system changes. Perhaps you need to block a browser like Chrome or a specific app within the Office 365 suite.
Whatever your needs are, you can block desktop app access on Windows 11 or Windows 10 using either Group Policy or Security Policy rules by following the steps below.
How to Block Desktop App Access Using Group Policy on Windows
Blocking access to desktop apps is easily done using Local Group Policy rules on Windows 11 and Windows 10. Note that to use this option you’ll need to be running Windows 10 0r 11 Pro or above. Home versions of Windows do not include Group Policy Editor.
To Block Desktop App Access on Windows via Group Policy
Log in as administrator on the PC you want to block app access.
Open the Start menu.
Type gpedit and choose Edit group policy under the Best match section.
When Local Group Policy Editor opens, navigate to the following path and press Enter:
User Configuration > Administrative Templates > System
Scroll down the policies on the right column and double click the Don’t run specified Windows applications policy.
Select the Enabled option on the upper left side of the Window.
Under the Options section, click the Show button.
Enter the apps you want to block access on each line, including the “.exe” file extension. In this example, we are blocking access to Command Prompt, PowerShell, and Google Chrome.
Click OK when done.
After entering the apps to block, click Apply and OK.
After following the above steps, when a user tries to launch the apps you specify, they can find them from the Start menu, but they will simply not open.
Note: While the specified app access should be blocked immediately after configuring it in Group Policy, you might need to restart Windows for the change to take effect.
Unblocking Apps Using Group Policy
If you need to unblock an app that you’ve previously blocked using Group Policy, you can.
To do this, open the Local Group Policy Editor and select User Configuration > Administrative Templates > System. Click the Show button under the Options section, delete the app you want to unblock, and click OK.
You can also set the policy to Not configured to unblock all the blocked apps you include in your block list. Also, remember you may need to restart the PC for the changes to take effect.
How to Block Desktop App Access Using Security Policy on Windows
In addition to using Local Group Policy, you can prevent users from launching specific apps using the Local Security Policy options. These steps will work for Windows 11 and Windows 10 users.
To block desktop app access using Local Security Policy:
Open the Start menu.
Type local security policy and click the top result under Best match.
When the Local Security Policy window opens, expand the Software Restriction Policies branch.
Right-click the Additional Rules folder and select New Hash Rule from the menu.
If the category isn’t present, right-click Software Restrictions Policies and choose NewSoftware Restriction Policies.
In the New Hash Rule window, click the Browse button.
Navigate to the location of the app’s EXE file you want to block access, highlight it, and click the Open button. For example, we are choosing PowerShell.
The app’s data will be added to the New Hash Rule window.
Ensure the Security level field is set to Disallowed and click Apply and OK.
Restart the PC.
After following the above steps to block desktop access on Windows, when you return from the restart, sign in, and access to the app you specify will no longer be allowed.
When the user tries to access a blocked app, an error message will appear, telling them to contact the system administrator.
Unblocking Apps Using Local Security Policy
To undo the changes to app access, go back to Local Security Policy > Software Restriction Policies > Additional Rules. Right-click the hash of the blocked app and select the Delete option.
Managing Apps and Users on Windows
If you need to block users from accessing specific desktop apps, using Local Group Policy or Local Security Policy will get the job done. It’s a straightforward way to prevent inexperienced users from messing with system utilities you don’t want them to.
Thanks for reading. It can get a bit confusing when the Software Restrictions Policies category doesn’t expand. In that instance, right-click Software Restrictions Policies and select “New Software Restriction Policies” and follow the steps as described.
KA
September 16, 2023 at 7:29 am
There is a step missing before “In the New Hash Rule window, click the Browse button.”
Brian Burgess
October 17, 2023 at 1:18 pm
Thanks for reading. It can get a bit confusing when the Software Restrictions Policies category doesn’t expand. In that instance, right-click Software Restrictions Policies and select “New Software Restriction Policies” and follow the steps as described.