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

AppLocker: Set up program lock under Windows 7

Updated: April 14, 2022
Published: April 20, 2011
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 2001, 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 for international publications such as PC-Praxis, Computerbild, PCWorld in the USA, IMTEST.de and Hifi.de. Sandro's main job is as Global Product Marketing Lead and Consultant for various global tech companies, including Microsoft, AVG, Avast, Nero, TeamViewer, Swiss IT Security Group and now currently in the fintech sector for Gendigital. But he can't get rid of his passion and shares his tweaks here again. Privately, he enjoys traveling the world and loves Asia, especially Japan, Singapore and Korea, but also natural places like Iceland and the Nordics. 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 stress with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

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

Subscribe to our newsletter and receive only our best guides & tweaks as well as exclusive tips for our subscribers. 
Newsletter-Form
Unsubscribe at any time. Approximately 1 - 2 emails per month. This consent includes information on revocation, shipping service provider, and statistics according to our Privacy Policy.
© 1998 - 2026 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu