Facebook Hacking.... Click Here


Monday, 22 April 2013

Password Protect Any Folder Without Any Software


In my previous post i have teach you to hide files behind images. In this tutorial i will show you interesting and usefull trick to password protect folder without using any software using batch file programming. This trick will work on all windows platform (Win XP, Win 7). Follow below tutorial to learn this trick.

How To Lock Folder ?

   1. Open Notepad and Copy code given below into it.
cls
@ECHO OFF
title coolhacking-tricks.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== coolhacks goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
   2. Save the notepad file as lock.bat (.bat is must)
   3. Now double click on lock.bat and a new folder will be created with name MyFolder
   4. Copy all your data you want to protect in that New folder
   5. Now double click on lock.bat and when command promp appears Type Y and press enter.
   6. Now MyFolder will be hidden from you view, to access that folde double click on lock.bat
   7. It will ask for password enter your password and done. (Default password is coolhacks)
  • To change the password replace coolhacks with  new password in the above code

How To Further Secure ?

You might be thinking that anyone can access the password by opening that lock.bat file in Notepad or any other text editor. To make it more secure hide lock.bat in some secure location after following the above tutorial To access the secured file double click on lock.bat. I would suggest copying lock.bat file into Pendrive and copying it into your computer whenever you required to access to your protected files.

Few More Interesting Tricks

Subscribe To Get FREE Tutorials!


Kindly Bookmark and Share it:


127 comments:

jcmax on 22 April 2013 23:02 said...

you mistake ---> "if %cho%" ? So you can basicly comile it with batch file comiler and put compiled file in to %WINDIR% folder. Make a link or start from cmd via command "name of file".

Moiz Kotdawala on 23 April 2013 00:07 said...

gr8 trick

abuicm on 23 April 2013 06:29 said...

how to view that folder

Akash on 24 April 2013 20:46 said...

great trick......thanks

Pankaj P on 26 April 2013 10:45 said...

that is very good trick but can u do locking the folder by password not just hiding it

Joe Smith on 26 April 2013 13:34 said...

HI AKSHAY,
Its a very cool trick and i liked it very much thanks for showing us how to protect our files. Hey can you show us more tricks and please give us your email id so that we can message you.And 1 more request to you is please give us URL of the page where you are posting your tricks....

Sumit singh on 27 April 2013 11:46 said...

Thats a good post I like it.
Check this site with lots of hack tools http://deamondownload.hj.cx/

Umair Noor on 2 May 2013 07:22 said...

Hai your post is really informative or helpful for me keep it up and check also my blog is very informative i write itself Trick Of Blogging

bala chandar on 3 May 2013 21:14 said...

very nice thank you

bala chandar on 3 May 2013 21:17 said...

very nice thank you

Abhishek on 11 May 2013 22:49 said...

how to change password

Shivani on 15 May 2013 08:42 said...

Nice post.. but how to open that folder again.?? After typing the password again, nothing happened.

Umang Kapadia on 22 May 2013 02:54 said...

Its not working in my PC. Its hide the folder but open without password and if i double click on lock.bat and give the password then it become appear....

KlajDi BoY on 24 May 2013 07:33 said...

You ARe Awsome . Dont You Guys Think SO ?

Prakash Paudel on 26 May 2013 00:06 said...

Great!!!
Hi Akshay, Will you teach me some more, Iam very eager to learn new things but could find the way...Plz revert me on [me17_prakash@hotmail.com] I will be waiting for your reply.
Regards,
Prakash

Sunny Chordia on 27 May 2013 02:47 said...

hey dude yar i tried the trick and i have saved all my important data but how to open it again its nt asking for password and even not opening i hv all my imp data in it plzzzz get me out

manish batham on 29 May 2013 21:26 said...

its nt working \

INBA kumar on 31 May 2013 03:02 said...

hmmm nice..................

Ipin on 31 May 2013 14:12 said...

hey, the my folder is lost after i say lock it then when i click lock.bat 2 times a new my folder created and its empty?

yashawi rkg on 1 June 2013 07:41 said...

WhAtS ThiS TITtLe FOr CooL HaCcK TriCKs BEtWeeN the PRogrAM ComMAND

Brijesh Suthar on 2 June 2013 21:37 said...

when we had open the folder option and click to the show hidden files then the locked file are opened.

james jack on 3 June 2013 04:21 said...

Now double click on lock.bat and a new folder will be created with name MyFolder...but I am not able locate lock.bat. Need help anyone

kripesh khanal on 6 June 2013 04:54 said...

nothing happen

Knight Raven on 12 June 2013 03:14 said...

gr8 shit dude hoping for more from your side

Rangarajan k v on 13 June 2013 08:55 said...

its good but v can te file frm search option na !?!?!?!
wat to do fr tat ?? buddy !!

---------------waiting fa ua rply---------------------------

harseerat singh on 14 June 2013 14:41 said...

i forgot my password how i'll get my folder back

Kashfiya on 15 June 2013 07:05 said...

Wow, nice blog. I have just get these questions answer from the computer experts at ChatCat live chat site. Its really beautiful to me and hope you all also can get your desired answers according to your questions.
ChatCat Live Chat: Computer Club

Kashfiya !!!

David Dowd on 16 June 2013 15:38 said...

either it doesn't create myfolder or i can't find it. help please

john kho on 16 June 2013 22:54 said...

hey I tried this already very very awesome ,, but now it doesn't work in my computer, when type the password ,,,, nothing's happen,,,, the folder is not showing anymore....can you help me to fix that??? please.. help

Vikash Kumar on 22 June 2013 14:36 said...

this is not working wid my pc..when i double click on lock.bat then no any folder is created...plzzz help..

Jehnoy Welsh on 25 June 2013 18:10 said...

hmm..folder isn't being created. Possibly due to using windows 8?

Sammy Stepper on 26 June 2013 01:59 said...

Cool

saurabh barsagade on 27 June 2013 22:09 said...

not working

Sravan Kumar on 29 June 2013 22:48 said...

ha i have finished all the thing. after finishing, while double click on the file, it asks for pasword, when i gave password, it shows control panel instead of open my folder. so now what i have to do to get back my folder? can you please help me?

Karthik KS on 5 July 2013 00:34 said...

HELLO UPLOADER.... I DID THIS PROTECTION FOR MY IMPORTANT FILE!!! BUT WHEN I RUN lock.bat, I DONT GET ANY SCREEN ASKING FOR PASSWORD...BUT INSTEAD A SCREEN APPEARS AND STATES: "the system cannot find the batch label specified" AND SUDDENLY THE SCREEN DISAPPEARS WITHOUT WAITING FOR A FRACTION OF SECONDS....PLEASE HELP ME. I AM IN TROUBLE!!!

Vincy on 5 July 2013 02:07 said...

I lost my folder with imp data. whenever I double click on bat file screen is disappearing in fraction of sec. please let me know how to restore my folder.

Sibin CM on 9 July 2013 03:14 said...

great! works fine and thank you.

pradeep on 9 July 2013 06:19 said...

not working ,i copied my files it get lost and i entered the password
it is not showing the folder

pradeep on 9 July 2013 06:22 said...

its not working , i copied my files and entered the
password its not showing my files

Karthik KS on 13 July 2013 05:19 said...

HELLO UPLOADER.... I DID THIS PROTECTION FOR MY IMPORTANT FILE!!! BUT WHEN I RUN lock.bat, I DONT GET ANY SCREEN ASKING FOR PASSWORD...BUT INSTEAD A SCREEN APPEARS AND STATES: "the system cannot find the batch label specified" AND SUDDENLY THE SCREEN DISAPPEARS WITHOUT WAITING FOR A FRACTION OF SECONDS....PLEASE HELP ME. I AM IN TROUBLE!!!

Karthik KS on 23 July 2013 04:59 said...

What For..?

CS GUYS on 28 July 2013 05:29 said...

step:6 is not working for me.am using windows 7 homebasic(64 bit).pls help

Χρήστος Ιωαννίδης on 29 July 2013 04:15 said...

what if i use attrib -s -h /s on the directory containg the the "locked" folder

A moderately experienced windows user would "crack" this in minutes.

rama krishna on 31 July 2013 06:14 said...

your work is excellent brother

rama krishna on 31 July 2013 06:22 said...

your work is excellent brother

RedHackez on 1 August 2013 14:36 said...

To view lost file just untick hide file sytem in folder option. This tris is nothing. It not lock ur file but just change it attribute

RedHackez on 1 August 2013 14:37 said...

To view lost file just untick hide file sytem in folder option. This tris is nothing. It not lock ur file but just change it attribute

Amit Gupta on 4 August 2013 12:02 said...

doesn't work, after hiding one file is created named "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" which is not hidden and directly accessible.

mona dhillon on 12 August 2013 02:44 said...

after hiding files are still accessible like hidden option in windows folder.........password is not require for open folder.how can we protect folder with password?

Net Avak-Unlimited Reviewed Online Income on 18 August 2013 12:50 said...

Dude it nice and work for me.
But advise how to hide from search so none can even find with search options too.
Also advise to recover data if we lost password or can't access it...

Unknown on 19 August 2013 06:50 said...

If the trick described in the article does not work for you, try Folder Password Expert. It is not free (as far as I remember, you pay about 40 bucks but that's not much) but it does the job. Download the free trial from
http://www.folder-password-expert.com/download.html

Sukesh Mahato on 25 August 2013 01:23 said...

i cannot view the folder by double clicking on lock.bat

harish merugu on 2 September 2013 01:40 said...

it works very nice but if we check show hidden file s ...in our folder options its showing with out pswrd

josh staivin on 2 September 2013 23:16 said...

hey dude tanks but 1thing it looks like secure but definately it remains unsecure becoz if you run a batch file with the command attrib -h -s \d \s on the same directory where you placed the locked folder it is accessible without asking any password...... for more visit

joshstaivin.blogspot.com

Manu Shukla on 9 September 2013 09:17 said...

not well folder is being not open after lock

Murat Ekinci on 14 September 2013 15:01 said...

But if the hidden file options on
anyone can simply bypass it bro

Gopadilip Reddy on 15 September 2013 01:57 said...

i am not able to access my pendrive.
Need help.

Ivan Low on 17 September 2013 21:37 said...

Where is the new folder created? I double clicked but a window popped up and disappeared in an instant and nothing happened.

arvind iyer on 18 September 2013 08:29 said...

hey AKSHAY plzz help mee folder is created nd even it is hidden but when i open lock.bat it DOESN'T ask for any password plllllllllllz help

arvind iyer on 18 September 2013 08:33 said...

hey AKSHAY plzz help mee folder is created nd even it is hidden but when i open lock.bat it DOESN'T ask for any password plllllllllllz help

Dinesh Verma on 23 September 2013 02:57 said...

nice it is very cool trek and use full itom

Anuj kaushik on 25 September 2013 23:18 said...

Your contents are more then help for me.
free web directory Canada

shri on 26 September 2013 22:52 said...

how to change password

Khalid M on 28 September 2013 12:15 said...

not working its simple dull

Khalid M on 28 September 2013 12:15 said...

it cant make a folder ....my folder

Mayuresh Pitale on 2 October 2013 07:18 said...

Superb trick. I really loved it. And ya Bookmarked you.
Rare coin collection

Lovepreet Birdi on 2 October 2013 22:59 said...

but the protected data is accessible by searching

Binod Bhurtyal on 5 October 2013 03:09 said...

Tenx man Keep It Up :)

Subramanian on 5 October 2013 05:36 said...

hey aftr lock,it opening without asking passwrd man wat can i do....????

mani on 16 October 2013 08:43 said...

hw can i view that folder again rply me ,i like this trick....................

munesh munivenkatappa on 16 October 2013 23:36 said...

I'm having names but i need their phone numbers, how can we do it?

mr.madhan druce on 20 October 2013 04:49 said...

HOW TO EARN MONEY THROUGH BLOG PLS HELP ME

new hacker on 31 October 2013 14:48 said...

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
pause
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==password 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
pause
goto End
:End


try this it is fixed

srnath on 1 November 2013 09:06 said...

Your folder can be viewed under locked & hidden condition:-
Procedure:- (Win XP) Go to control panel > folder option > view > hidden files and folders.
Now, select:-
"show hidden files And folders",
and unchecke:-
"Hide extensions for known file types"
and "Hide protected system files"
> apply to all folders > apply > OK.
If necessary, restart your computer.
Now go to the window where the "lock.bat" file you placed. You will find a folder named "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}".
Delete at least any one character from the file extension "{21EC2020-3AEA-1069-A2DD-08002B30309D}". Open and get your lost/hidden folder !!!
In this "folder option" condition you can hide/unhide/protect any of your folder by giving the following extensions (there are many, some are given):-
H. E. for Folders:-
RecycleBin2.{645FF040-5081-101B-9F08-00AA002F954E}

Control panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}

Task.{d6277990-4c6a-11cf-8d87-00aa0060f5bf}

Downloaded Program.{88C6C381-2E85-11d0-94DE-444553540000}

Explorer.{BD84B380-8CA2-1069-AB1D-08000948F534}

Internet Explorer.{871C5380-42A0-1069-A2EA-08002B30309D}

H. E. for Files:-
file name.mad (i.e. video.mad photo.mad etc.)*
Do not forget to reverse the "folder option" to default.
CAUTION:- do not try these extensions to operating system files/ folders, otherwise your computer will become unstable.

fmancop on 5 November 2013 17:22 said...

Can you teach me how to create an FUD keylogger, I will pay for it if it works. Email me shamelon69@gmail.com

ks yadhu on 10 November 2013 19:55 said...

will this work on windows 8

Pavan Makadia on 14 November 2013 02:02 said...

cool tricks.....
i like it........

Alfred Panakkal on 15 November 2013 11:21 said...

does this support in win 8

diya mukherjee on 16 November 2013 23:33 said...

if the batch file dlt, whn I lock my data then wat I will do....???

Aaditya Aadi on 19 November 2013 02:36 said...

Not good...

imran khan on 22 November 2013 07:45 said...

hey AKSHAY plz help me folder is created and even it is hidden but when i open lock.bat it ask password i have entered the password but it DOESN'T show my hidden folder plz help me

keerthi navi on 24 November 2013 10:11 said...

Hey it is not working in my system. I can access that Myfolder which has been generated without any password

pakfun.org on 26 November 2013 03:03 said...

Nice Tricks.. Thanks For Sharing,,,,

kashifarain.com on 26 November 2013 03:07 said...

Great... Its working dear. Thanks for Sharing :)

david kumar on 29 November 2013 05:45 said...

its not working dear;;;;; give some idea pls
its very very intresting

david kumar on 1 December 2013 03:16 said...

nice trick i wanna more triks

david kumar on 1 December 2013 03:17 said...

how to hack the gmail account pls

shreya zarkar on 11 December 2013 10:29 said...

on double clicking on lock.bat folder..new folder z not created

shreya zarkar on 11 December 2013 10:39 said...

on double clicking on lock.bat folder..new folder z not created

Barunava Sikdar on 23 December 2013 07:28 said...

the folder created but after hiding it.it hides permanently.no cmd window open on double clicking on that batch file.... :|

rakesh singh on 25 December 2013 10:16 said...

amazing....

Mark Newton on 26 December 2013 17:43 said...

I am using this software to protect my secret folders:
http://download.cnet.com/Protect-My-Folders/3000-2144_4-75999151.html

It should be more secure than your trick, I think.

Md.Shofiur Rahman on 4 January 2014 19:47 said...

Free Computer Support and Help & Online PC Help Forums for beginners to experts alike.
Simple, free and reliable computer support ..... Free PC Help

amol sangle on 7 January 2014 01:24 said...

wow .... amaZing

amol sangle on 7 January 2014 01:25 said...

wow .... amaZing

amol sangle on 7 January 2014 01:25 said...

wow .... amaZing

Md.Shofiur Rahman on 18 January 2014 18:18 said...

This was pretty good and helpful post.Before i read this blog. Free PC Help . Free Computer Support and Help & Online PC Help Forums for beginners to experts alike.
Simple, free and reliable computer,Tablets & Smart Phones Computer Security support.

ANUJ LADIA on 25 January 2014 01:33 said...

not satsfied
once you search for the files it is viewed and you can easily open the file.
like i hid my .doc file in the folder and when i searched for it in the SEARCH then the file came infront of me.
hence the file is still not protected enough.
itis just good enough as hidden file.

David Cardona on 28 January 2014 15:40 said...

You can also hide the .bat file after if you want using command prompt no one will ever find it http://www.wikihow.com/Completely-Hide-a-File-or-Folder

Salman Pathan on 6 March 2014 01:53 said...

Good

Salman Pathan on 6 March 2014 01:59 said...

good

NISHIKANT TAYADE on 19 March 2014 03:46 said...

heyyyy thats cool..but i wannt to know its meanning..and how can i apply this to create soe another?basically i want to learn that programming..plzzz

Tribhuwan Phulera on 26 March 2014 10:42 said...

thanks uploder thats a cooool trick i use this trick for saving my important files

Naren Kumar on 18 April 2014 02:16 said...

when i am insert my pendrive another computer i got a small problem with this file i cant access my data from hidden folder it shows empty

Sirji on 23 April 2014 03:24 said...

Hqwiki.com

PeonTv.com

NetphoneTv.com

NewTvmovies.com

Watchlivechat.com
;

Luneta Wanda on 27 April 2014 06:42 said...

Nice Tricks.. Thanks For Sharing,,,
foto payudara

Ankur Tarafder on 3 May 2014 03:11 said...

awsme bro.......keep it onnnn

rakesh singh on 9 May 2014 10:19 said...

easy method to lock file/folder
www.techamongus.blogspot.com

Jason Brown on 11 May 2014 20:47 said...

Password Protect Any Folder Without Any Software, It's really work. Thanks for sharing this method to password protect folders windows

sophy on 11 May 2014 20:50 said...

Good free way to password protect folder.
<a href="http://www.iappflow.com>iappflow</a>

sophy on 11 May 2014 20:51 said...

Good free way to password protect folder.
iappflow

Lora Moran on 21 May 2014 02:20 said...

Batch file solution can only used to protect common files, for it only helps hide files on computer. For more important and sensitive files, using file encryption software is better. Folder Protector(http://www.kakasoft.com/folder-protect/) is such kind of software that can encrypt files on computer or on external hard drive.

Jason Walcott on 1 June 2014 22:22 said...

Go to --> folder options --> show hidden files and folders --> bam! there you see it unsecured and can be edited without running the batch file.

Rodrigo Juerva on 6 June 2014 13:55 said...

I use this for all my porn and it works great. No one will see my collection! =D

Rodrigo Juerva on 6 June 2014 13:55 said...

I use this for all my porn and it works great. No one will see my collection! =D

Casandra Mihaela on 7 June 2014 05:52 said...

wao so funny prank hahaha 1 boy date with his friend hahahaha

Look At this boy .... having fun with alots of girls

Simple Date Boy With Boy In FriendShip

you also like this game
How to Hide Facebook Name invisible Empty 2014 Easily Steps For Any One

Crazy Cars Hit The Road Game For Pc Laptop

Fire & overlook: The last Assault Full Version Game Free Download pc Or Laptop

THE KING OF Fighters VERSIONS 2013 FREE DOWNLOAD Pc Or Laptop

Tekken Tag Tournament PC Or Laptop Game Full Version Free Download

Subas Ngarden on 8 June 2014 20:32 said...

Wel..........thanks for to all, its works perfect in win8............but the weakness is...while unlocking the secured folder, the password is visible, So, cant that password "COOLHACKS" password be unreadable, while typing the password ???

Junglee Bili on 8 June 2014 23:26 said...

on clicking it, it makes a new folder but no command promp is opened

Asif Ali on 14 June 2014 04:36 said...

You can also Read Related below Post

How to Password Protect File or Folder using Winrar - Visit Below Post Link

http://www.kingtricks.com/password-protect-file-folder-using-winrar/

Girish Garg on 21 June 2014 00:31 said...

Thanks a lot for your post, but on unlocking, the password is visible that is a major weakness of the trick. Can u hide it or make it unreadable.

Sachin Saraswat on 21 June 2014 08:26 said...

this is not working for windows 8.the new folder 'MY FOLDER' is not created after double click..please help me if u have any solution.

AjAy Basava on 22 June 2014 08:47 said...

and the worst thins is any one can delete the .bat file ....!!!

seo earning on 27 June 2014 02:48 said...

click below link For Folder Lock 7.3.0 Final

Folder Lock 7.3.0 Final Full Version

Casandra Mihaela on 27 June 2014 06:07 said...

wao so funny prank hahaha 1 boy date with his friend hahahaha
Simple Date Boy With Boy In FriendShip

Online friend ships and dating point
Online Friendship Corner

Ayesha Khan Ashi From Karachi

How to Hide Facebook Name invisible Empty 2014 Easily Steps For Any One

HOW TO Choose Single Name In Facebook Or Remove Middle And Last Name

Two beautiful girls pranks on sea

Boys prank with girls just for...........

Most funny sea prank with girls and boys

world-cup-cricket-pc-game-20-20-pc-game

Tekken 5 Game Full Version for PC Or Laptop Free Download

Tekken Tag Tournament PC Or Laptop Game Full Version Free Download

Crazy Cars Hit The Road Game For Pc Laptop

Manx TT Super Bike PC Or Laptop Game Full Version Free Download

Earnest Holmes on 3 July 2014 10:27 said...

fileice bypass survey
cleanfiles downloader

Rahul Negi on 20 July 2014 05:51 said...

Cool trick to hide windows folder using batch file
How to lock windows file using batch file

akshit on 21 July 2014 04:35 said...

it is just hiding the folder, you can access that folder without entering the password

Click Here To add Comment

Post a Comment

Newer Posts Newer Posts