How To Secure A Folder In Windows 10

In this article we can learn how to lock and safe your private data and folder in Windows 10 without any software.

We already know to lock any folder in Windows 10 operating system through locker software like “Folder Locker” ,”File Encryption”, “Crypto Forge” etc. But in this article we can learn how to lock and safe your folder without using any software. Here are the step to protect a private folder in Windows 10.

Step 1

Firstly, open my computer (This PC in Windows 10) window or file explorer using keyboard short cut key Windows + E or double click the my computer icon. Here's the image, 

Windows key

my computer

After opening My Computer (This PC in Windows 10) window we can double click on any drive like I clicked the “E-Drive”, then opened a new window as in the following screenshot:

e drive

Step 2

In this screenshot we can see the folder “SONU” circled by red pen. Now that time I am safe my private data which is located in “SONU” name folder. so that I want to lock my folder “SONU”. To do this work, firstly we are creating a new folder. Remember you can give the folder any name like “abcd”,”Sachin”,”Locker” etc, so I have created a “Locker” named new folder and also remember always create a new folder parallel with private folder like ”SONU” . After creating new folder we can see new folder as shown below:

e drive2

Note: This trick or method mostly work at only any drive entry level not worked at folder in folder level, so to safe your private data and folder always located at drive entry level, for example “E:\”,”D:\”,”F:\” etc.

In this window, we can see a new folder  “Locker” named circled by green color. After these steps we can move the folder “SONU” into “locker” folder using cut, paste or drag and drop.

Step 3

After moving folder “SONU” into “Locker” folder we can see “SONU” named folder is removed from the current windows and will look like the following:

e drive3

In this window the “locker” named folder is left and the “SONU” named folder is successfully moved into “Locker” folder. Now we can press “Alt+D” key from keyboard on that window to open a new “CMD” window then type “cmd” directly from the keyboard and press “Enter” button.

*e drive4

Finally a new “CMD” window opens and look like the following:

cmd

After opening this window we can type command code syntax “attrib <Folder Name> +s +h”, for example “attrib Locker +s +h” and press “Enter”. Doing these steps we can go to main E drive window. Look and see the “Locker” named folder do not display that means “SONU” folder is successfully locked and your private data is not visible to any user it is fully protected from unauthorized user/person.

locker2

Step 4

After performing the 3 steps the next step is to retrieve our private data and folder which is a fully locked form. To open the locked folder window and again press the “Alt+D” key and type the folder name, for example “Locker” press “Enter” and see it.



We can see the directly locked folder ”SONU” and easy access to our private data.

Note: This functionality follows same process called entry level form so that we can’t type folder named “Locker” in nested folder or folder in folder. It is working only root drive directory.

sonu

Steps 5

If we want to remove the folder lock functionality on locked folder "SONU", then again open “E-Drive” window and press Alt+ D key from the keyboard. After that type “CMD” again and press “Enter” and this will open same “cmd” window. Now type the new syntax “attrib <Folder Name> -s –h”. For example, “attrib Locker –s –h”, press “Enter” button from keyboard.

cmd2

After this process we will click the same window and finally press function key “F5” and see the folder “Locker” again as a normal folder.

normal folder