This post is about hiding a folder in Windows using command prompt and CLSID.
This trick also work with windows 7 and Windows 8.
Commonly we use some encryption software to lock the secure data like Folder Lock but this trick is for hiding some private stuff ;) if you want to avoid direct access to folder.
Now we will create two batch files (available for download at bottom) one will hide the folder and another will unlock the folder using a secure word you can say password.
The technique is very simple we will change properties of locker folder completely same as some system folder, using windows commands. Therefore, accessing the locked folder will result in system file instead of actual folder path and making batch files of these commands will make lock and unlock process very easy.
About CLSID:
CLSID are Windows class id for various windows class objects like My Computer, Control Panel, and Administrative Tools etc. we will use My Computer class id to make the locker behave like Computer Folder and clicking on that will show My Computer screen like hard drives.
Commands:
We will use these commands
To change the locker name unlock the locker and rename the folder but also search and replace "locker" with "new_folder_name" in both files as folder name is hardcoded in batch files.
To change the unlock password open "unlock.bat" in notepad and look for "password" replace this word with your password.
Comment your queries and suggestions!
This trick also work with windows 7 and Windows 8.
Commonly we use some encryption software to lock the secure data like Folder Lock but this trick is for hiding some private stuff ;) if you want to avoid direct access to folder.
Now we will create two batch files (available for download at bottom) one will hide the folder and another will unlock the folder using a secure word you can say password.
The technique is very simple we will change properties of locker folder completely same as some system folder, using windows commands. Therefore, accessing the locked folder will result in system file instead of actual folder path and making batch files of these commands will make lock and unlock process very easy.
About CLSID:
CLSID are Windows class id for various windows class objects like My Computer, Control Panel, and Administrative Tools etc. we will use My Computer class id to make the locker behave like Computer Folder and clicking on that will show My Computer screen like hard drives.
Commands:
We will use these commands
- First, rename the folder to make it system folder.
rename Locker "Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
- Then apply system attribute to completely hide this folder.
attrib +h +s "Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
- Revert the same process to unlock the folder.
Click here to download batch files
- Download zip file that contain whole structure of locker.
- To lock: Extract the zip file containing two files one to unlock and another to lock. "Lock.bat" should be inside the "locker" folder, to lock folder close all applications and files that are inside of locker folder and run that file then folder will be locked and hidden it will also make all files path invalid those are inside the locker folder. Therefore, no one can access using history of video player and from other apps recent files section.
- To unlock: run "unlock.bat" it will show blank cmd screen type "password" and hit enter, "Locker" folder will be visible immediately.
To change the locker name unlock the locker and rename the folder but also search and replace "locker" with "new_folder_name" in both files as folder name is hardcoded in batch files.
To change the unlock password open "unlock.bat" in notepad and look for "password" replace this word with your password.
Comment your queries and suggestions!
0 comments:
Post a Comment