How to Make Inaccessible Folder In Windows PC ||

When we talk about security and privacy then we never compromise with these two things. Because nowadays the first thing we talk about that is Security and Privacy. In the previous article, you have seen about How to create an Undeletable or Unrenamable folder in window pc. These both articles help you to protect your private files and folders. These both are protecting you with unauthorized access and unwanted file viewers. We are using third-party software for protecting our files from this kind of activity. But in this guide of making an inaccessible folder, we are not going to use any applications.

How to make folder inaccessible?

Before doing these you have to create a folder at safe location on your hard disk. Keep your files and folder which you want to make inaccessible in your windows pc. Don’t make that folder in your root drive it may be harm operating system. Making this folder is going to help you to protect your form with the help of windows inbuilt feature. This task is not time taking it’s easy to establish with the help of windows command prompt.

Read More:- List of Top Windows Run Commands: You should know.

Make a folder inaccessible folder in windows pc

Step1.

Make a folder name of ‘secret’ any safe place on your hard disk and put your files in that folder.

Make a folder at safe place

Make a folder at the safe place

Step2.

Press windows + R key and type cmd and hit enter.

Open run command

Open run command

Step3.

Type the following syntax.

cacls <folder_name with path> /e /c /d %username%

Example:-

cacls i:\secret /e /c /d %username%
Typpe this command 1st in CMD

Type this command in CMD

Point to Note.

/D user       Deny specified user access.

/E            Edit ACL instead of replacing it.

/C            Continue on access denied errors.

Step4.

Go to the directory and try to open that folder it will show error message as shown below.

Error message

Error message

Make that folder accessible folder.

Step1.

Press Windows+R key, type cmd and hit enter.

Open run command

Open run command

Step2.

cacls <folder_name> /e /c /g %username%:f

Example:-

cacls i:\secret /e /c /g %username%:f
Type this command to make accessible in cmd

Type this command to make accessible in cmd

You will get that folder in normal form. Make sure that the file system is NTFS. Otherwise, this technique won’t work.

Keep in your mind that almost everyone can make it accessible who has little knowledge or familiar to windows operating. They can access or make visible to your files easily in folder option menu from windows explorer.

Leave a Reply

Your email address will not be published. Required fields are marked *