prevent application from running – Password Recovery https://www.top-password.com/blog Provide useful password recovery tricks, guides and software Sun, 09 Sep 2018 11:13:03 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.1 How to Block An Application from Running in Windows 10 https://www.top-password.com/blog/block-an-application-from-running-in-windows-10/ Mon, 09 May 2016 07:52:07 +0000 http://www.top-password.com/blog/?p=6756 Whether you’re sharing a computer with other family members or friends at home, or securing computers in a corporate environment, there may be some situations where you need to block a user account from running a certain application.

In previous post we’ve explained a way to prevent a program from running using Group Policy. Here’s another way to block a certain application from running in Windows 10, by using a registry hack. This method works with all editions of Windows 10, 8 and 7.

How to Block An Application from Running in Windows 10?

  1. Hold down the Windows Key and press R to bring up the Run dialog box. Type regedit and press Enter.
  2. In the Registry Editor, navigate to the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
  3. In the left pane, right-click on Policies, and then select New -> Key, type in Explorer and press Enter. If the Explorer key already exists, just skip this step.

    new-explorer-key

  4. Select the Explorer key on the left pane. Right-click a blank area on the right side, select New -> DWORD (32-bit) Value.

    new-disallowrun-value

  5. Rename the newly-created entry to DisallowRun, and set its value to 1.

    disallowrun-value

  6. Right-click on the Explorer key on the left pane, and then select New -> Key, type in DisallowRun and press Enter.

    new-disallowrun-key

  7. Select the DisallowRun key on the left pane. Right-click on an empty space and select New -> String Value.

    new-string-value

  8. Name the new entry with the number 1 and set its value to the name of the application(.exe) that you want to block. If you want to restrict more programs, simply create more String entries with names 2, 3 and so on and set their values to the program’s exe file.

    list-of-disallowed-apps

  9. Restart your computer and try to run the blocked applications and you’ll get the error message “This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.

    block-app-from-running

I should mention that if the user is smart enough to rename the program file, they will be able to run the program again. If this method does not meet your needs, you can use the Protect My Folders to deny access (read/modify/run/rename/copy/delete) to any application in Windows 10.

]]>
How to Prevent A Program from Ever Running in Windows https://www.top-password.com/blog/how-to-prevent-a-program-from-ever-running-in-windows/ Fri, 13 Jun 2014 14:32:45 +0000 http://www.top-password.com/blog/?p=3579 If you have kids you may don’t want them to run certain applications like Skype or BitTorrent on your computer. Today we take a look at a setting in Local Group Policy that allows you to prevent specified programs from ever running in Windows. This is also useful if you don’t want other people to open applications on your work computer.

How to Prevent A Program from Ever Running in Windows?

  1. The first thing you must do is open the Local Group Policy Editor. You won’t find a menu entry for this tool. Instead you start the tool by pressing Windows + R to bring up the Run box and then entering the command gpedit.msc.

  2. Navigate to User Configuration -> Administrative Templates -> System in the left panel, and double click on Don’t run specified Windows applications.

  3. In the pop up window, first set it to Enabled, then under the Options section click on the Show button next to List of disallowed applications.

  4. A Show Contents dialog comes up where you can type in the apps you want to block users from running. In the Value column, type the application executable name (don’t use the full path), e.g. firefox.exe, notepad.exe.

  5. The change takes effect immediate right after you click OK or Apply. From this point on, if a user tries to access an application that is not on the specified list they will get the following warning message.

This is a nice feature for preventing unwanted programs from running in Windows. However, Local Group Policy Editor is not available in Home versions of Windows 7/8/10. This trick only prevents users from accessing applications that are started by Windows Explorer process, but you can still run the disallowed programs in the Command Prompt. If you need a reliable and more secure solution, I would recommend you to use the professional privacy protection program – Protect My Folders.

]]>