How to Lock folder on windows using recycle bin:
Open Run in your computer or press (ctrl +R) and type ‘regedit‘ command
You can list of keys and relates values.
Navigate through list until you find CLSID no of recycle bin in registry editor
For example:
CLSID no of recycle bin is >> {645FF040-5081-101B-9F08-00AA002F954E}Now its time to lock folder using recycle bin so, lets say you want to lock folder named ‘Folder1?
OPen Notepad editor, inside type following text like
ren folder1 recycle.{645FF040-5081-101B-9F08-00AA002F954E}
and save that files as lock.bat
To unlock related Lock folder , you can create another batch file which will unlock folder.
Type below line in another notepad file and save that as ‘unlock.bat’
ren recycle.{645FF040-5081-101B-9F08-00AA002F954E}
So, when ever you want to lock folder execute created lock.bat and reverse execute unlock.bat for locking folder
0 comments:
Post a Comment