How to make a folder Inaccessible and Undeletable

Most of the Peoples are not aware that it is possible to create Undeletable, Unrenamable folder in windows without any software. To Test, this concept just follows simple steps given below.

Try to make a new folder in some safe location on your local hard disk & give it a name.

you won’t be allowed to create a folder with con, aux, lpt1, lpt2, lpt3 up to lpt9 these names, Because they are reserved words in windows.

Open the command prompt in your system (Press Win key+R, type ‘cmd’ in the Run dialogue box and hit ‘Enter’).

Type the following syntax into the command prompt.

For instance, the command should be like this:

It will make the folder ‘Private’ inaccessible as well as undeletable. If anybody 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 on your keyboard.

This will return the folder to 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.

Vijayan J

Thanks for stopping by guys! I’m Vijayan and Techpulse is my beloved brainchild.
Currently working as a PHP developer in a digital marketing start-up, I’m overly passionate about not just learning new things but also putting those into practice. I swear by a quote I once came across…
‘What separates successful people from unsuccessful people is the former’s ability to execute’.
Feel free to reach out to me if you have any questions, suggestions or feedback. Hoping to see more of you here!