Hi friends .........
Here is a simple trick that can protect your folders and logical drives ....without any third party software ..
these tricks uses Registry Editor and Dos commands....
. Lock your folder--------
1. open notepad and type the following command
suppose name of your folder is : myfolder
2. ren myfolder myfolder.{21EC2020-3AEA-1069-A2DD-08002B30309D}
3.Save the text file as key.bat in the same drive.
4.now save this notepad file as lock.bat (choose any name with .bat extension)
when you click on this bat file your folder will be locked and no more accessible
Unlocking Folder
now what if you want to unlock this folder
Ans:just type the following Dos command ....
ren myfolder.{21EC2020-3AEA-1069-A2DD-08002B30309D} myfolder
Thats All about Locking folders without any software..
Lock your Hard disk drive......
1. open regedit and goto the following registry ke
start->Run->regedit press enter..
2.open the key
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer
3.Create a new DWORD value NoViewOnDrive and set its value as
2^ (Alpha Number of Drive Letter-1) where Alpha number are simple counting of alphabets from A to Z as 1 – 26
For example: to lock D:\, Alpha number of C is 3 so 2^ (4-1) = 8 (decimal value)
4. now save registry key and restart your syatem,, your drive is locked....
Unlock Drive ::: just delete this registry key..........

