If you are so much worried about the data privacy at your local computer, you can lock them by using some password protection software. But personally, I don’t like to use any software unless I don’t have any alternative option. Here, in this article I’ll describe a simple technique to make any folder inaccessible and undeletable thus making the contained data private without using any password protection software.
At first, create a folder in some safe location at your local hard disk. It is wise to keep the folder into the ‘Program Files’ folder of your system root drive. Give any name for that folder. Putting a technical name would help to prevent anyone from guessing the folder’s confidentiality. Say, the name is ‘Private’. Keep all the files like text files, images, videos or any thing else that you want to make private into that folder.
Now, we’ll convert the folder ‘Private’ into inaccessible and undeletable form so that, nobody can get access to the content of that folder. The procedure is too easy. You can do it with a simple dos command in Windows command prompt.
How to make a folder Inaccessible and Undeletable
1. Open the command prompt in your system (Press Win key+R, type ‘cmd’ in the Run dialogue box and hit ‘Enter’).
2. Type the following syntax into the command prompt.
cacls <folder_name> /e /c /d %username%
For instance, the command should be like this:
cacls private /e /c /d %username%
It will make the folder ‘Private’ inaccessible as well as undeletable. If any body tries to open or delete the folder, the following messages will be shown.
When you want to open that folder for your own need, type the following syntax in the command prompt and hit the ‘Enter’ key from your keyboard.
cacls <folder_name> /e /c /g %username%:f
This will return the folder into its normal form. This trick works in Windows XP, Windows 7 and Windows vista as well. But, make sure that the file system is NTFS. Otherwise, this technique won’t work.
You might also like to read: Change Windows User Passwords From Command Prompt.
You might want to argue that hiding you personal files and folders could solve the problem. But, keep in your mind that almost every one who has a little knowledge in Windows can easily make the folders visible from the ‘Folder option’ in Windows explorer.