Saturday 3 September 2011

Lock The Folder (With Description)


Suppose you have to lock the folder hack which has the path e:\hack. Open notepad and type
ren hack hack.{645FF040-5081-101B-9F08-00AA002F954E} Now save it as lock.bat . Remember if you have saved this batch file in same drive in which folder hack has placed, then above method is right but if you save the file in any other drive or in desktop then you have to specify the path. Let us suppose if you have your hack folder in e: but you save the file in desktop or in any other drive then you have to type as
ren e:\hack hack.{645FF040-5081-101B-9F08-00AA002F954E} . Now open this batch file ur folder will change to Recycle Bin with the name hack,  so no one can access it. Whenever someone would try to access this folder, recycle bin will get opened. Actually {645FF040-5081-101B-9F08-00AA002F954E} is the registry value for Recycle bin. This batch file will rename the hack folder with ren command to Recycle Bin. In the similar way you can change it to control panel by replacing {645FF040-5081-101B-9F08-00AA002F954E} with {21EC2020-3AEA-1069-A2DD-08002B30309D} . Now for unlocking this folder create one more batch file with same method and type ren hack.{645FF040-5081-101B-9F08-00AA002F954E} hack and save it as unlock.bat . Recycle Bin will change back to original folder. However it's just a two line method but for learning purpose, you must have the knowledge how it works.

No comments:

Post a Comment