This wikiHow teaches you how to impose software restrictions, and block certain apps from running on your computer. You can use the Registry Editor on Windows to set up app restrictions, or download a third-party app to block apps on Mac.

Method 1
Method 1 of 2:

Using Windows

  1. 1
    Open your computer's Start menu. Click the Windows icon in the lower-left corner of your screen to open the Start menu.
  2. 2
    Advertisement
  3. 3
    Click regedit in the search results. The regedit icon looks like blue building blocks. It will open your Registry Editor in a new window.
  4. 4
    Navigate to "Policies" on the sidebar. Find the main folder named "Computer" on the left sidebar, and open "Policies" under it.
    • In order to find Policies under Computer, you'll have to click HKEY_CURRENT_USER, Software, Microsoft, Windows, and CurrentVersion, respectively.
    • Alternatively, you can click the address bar at the top, and enter Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies.
  5. 5
    Right-click Policies on the sidebar. This will show your options on a pop-up menu.
  6. 6
    Hover over New on the pop-up menu.
  7. 7
    Select Key on the New menu. This will create a new key under Policies, and prompt you to name it.
  8. 8
    Name your new key Explorer. Type this name and hit Enter or Return on your keyboard to save it.
  9. 9
    Right-click the Explorer key on the sidebar. This will open your right-click options.
  10. 10
    Hover over New on the right-click menu.
  11. 11
    Select DWORD (32-bit) Value on New menu. This will create a new value inside the Explorer key, and prompt you to name it.
  12. 12
    Name your new value DisallowRun. Type this name and hit Enter or Return on your keyboard to save it.
  13. 13
    Double-click the DisallowRun value. This will allow you to edit the value in a new pop-up window.
  14. 14
    Change the Value data from "0" to "1." Replace the "0" under Value data with "1" and click OK.
  15. 15
    Right-click the Explorer key on the sidebar. This will open your options on a pop-up menu.
  16. 16
    Hover over New on the right-click menu.
  17. 17
    Select Key on the New menu. This will create a new key under Explorer, and allow you to name your new key.
  18. 18
    Name your new key DisallowRun. This key will show up below "Explorer" on the left sidebar.
  19. 19
    Right-click the DisallowRun key. You will have to create new string values inside the DisallowRun key in order to block apps from running.
  20. 20
    Hover over New on the right-click menu.
  21. 21
    Select String Value on the New menu. This will create a new string value in the DisallowRun key.
  22. 22
    Name your new string value 1. Type this name and hit Enter or Return to save it.
    • If you want to block another app later, you'll have to add a new string value here. In this case, you can name your other string values 2, 3, 4, and so forth.
  23. 23
    Double-click your new string value. This will allow you to edit the string in a new pop-up window.
  24. 24
    Enter the name of the app you want to block into Value data. Click the text field under the Value data heading, and type the name of the app you want to block from running.
    • Make sure to enter the full name of the executable file here, and include the file extension. For example, if you want to block Notepad, enter notepad.exe.
  25. 25
    Click OK. This will save your new string value, and block the specified app from running on your computer.
  26. 26
    Restart your computer. Some changes will only take effect after restarting.
  27. 27
    Try running the blocked app on your computer. You'll see a Restrictions pop-up letting you know the app is blocked.
  28. Advertisement
Method 2
Method 2 of 2:

Using Mac

  1. 1
    Open knewsense.com/macappblocker/download in a browser. Type or paste this link into your internet browser's address, and hit Enter or Return on your keyboard.
    • If the download doesn't start, click the click here button next to the shield icon near the top of the page.
    • Mac App Blocker gives you a 15-day free trial period. After 15 days, you can purchase the full app, or try a different blocker app.
  2. 2
    Run the installer file. Find the Mac App Blocker installer in your Downloads folder, and double-click on its icon to begin the installation.
  3. 3
    Verify the installation. You may need to first allow the installer in order to begin installation. In this case:
    • Click the Apple icon on the top-left.
    • Click System Preferences.
    • Click Security & Privacy.
    • Click the Lock icon on the bottom-left, and enter your password.
    • Click Allow next to MacAppBlocker.
  4. 4
    Click Continue in the installer window. This will take you to the License Agreement page.
  5. 5
    Agree with the License agreement. Click Continue, and then Agree when you're prompted.
    • Mac App Blocker is a third-party app. Make sure you've read and understood the license agreement here.
  6. 6
    Select your computer's main drive. Click the drive you want to install the app on, and click Continue.
  7. 7
    Click the Install button. This will install the Mac App Blocker app on your computer.
    • If you're prompted, enter your account password to confirm installation.
  8. 8
    Click Close. This will close the installer window.
    • If you're prompted, you can choose to keep the installer file, or move it to your trash bin.
  9. 9
    Open the Mac App Blocker app. Mac App Blocker icon looks like a blue shield. You can find it in your Applications folder.
  10. 10
    Set up your Mac App Blocker password. Enter a secure password into the "Password" field, reenter into the "Repeat" field below, and click Continue.
    • Make sure the box next to "I have read and I understand this warning" is checked.
  11. 11
    Click the + icon on the bottom-left. This button is in the bottom-left corner of the Mac App Blocker window. It will open a list of all your apps.
  12. 12
    Select the app you want to block. Find the app you want to block in your Applications folder, and click on its name.
  13. 13
    Click the Open button. This will add the selected app to the list of blocked apps.
    • When you try to run one of your blocked apps, you'll be prompted to enter your Mac App Blocker password.
  14. Advertisement

About This Article

wikiHow Staff
Co-authored by:
wikiHow Staff Writer
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 34,494 times.
How helpful is this?
Co-authors: 2
Updated: October 8, 2020
Views: 34,494
Categories: Software
Advertisement