How to create undeletable and unrenamable folder on your Windows PC

How To Create Undeletable and/or Unrenamable Folder In Any Windows Run PC/laptop

If you use a Windows run computer, you need to have that one master folder which contains all your important files, documents, photographs and videos which wouldn’t want anyone to delete or rename. Normal folders created by users on their Windows run computer can be easily deleted and/or renamed.  Most of Windows users are not aware that it is possible to create Undeletable, Unrenamable folder in Windows without any software.

In this tutorial, you will learn a cool and simple trick to create an undeletable and unrenamable Folder in any Windows version run PC/laptop.

Step Wise Tutorial To Create Undeletable Folder In Windows

In this tutorial we will create a master folder which will protect your valuable files.  Just follow the below steps that how can you create a folder that cannot be deleted or renamed.

Step1. Open CMD as Command Prompt. Go to the Start Menu or Run Menu and type CMD or Press Windows Key + X and select Command Prompt.

Step2. Open CMD and type E: or any other drive barring C: you want your undeletable folder to be located and hit enter. You can only create this folder on non-rooted drives such as D, E, F, G not the C drive because you have installed your Windows on C: Drive.

Step3. Now type md con\ and Hit Enter. Here MD represents Make Directory. You may use other words such as aux, lpt1, lpt2, lpt3 up to lpt9 instead of  con in the above step.


You just created a new folder on E Drive. Open Windows Explorer and check it yourself. You can also try to delete or rename the Con file in Windows. You will find that you can neither rename nor delete it.


Now add all your important documents, files, images and videos in this folder. You will find that you have created your own impregnable file which cannot be renamed or deleted.

How To Create Undeletable And Unrenamable Folders?

Now that you have created such undeletable and unrenamable folder but want to delete it for some reason. Follow the below steps and delete/rename such file.

  1. Go to Start and then Click on Run
  2. Type cmd & hit enter (To open Command Prompt ).
  3. Type D: or E: (the directory where you have created your undeletable folder) and hit enter
  4. Type rd con\ and hit enter (rd – remove directory)
  5. If you have used aux, lpt1, lpt2, lpt3 up to lpt9 instead of con just type that word.
  6. Open the Windows Explorer and you will find that you have deleted Con folder.



Please enter your comment!
Please enter your name here

Read More

Suggested Post