How to block a program from running in Windows 7
Windows operating system is flexible enough to set the permissions and blocking the program or software from running in Windows 7. Administrator may want to block certain programs or software that may harm the computer in a network environment.
Blocking a software or program in Windows 7 requires no 3rd party software. Certain software like a torrent files which may download a virus or spyware or some unwanted program to the computer. If the computer is in an organization
network then it may spread across the entire network.
Windows 7 will block the program for even the reinstallation of the application. In order to block the program you require administrator permission. To block the program from running you need to modify the settings in Windows Registry.
Open the Windows Registry by pressing Windows key + R to open the Run prompt and then type Regedit and hit the enter key. Once the Windows registry is opened then navigate to the below path by expanding HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and select Explorer and right click the mouse on the right hand side of the window and create a new DWORD and name it is as DisallowRun, double click the DWORD and enter 1 as its value.
Now select Explorer key and right click on the Explorer and click New, select Key to create a new key inside Explorer and name the key as same as the executable name so that it can be identified easily.
Once the Key is created inside the Explorer, click the new key and go inside the key and right click on the right side of the Window, select new String and name it as "Block Snagit" and value as snagit32.exe to block the snagit32.exe from running in system. For testing purpose I used snagit32.exe you can block any executable.
Close the Regedit, other applications in the system then restart the system and execute the snagit32.exe it will pop up a message this operation has been cancelled due to restrictions in effect on this computer. Please contact your administrator (Check the below screenshot).
|Guest Author: Bye 16 Jul 2013|
|You have three conflicting sets of instructions in this article.|
|Guest Author: Peter 02 Aug 2013|
|The program will run if someone rename it. Are there anyway to allow rename but prevent running?|
|Guest Author: Emad 10 Mar 2014|
|Well , I tried to do that but seems that something is wrong when i get to "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies".|
Its empty , I cant find "Explorer or System" that exists at the 1st screen .
I though about creating Explorer key inside Policies then continue and I've tried it on SubWay_Surfers.exe it didn't work.
Help me please I really must permanently block QQ Messenger from running or connecting on my pc , tried the firewall thing but it works again if some one changed installation path to any other place on the pc.
|Guest Author: Anonymous 21 Apr 2014|
|@Peter ; Hi there is portable freeware AskAdmin from Sordum.org , your answer is there |