Windows Tweaks Logo Microsoft PC Help - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

AppLocker: Set up program lock under Windows 7

April 20, 2011
Updated: April 14, 2022
Quick overview:

Would you like to protect your home or business PC from unauthorized program installations or program launches? This is no problem with Windows 7's program lock called "Applocker". This allows you to block either specific programs or even entire program groups - so your PC stays clean. [Sandro Villinger]

If the blocked program is started or an attempt is made to install it in future, only a message about the block by the administrator appears.
Note: Only works with Windows 7 Enterprise and Ultimate

This is how it works step by step

  1. Hold down the WINDOWS key and tap the R key. Enter the command "gpedit.msc" in the "Run" field and click "OK".AppLocker-01
  2. Then expand the entries "Computer configuration/Windows settings/Security settings/Application control policies" and finally "Applocker" one after the other.AppLocker-02
  3. To block a program, first click on the "Executable rules" entry. In the right-hand pane, click on a free area and select "Create new rule".
    AppLocker-03In the Asisstent that appears, confirm immediately with "Next" and select the "Deny" entry. If you only want to block applications for a specific user, select the user or user group by clicking "Select". Then confirm by clicking on "Next".
    You now have the option of blocking all applications of a manufacturer ("Publisher"), a complete folder path ("Path") or a single .exe file ("File hash"):

    AppLocker-04

    In the example, we decide to block only one specific program and select "File hash". Simply select the program via "Browse": In our example, we want to block the start of "Cryptload". To do this, open the folder "C:Program FilesCryptLoad 1.1.8" and double-click on "cryptload.exe".

    AppLocker-05

  4. Click on "Next" and "Create". In the next window, confirm the creation of a standard rule by clicking on "Yes". Done! Now restart the PC.AppLocker-06

Important note: You can also block complete program installations using the method described above. To do this, simply create a new "Windows Installer rule". The steps shown above hardly differ - here, for example, you can block all programs of a manufacturer or only certain installation files.

Founded Windows Tweaks as a teenager in the 90s. His helpful PC tricks made it Germany's most visited Windows site (at the time Sandro looked like this). He then went on to write elsewhere, for example for PC-Praxis, Computer Bild and PCWorld in the USA. Microsoft also poached him from us. Now Sandro is back, finally sharing his tweaks here again. For a stress-free digital everyday life. You can reach Sandro via e-mail.

Leave a Reply

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

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and nerves with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows and software?

Subscribe to our newsletter, receive only our best tutorials & tweaks and exclusive tips for our subscribers. 
Newsletter form
Can be canceled at any time. About 1 - 2 mails per month. The consent includes the information on revocation, shipping service provider and statistics according to our Privacy policy.
© 1998 - 2025 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu
EN