lock a folder in windows without using any software

Posted on at

Every one wants security in his/her life . We use different means to secure our self , Same as in case of computer we need security for our files that we don’t want any one to use . So how to lock a folder in our computer without any 3rd party program?

Also See: How To Protect Folder And Files On PC, Emails And USB Storage Device with Encryption

Codemink here comes with a solution by which you don’t have to use any kind of external software for the security of folder. Instead of using a software we will use a windows trick, it is windows inbuilt property by which we will disguise any folder to windows component by using command prompt.

In this we will convert folder to compenents like, my computer , recycle bin etc .

Steps involved to change folder into computer component are :

1.Select the folder and keep all your important files and folders in it and remember the path as shown below:


2. Open command prompt and change the path to the respective drive where the required folder is present.

Command Prompt

3. After changing the path of the folder you just have to type very simple command which will let you covert your folder to computer component .

the trick behind this is CLSID (window class identifiers) of  Microsoft windows,  like the CLSID of My computer is {20d04fe0-3aea-1069-a2d8-08002b30309d}


4. After executing the above command the clectures folder will look like My Computer icon and will act like My computer of microsoft windows operating system.

CLSID folder

5. Once the folder is converted to windows components, They act like one of them, here above clectures folder will act like my computer in operating system untill and unless we reconvert it to its original state .

To reconvert clectures folder to its original state we again have to use same command  with little alterations as shown below :

original form

this will give you your folder clectures with its original data in it .

Above we told you how to convert folder to my computer.


Thats very simple here are the CLSID (windows class identifiers) codes for other components

Administrative tools   {d20ea4e1-3957-11d2-a40b-0c5020524153} 

Briefcase                           {85bbd92o-42a0-1o69-a2e4-08002b30309d}

Control Panel                  {21ec2o2o-3aea-1o69-a2dd-08002b30309d}

Microsoft Networks      {00028b00-0000-0000-c000-000000000046}

My Computer                   {20d04fe0-3aea-1069-a2d8-08002b30309d}

My Documents                 {450d8fba-ad25-11d0-98a8-0800361b1103}

My Network Places         {208d2c60-3aea-1069-a2d7-08002b30309d}

Network Computers        {1f4de370-d627-11d1-ba4f-00a0c91eedba}

Recycle Bin                          {645ff040-5081-101b-9f08-00aa002f954e}

Scanner and Cameras      {e211b736-43fd-11d1-9efb-0000f8757fcd}

Above are the CLSID code , you can use these codes with the same command mentioned above .

So, this is whole about How to lock a folder in Windows without using any 3rd party software. In case of any doubt or query, you may post it below in the comment box.



About the author


I am A Student of University in Software Engennring Department, I have Good Know How About Sites . Iam Also a Web Designer Graphic Designer and iam Also Learning Advance ACCP-Pro in Aptech Computer Education .

Subscribe 0