How to block Windows Explorer But Allow a Particular Folder

You can use FocusMe to block windows explorer to prevent browsing for files and folders. Additionally, you can allow selected folders to still access them.

The first thing you do is either create a new plan or edit an existing one. To create a new plan, hit the “add plan” button on the upper right. To edit an existing plan, you can either right-click on the plan and select “Edit Plan” or hit the respective cog wheel icon on the right.

create or edit plan

Type the name of the Focus plan (for editing existing plans, the name shows up here) then hit “Next”

create or edit plan step02

You can skip the Websites page (2/6) for now. Hit “Next”.

In the Blacklist tab of the Applications page (3/6), click “Add”.

Then in custom tab enter ‘.’ (without the quotes) and set the type to “Folder Location”. Then click “Accept”.

Back in the Blacklist tab, tick RegEx. a “.” in Regular Expression will match everything. This means it will block all folder locations in Windows Explorer.

After that, go to the Whitelist tab.

On the Whitelist tab, you can allow the specific folder(s) you want (set the type to “Folder Location” again):

Click “Accept” once you are done. It should look like this:

Note that the RegEx box is blank this time since you’re not using Regular Expression.

Go through the rest of the wizard as per your preferences. When you run the Focus plan, you will notice that it would block any folder in windows except for the one/s in the Whitelist.