X
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.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 34,494 times.
Learn more...
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.
Steps
Method 1
Method 1 of 2:
Using Windows
-
1Open your computer's Start menu. Click the Windows icon in the lower-left corner of your screen to open the Start menu.
-
2Type and search regedit on the Start menu. "Regedit Run command" should show up as the best match.
- Alternatively, you can click the icon next to the Start menu icon on the bottom-left, and do your search here.
Advertisement -
3Click regedit in the search results. The regedit icon looks like blue building blocks. It will open your Registry Editor in a new window.
-
4Navigate 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.
-
5Right-click Policies on the sidebar. This will show your options on a pop-up menu.
-
6Hover over New on the pop-up menu.
-
7Select Key on the New menu. This will create a new key under Policies, and prompt you to name it.
-
8Name your new key Explorer. Type this name and hit ↵ Enter or ⏎ Return on your keyboard to save it.
-
9Right-click the Explorer key on the sidebar. This will open your right-click options.
-
10Hover over New on the right-click menu.
-
11Select DWORD (32-bit) Value on New menu. This will create a new value inside the Explorer key, and prompt you to name it.
-
12Name your new value DisallowRun. Type this name and hit ↵ Enter or ⏎ Return on your keyboard to save it.
-
13Double-click the DisallowRun value. This will allow you to edit the value in a new pop-up window.
-
14Change the Value data from "0" to "1." Replace the "0" under Value data with "1" and click OK.
-
15Right-click the Explorer key on the sidebar. This will open your options on a pop-up menu.
-
16Hover over New on the right-click menu.
-
17Select Key on the New menu. This will create a new key under Explorer, and allow you to name your new key.
-
18Name your new key DisallowRun. This key will show up below "Explorer" on the left sidebar.
-
19Right-click the DisallowRun key. You will have to create new string values inside the DisallowRun key in order to block apps from running.
-
20Hover over New on the right-click menu.
-
21Select String Value on the New menu. This will create a new string value in the DisallowRun key.
-
22Name 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.
-
23Double-click your new string value. This will allow you to edit the string in a new pop-up window.
-
24Enter 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.
-
25Click OK. This will save your new string value, and block the specified app from running on your computer.
-
26Restart your computer. Some changes will only take effect after restarting.
-
27Try running the blocked app on your computer. You'll see a Restrictions pop-up letting you know the app is blocked.
Advertisement
Method 2
Method 2 of 2:
Using Mac
-
1Open 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.
-
2Run the installer file. Find the Mac App Blocker installer in your Downloads folder, and double-click on its icon to begin the installation.
-
3Verify 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.
-
4Click Continue in the installer window. This will take you to the License Agreement page.
-
5Agree 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.
-
6Select your computer's main drive. Click the drive you want to install the app on, and click Continue.
-
7Click 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.
-
8Click 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.
-
9Open the Mac App Blocker app. Mac App Blocker icon looks like a blue shield. You can find it in your Applications folder.
-
10Set 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.
-
11Click 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.
-
12Select the app you want to block. Find the app you want to block in your Applications folder, and click on its name.
-
13Click 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.
Advertisement
About This Article
Advertisement