top of page

How to make inaccessible folder in windows PC?

  • venkateshbala1996
  • Mar 14, 2017
  • 2 min read

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 previous article you have seen about How to create 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.

Before doing these you have to create a folder at safe location in 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 its easy to establish with the help of windows command prompt.

Make a folder inaccessible in windows pc

Step1.

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

Step2.

Press windows + R key and type cmd and hit enter

Step3.

Type the following syntax.

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

Example:-

cacls D:\secret /e /c /d %username%

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 directory and try to open that folder it will show error message as shown below.

Make that folder accessible.

Step1.

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

Step2.

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

Example:-

cacls D:\secret /e /c /g %username%:f

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 every one can done 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.

Comments


bottom of page