You close the game, promise yourself that's it for the week, and two days later your hand opens it before your brain has a say. Uninstalling works until the evening you reinstall it.

If you want to block apps on Windows 11 or 10 so they simply won't open, you have three options. Microsoft Family Safety blocks apps for members of a family group. Group Policy blocks programs on Pro editions. A free app blocker like StayFree for Windows blocks any app or game on your own account, on any edition, including Home. Here's how each one works and where it falls short.

Option 1: Microsoft Family Safety

Family Safety is Microsoft's free parental control service. A family organizer can block apps for other members of the family group, as long as they sign in to Windows with their Microsoft account. According to Microsoft's guide:

  1. Sign in at account.microsoft.com/family.
  2. Select the family member whose apps you want to block.
  3. Choose the Windows tab under their name.
  4. Open Apps, features, and games, select ... next to the app and choose Block app.

Where it falls short: only organizers can block apps, so it's built for parents, not for limiting yourself. You also have to block each app separately for each member and device type.

Option 2: Group Policy (Windows Pro)

Windows Pro, Enterprise and Education include the Local Group Policy Editor, which has a setting called Don't run specified Windows applications. Windows Home doesn't have this editor.

  1. Press Windows + R, type gpedit.msc and press Enter.
  2. Go to User Configuration › Administrative Templates › System.
  3. Open Don't run specified Windows applications and choose Enabled.
  4. Click Show and add the program's file name, for example steam.exe.
  5. Click OK to close the list, then OK again.

Where it falls short: it blocks by file name, so you need to know the exact .exe. And Microsoft's documentation for the policy says the policy only stops programs started from Windows Explorer, not programs started by other processes. A command prompt, or a launcher that starts the game for you, can get around it. It's also easy to undo: anyone who can open the editor can switch it back to Not configured.

Option 3: block apps on Windows with StayFree

StayFree is a free app usage tracker and app blocker for Windows 10 and 11, rated 4.8 on the Microsoft Store. It works on your own account, on Home and Pro alike, and blocks any app or game you've used on that PC.

StayFree block screen on Windows

1. Install StayFree

Get it from the Microsoft Store. It's free, with no ads and no in-app purchases, and it runs in the system tray. StayFree can only block apps and games you've opened since installing it, so start the app you want to block once before the next step.

2. Create a limit

Open the StayFree dashboard, click Usage Limits in the sidebar and then the + button. Click Select websites, apps and categories to limit and tick the apps you want gone on the Apps tab. You can also pick a whole category, such as Game, to block every game StayFree has put in it.

3. Choose Block permanently

Under How do you want to limit usage for the selected items?, choose Block permanently. Give the limit a name if you like, then click Save.

That's it. There's no timer to count down: the next time you open the app, StayFree covers it with a block screen that says it was blocked and shows today's usage. From there you can click Close Blocked App. The screen also offers +1 minute, once a day per limit, for the moment you really just need to grab a file.

Not ready to block it all day?

Block permanently sits next to three softer options in the same list. Block on a schedule blocks the app only on the days and hours you choose, Set a daily usage limit gives it a daily time budget, and Set a session limit caps each session. Our guide on how to limit app time on Windows covers those in detail.

Make the block hard to undo

A block you can remove in two clicks won't survive a bored Friday night. StayFree has two settings for that:

  • Lock Usage Limits. In Settings › Lock Usage Limits, choose Pin Protection or Text Challenge (typing out a long paragraph). StayFree then asks for it before you can edit, switch off or delete a limit, and before you can remove the lock itself. For the strongest version, have a friend choose the PIN.
  • Hide On/Off Toggle. The switch next to the StayFree name in the sidebar can deactivate all blocking for 5 minutes, an hour, the rest of the day or until you turn it back on. Turn on Hide On/Off Toggle in Settings so it isn't one click away.

What about the website version?

Blocking the Discord or Steam app doesn't stop the website from opening in your browser, and the same goes for every option above. In StayFree, the Websites tab in the same selection dialog covers that. Website limits need the free StayFree browser extension for Chrome, Edge or Firefox, connected to the desktop app.

Which option should you use?

Family SafetyGroup PolicyStayFree
Works on Windows HomeYesNoYes
Blocks apps on own accountNo, organizer onlyYesYes
Pick apps byName, from a listExact .exe file nameName, from the apps you've used
Schedules and time limitsScreen time limitsNoYes
Protect the blockOrganizer's accountAdmin rightsPIN or text challenge

If you're setting rules for a child, Family Safety is the natural choice. If you manage PCs for work, Group Policy and its bigger siblings are built for that. If the person you need to block apps from is you, StayFree for Windows is the one made for it.

Not sure which apps deserve the block? Check your app usage for a few days first. And if you only want them gone while you work, a Pomodoro timer that blocks apps might be all you need.