Home > Windows

How to Block Files, Folders, Apps from being accessed in Windows 11

In this guide, we will show you the steps to block any file, folder, or app from being accessed on your Windows 11 PC. There might have been many instances wherein you wanted to prevent a particular content shouldn’t be accessed by any other user. For example, if your PC is shared by other users as well, or if you are planning to lend your laptop to someone for a few days, then a need for the same could definitely arise. Likewise, some employers wish to prevent their employees from accessing certain apps on their PC so as to improve their productivity.

In all these cases, you could easily make use of a third-party app. But there’s always an element of uncertainty involved with such apps, not only from the privacy point of view but also from their efficiency level. Well, it turns out you don’t even need to rely on any third-party app as you could do the aid job right from one of the built-in features of the OS. Using Windows 11 AppLocker, you could easily block any file, folder, or app from being saccessed on your PC. Let’s check out how this could be carried out.

How to Block Files, Folders, Apps in Windows 11

Block Apps in Windows 11

  1. Launch Command Prompt as an administrator from the Start Menu
  2. Then execute the below command to start the Application Identity service.
    sc config "AppIDSvc" start=auto & net start "AppIDSvc"

    Block Apps in Windows 11

  3. After that, enable Local Security Policy on your Windows 11 PC.
  4. Then bring up Run via Windows+R and type in the below command to open Security Policy.
    secpol.msc
  5. Now go to Application Control Policies > AppLocker from the left-hand side.
  6. Then click on Configure Rule Enforcement on the right-hand side.Block Apps in Windows 11
  7. After that, select Configured under Executable rules and click Apply > OK.Block Apps in Windows 11
  8. Now go back, right-click on Packaged App Rules and select Create default rules.Block Apps in Windows 11
  9. Then right-click on Executable Rules and select Create default rules.Block Apps in Windows 11
  10. Again, right-click on Executable Rules and this time, select Create New Rules.Block Apps in Windows 11
  11. Now click Next to proceed ahead.Block Apps in Windows 11
  12. After that, choose Deny. Then click on Select and choose the users from whom you wish to block apps/files/folders on your Windows 11 PC.Block Apps in Windows 11
  13. Then select Path and click Next.Block Apps in Windows 11
  14. Now click on Browse File or Browse Folder and choose the desired content to be blocked. Then click Next.Block Apps in Windows 11
  15. Leave everything as it is under Exception and click Next.Block Apps in Windows 11
  16. Give your rule a name and an optional description and hit Create. That’s it.Block Apps in Windows 11
  17. You should now see the new rule on the Security Policy home page.Block Apps in Windows 11
  18. If anyone now tries to access the blocked content, he/she will get the following message=
    This app has been blocked by your system administrator. Contact your system administrator for more info.
  19. If at any point in time, you wish to remove this rule, then just right-click on it and select Delete.Block Apps in Windows 11

So these were the steps to block any file, folder, or app from being accessed on your Windows 11 PC. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: