DIGIT-ARC read-only archive · snapshot: July 23, 2026

Lock Any Folder Without Any Software!!!

30 posts · originally from https://geek.digit.in/community/threads/lock-any-folder-without-any-software.98353/

jerin3013
jerin3013 Original post #1
Sep 24, 2008 at 9:07 PM
NoTe- Its different from invisble as well hidden folder....here u need to have a password with which u can open your filder

here is the code

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo stuff by satish
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==TYPE UR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


Instructions::


1) Copy the give code in a note pad and save the note pad in your pc with the name name.bat (that is with the extension of .bat). you can replace the name portion with anything u want.

NoTe-- In place of password in the code given type your desired password.

2) A batch file will be created where you hav saved. Now double click on it , it will make a folder with the name locker at the same place where the batch file is save.

3) Now add the files you want to be locked in that folder.

4) Double click on the batch file. It will ask for locking the folder formed. Type y(yes). The folder will be locked and hidden.

5) To unlock,double click on batch file again and enter the password in the new window opened.

100% WORKING!!!
C
Sep 24, 2008 at 10:03 PM
This really works....
Thanks :)
M
Sep 24, 2008 at 11:27 PM
woo...whre did u get tht frm..??
a lil piece of mastery.....just too good...its 100% working...
topgear
topgear #4
Sep 25, 2008 at 5:34 AM
@ jerin3013 - Thanks mate for sharing.
If it not your's plz mention the source :D
thewisecrab
Sep 25, 2008 at 6:32 AM
I dont think it's his as I have seen this else where
But anyway
Nice tut :)
dheeraj_kumar
Sep 25, 2008 at 10:07 AM
This is a very old and very popular and very easy-to-bypass folder lock. Not his for sure, but no source since its available in almost every tech forum, even posted here a couple of times before.
Krazzy Warrior
Sep 25, 2008 at 12:24 PM
Very Very Very Old...was even post in this forum some month ago.....very old...I had already that Kind of folder...
jerin3013
Sep 25, 2008 at 5:12 PM
its not my tut.......
its popular & so easy...thatz while i posted here....

Here is the source:):):)
Krazzy Warrior
Sep 25, 2008 at 5:21 PM
Ya agreed that popular but old from next time plz provide source and edit ur first post giving source..
G
giovanni #11
Sep 26, 2008 at 3:25 PM
hey jerin
was on the lookout for something simple to lock folders and this was the best thing to come my way... keep it up!!! no prob if it is repeated....
rhasta
rhasta #12
Sep 26, 2008 at 6:27 PM
dis is really imba!!
great work
R2K
R2K #13
Sep 26, 2008 at 9:48 PM
you can open that folder by winRAR or 7zip explorer
T
The Conqueror #14
Sep 27, 2008 at 8:36 AM
Yeah This had been posted in Digit sometime earlier.Actually it is not so safe as anyone who has basic knowledge can just edit the .bat file and whoa ur lock is gone!
Krazzy Warrior
Sep 27, 2008 at 10:07 AM
^^ Correct people knowing batch programming can crack that even in 60 sec..
dheeraj_kumar
Sep 27, 2008 at 6:43 PM
Code:
if not exist "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto end
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
:end

Crack to this so called "protection"
Most Wanted
Sep 27, 2008 at 7:43 PM
Any way, good tut and i like it.
Krazzy Warrior
Sep 28, 2008 at 6:13 AM
Code:
if not exist "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto end
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
:end
Crack to this so called "protection"

i know that posted in digit sometime before..this is really a good mean of protection...use truecrypt and end..
Chetan1991
Oct 4, 2008 at 9:48 PM
great job man!!!
redhat
redhat #20
Oct 4, 2008 at 11:34 PM
VERY VERY old... please do check the forum before posting.... Around 1 or two years back, I even posted a Visual Basic app. on the same logic on this forum...
Very easily crackable....
A
apoorva84 #21
Oct 5, 2008 at 1:24 AM
nice.
trigger
trigger #22
Oct 6, 2008 at 12:25 PM
Code:
if not exist "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto end
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
:end

Crack to this so called "protection"

where should i put this snippet in the original code?
Zangetsu
Zangetsu #23
Oct 6, 2008 at 1:15 PM
"Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

:rolleyes: the above code is for control panel & u can change dat to any other type also

just refer this -->
===============

{20D04FE0-3AEA-1069-A2D8-08002B30309D} - Explorer
{0DF44EAA-FF21-4412-828E-260A8728E7F1} - Start menu properties
{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF} - Folder Options
{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Network Connections
{D20EA4E1-3957-11d2-A40B-0C5020524152} - Fonts Folder
{D6277990-4C6A-11CF-8D87-00AA0060F5BF} - Shedule tasks
{E211B736-43FD-11D1-9EFB-0000F8757FCD} - Scanners & camera
{645FF040-5081-101B-9F08-00AA002F954E} - Recycle bin
{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers Folder
{20D04FE0-3AEA-1069-A2D8-08002B30309D} - My Computer
{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Network Neighbourhood
{D20EA4E1-3957-11d2-A40B-0C5020524153} - Administration Tools
{BDEADF00-C265-11D0-BCED-00A0C90AB50F} - Web Folders
{450D8FBA-AD25-11D0-98A8-0800361B1103} - My Documents
{208D2C60-3AEA-1069-A2D7-08002B30309D} - Network Favorites
{871C5380-42A0-1069-A2EA-08002B30309D} - Default Navigator
{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA} - Computer search results folder
{E17D4FC0-5564-11D1-83F2-00A0C90DC849} - Network Search Results computer
{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers and telecopiers

replace the code with the controls panel's & see if it works or not...:mrgreen:
D@rekills4
Oct 6, 2008 at 1:26 PM
Nice

Nice Thing
I read this thing many months ago on some other forum
I had almost forgot it
Thanks for reminding
toofan
toofan #25
Oct 6, 2008 at 9:44 PM
Can't we open that bat file in note pad and then read that password and use it. It will be more simple and easier then other ways to crack it.
Am i right guys? Please correct me if I am wrong.
comp@ddict
Oct 6, 2008 at 11:01 PM
Sweet thing....now to some password setting....hmmmm
Zangetsu
Zangetsu #27
Oct 7, 2008 at 9:56 AM
Can't we open that bat file in note pad and then read that password and use it. It will be more simple and easier then other ways to crack it.
Am i right guys? Please correct me if I am wrong.

Ya dats a downfall for dat..but u can encrypt the .bat file using some 3-rd party software....

Btw i dont use the .bat method of password protecttion..i use the type change method which only changes the folder type 2 control panel,my computer etc....
& then delete the .bat file :D
skippednote
Oct 7, 2008 at 10:03 AM
Very useful stuff......
comp@ddict
Oct 7, 2008 at 12:06 PM
It can also be done by notepad yes...some website called hackingtruts I guess..

===============================

OFF TOPIC(BUT IMPORTANT)::
*www.thinkdigit.com/forum/showthread.php?t=99184
frederick_benny_digit
Oct 7, 2008 at 6:26 PM
gud stuff...used to use folder lock or diRlock but they were clumsy.....

thnx dude...
i had seen a video on utube telling th stuff long time bak but never paid atention :p