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

Locker (Without any software)

45 posts · originally from https://geek.digit.in/community/threads/locker-without-any-software.69871/

V
vaibhavtek Original post #1
Oct 4, 2007 at 6:04 PM
This is my first Tutorial..!!

I hope you will like this tutorial..!!

Please leave a comment..!!

-------------------------------------------------------------------------
* Copy the following codes (Marked in blue colour):

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 Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your 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


* Now paste it in notepad.
* Change the "type your password here" with your password (Marked as bold in the above posted matter).
* Save it as batch file(with extension .bat).Any name will do.
* Now you see a batch file. Double click it to create a folder locker.
* A new folder named Locker would be formed at the same location.
* Now brings all the files you want to hide in the locker folder.
* Now double click the batch file to lock the folder namely Locker.
* If you want to unlock your files,double click the batch file again and you would be prompted for password.Enter the password and enjoy access to the folder.
-------------------------------------------------------------------------

Hope you like this..!!!;) ;) ;)

Please leave a comment..!!
A
abinesh #2
Oct 4, 2007 at 6:06 PM
nice !! but the avatar is IRdude's trade mark mate !!
V
vaibhavtek #3
Oct 4, 2007 at 6:15 PM
Thanks for the reply..!!!:cool: :cool: :cool:

And now I think you have no problem with my Avatar...!! (Please see it):eek: :eek:
A
abinesh #4
Oct 4, 2007 at 6:26 PM
:)
nice avatar BTW
ravi_9793
Oct 4, 2007 at 6:38 PM
LOL........I think this is Vishal's old avatar (mr. vista).
He even used this at his website askvg.com ..but removed now.

Can I know,from where U got this avtar??
Ron
Ron #6
Oct 4, 2007 at 7:05 PM
Gr8 Yaar.........
Is it URs?
*www.thinkdigit.com/forum/showthread.php?t=48001
shyamno
shyamno #7
Oct 4, 2007 at 9:18 PM
Xcellent ...thing..dude !!! Keep it Up !!!!
MR.MOUSTACHE
Oct 4, 2007 at 9:24 PM
nice one dude........ am gonna check it out ......... if this is better am gonna deleted my locker software am using now ...
anand1
anand1 #9
Oct 4, 2007 at 9:49 PM
Good Work.
Garbage
Garbage #10
Oct 4, 2007 at 9:52 PM
hmmm....

nice BATCH programming dear....
deepak.krishnan
Oct 4, 2007 at 9:56 PM
nice post mate... n keep posting :)
casanova
casanova #13
Oct 4, 2007 at 11:35 PM
Old trick. But a batch file made it easier and quicker. Thanks for the batch file.
sauravktr
sauravktr #14
Oct 5, 2007 at 12:45 AM
nice yaar....post some more
Projjwal
Projjwal #15
Oct 5, 2007 at 1:28 AM
cool job........keep it up
V
vaibhavtek #16
Oct 5, 2007 at 10:20 AM
Ron said:
Gr8 Yaar.........
Is it URs?
*www.thinkdigit.com/forum/showthread.php?t=48001

No friend thats up most part of the thread is not my creation..!!

You donot think that I am too big..!

I am only of 14 age...!!
azzu
azzu #17
Oct 5, 2007 at 11:11 AM
ok that's koool if u forgot ur password u know wat to do ;)
or any wild thoughts
V
vaibhavtek #18
Oct 5, 2007 at 11:14 AM
If you are using any software and u forget the passowrd..!!

There is no way to recover..!!

Same thing..!!
azzu
azzu #19
Oct 5, 2007 at 11:56 AM
but is this as secure as other softs i mean that any geek can know wat's in ur folder
iam not telling that ur technique is not good but sugg them bee carefull against the geeks ;)
V
vaibhavtek #20
Oct 5, 2007 at 12:03 PM
thanks..!!

But for me this is a secure method as this is a password protected..!!!!

I donot want to say but there are many software which can break password of Software like winrar, winzip etc..!! (I heared and even saw) (My own folder)

But as this is without any software so it is hard to break password...!!
azzu
azzu #21
Oct 5, 2007 at 12:06 PM
is there pass breaker for
winrar ??? really can u gemme the link plzz i want it.Is it real guys ???
"But as this is without any software so it is hard to break password...!!"
y is it Hard jus open the .bat file in note pad an u see the pass ;)
blueshift
blueshift #22
Oct 5, 2007 at 12:12 PM
thank you so much for this.

But what if someone deletes the batch file?
V
vaibhavtek #23
Oct 5, 2007 at 12:49 PM
blueshift said:
But what if someone deletes the batch file?

I forget to mention that after creating the batch file you must hide the file at some secret place and make it invisibles but putting that in folder....!!! (I hope you know that) (If not say me I will post that in my other (next) tutorial...!!!)

azzu said:
is there pass breaker for
winrar ??? really can u gemme the link plzz i want it.Is it real guys ???

I cannot give as this is illegal...!! (But really I know the name)

azzu said:
ya is it Hard jus open the .bat file in note pad an u see the pass

I know that but a person will never thought that a .bat file can contain all your secret...!!

And after all if you hide it is immposible...!!
Ron
Ron #24
Oct 5, 2007 at 5:07 PM
vaibhavtek said:
No friend thats up most part of the thread is not my creation..!!

You donot think that I am too big..!

I am only of 14 age...!!

hey buddy I am one year older than u..........:p

vaibhavtek said:
No friend thats up most part of the thread is not my creation..!!

You donot think that I am too big..!

I am only of 14 age...!!

buddy I am one year older than u..........:p

And hey the batch programming file does not provide password Security....
Check Post 11 and 12
*www.thinkdigit.com/forum/showthread.php?t=48001


*www.thinkdigit.com/forum/showthread.php?t=48001
V
vaibhavtek #25
Oct 5, 2007 at 5:25 PM
ron said:
And hey the batch programming file does not provide password Security....
Check Post 11 and 12
*www.thinkdigit.com/forum/showthread.php?t=48001

That is not my tutorial...!!

My tutorial provide Password Security..!!

As many people had comment this as a good so you should know that my tutorial provide Password Security..!!
Ron
Ron #26
Oct 6, 2007 at 4:33 PM
vaibhavtek said:
That is not my tutorial...!!

My tutorial provide Password Security..!!

As many people had comment this as a good so you should know that my tutorial provide Password Security..!!

..........i think u didn't got me...............
Buddy Batch Files do not provide password security.......The security is fake........and any can change the password witjout any trouble..........
Look in that link.......

For an example-
  • I created a batch file named "1.bat" with a password named "Ronak "
  • I locked the folder with that batch file.
  • I deleted the batch file named "1.bat" having password "Ronak"
  • I again created a batch file named "2.bat" with the password "Ronak Agrawal"
  • I tried to run "2.bat"
  • It asked for me a password to unlock the file.
  • I applied "Ronak Agrawal" as the password.
  • It worked successfully……………..
  • I was able to open the folder by entering Ronak Agrawal as the password instead of Ronak
S
slash_89 #27
Oct 11, 2007 at 5:21 PM
Dude if you open the batch file with notepad or any similar s\w and if one reads through the code to the point where it says "Type your password here" then anyone could get the password.
Rollercoaster
Oct 11, 2007 at 6:01 PM
the best way to make things more secure would be to keep the batch file in some other place then what u r locking.

this is good stuff man. i didnt know the /p switch at all
V
vaibhavtek #29
Oct 11, 2007 at 6:02 PM
just follow the link and u will understand:-

*www.thinkdigit.com/forum/showpost.php?p=623247&postcount=23
Rollercoaster
Oct 11, 2007 at 6:09 PM
ease up guys.. u r expecting world class features out of a 10 line batch file. it is brilliant work.

As for the pwd thing. u dont need the password at all. It is well established that the best security method is one that is invisible. This method makes the real data invisible. Now if u dont purposefully show someone the batch file then he wont even know that there is something hidden. let alone looking for its password.

That beauty is the invisibility, as that provides security not the password.

Anyways if someone knew ur batch file(or that a certain controlpanel icon is faking something) then he does not need any password. he can simply rename the control panel icon to anything simple and everything will open. so password protections is irrelevant.

you have to admire the overall idea. i discovered the same things in old dos days by renaming files to include the Alt+255 character. tho it had already been discovered by others millions of times.LOL i was as happy as if i had invented nuclear fusion . but the thing was the coolness of it as is here.
047
047 #31
Oct 11, 2007 at 10:19 PM
nice post... keep it up...
spironox
spironox #32
Oct 15, 2007 at 7:51 PM
i am a bit confused i dont know what happedn but something went terribly wrong i need to get my data out of my folder as the orginal (locker) folder is not at all visible in any drive !! all i can see is a control panel link !!! can any body help here i copied and pasted the whole link as instructed and followed all the things now i am in a mess !!! i dont see the locker folder any more i see a control panel link rather !!! help help help
Rollercoaster
Oct 16, 2007 at 11:08 AM
rename that back to 'locker'
V
vaibhavtek #34
Oct 16, 2007 at 6:52 PM
ya just rename it as "locker"
spironox
spironox #35
Oct 16, 2007 at 7:13 PM
woosh thanks my friend but i am still wondering how did it change at the first place to control panel?? vaibhav any answers ??
V
vaibhavtek #36
Oct 16, 2007 at 7:40 PM
even I also wander....
Tapomay
Tapomay #37
Oct 16, 2007 at 11:58 PM
read this tutorial a few days ago in another forum. but thanks for posting it here.
Rollercoaster
Oct 17, 2007 at 1:48 PM
it changes due to the guid specified in the foldername extention. it is a unique guid that windows uses to track and link its features. there are tons of them. u could change it to printers/network folders etc if u know that guid
Riteshonline
Nov 30, 2007 at 9:59 AM
Nice work Dude!!!!!!:)

is any way to lock the drive????:!:
redhat
redhat #40
Dec 9, 2007 at 8:23 PM
Hey here, this is a very old trik and everyone is posting it here.
Some months ago, I created a small App under VB 6.0 using the same priciple.
The link to the thread is here:
*www.thinkdigit.com/forum/showthread.php?t=44805
Some issues related to this type of security have been discussed there....
V
vaibhavtek #41
Dec 11, 2007 at 6:49 PM
off topic:-sorry for replying late due to my exam and still have exam will catch everyone later after a week...!!
on topic:-nice one but old...!!! :D
The CyberShot
Dec 16, 2007 at 5:20 PM
Hi Vaibhav, I was shocked to hear that u're just 14! You invented the code yourself? If that's true, then u're a genius! Way to go! Anyway, i discovered some 'Problems' in your code(not bugs). First, if a person has access to your code, then its as simple as a pie for him to discover the password and moreover if he is a bit too geeky then he can altogether do away with the password prompt too. Second, if a person boots the computer with a Linux Boot CD or with any other OS except any Windows OS then he/she can easily access the files in the folder. Another 'Problem' I found was that if you loacked a folder on your USB and connected it to another computer, then the folder is visible. Also, you cant lock a folder with a Limited Account.

I hope you may be able to rectify them if you are revising ur code for another program in the future. :)


PS: I'm 17 yrs old (Turned 17 this August)
Batistabomb
Dec 16, 2007 at 5:40 PM
great trick. iam currently hiding it, but there is a bug here, we can see password in root directory it seems, i read it one other forums, also do you have any idea what if the .bat file is deleted
V
vaibhavtek #44
Dec 17, 2007 at 8:41 AM
if bat file is deleted u have lost ur thing.
same is with softaware like Winrar.
The CyberShot
Mar 19, 2008 at 2:52 AM
Oh no! You're wrong! You can access your files again even if you've deleted the .bat file. Just create it again. As simple as that. Or you could just boot a Live CD of any Linux distro and go to the folder you saved your hidden folder in. :)