You are on page 1of 10

Simple Help Common Questions, Simple Answers

How to create a Password Protected Folder in Windows 7


by Hammad on November 29, 2010

Download Password Manager


www.roboform.com Remembers Passwords. One-Click Form Filling, Seach, and More. 5 Stars!

Share Tw eet

535 76 38 24

Share Share

15 178K

This tutorial will guide you through the steps required to create a locked folder in Windows 7 without installing any additional 3rd party software. While the steps below will guide you in creating a hidden and password protected folder, this method is not 100% secure. It will deter the average computer user enough, but an advanced user will be able to access the contents of this folder. If you want to create a truly secure and encrypted place to store files and folders that absolutely nobody will ever be able to access, see the tutorial How to Securely Store Files in Windows. 1. Create a new folder and name it whatever you would like.

2. Open the folder, right-click on a blank area in it, then select New -> Text Document from the pop-up menu.

3. Open the text file you just created by double-clicking it and copy/paste in the following text: cls @ECHO OFF

title Folder Private if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Private goto MDLOCKER :CONFIRM echo Are you sure you 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 Private "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%== PASSWORD_GOES_HERE goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :End 4. In the above code, replace the key PASSWORD_GOES_HERE with the password you want to use to unlock the folder. For example if you want the password to be 123456, the line should look like: if NOT %pass%== 123456 goto FAIL 5. Save your new file in the .bat format with the complete file name being locker.bat. To do this, make sure to change the Save as type: to All Files (*.*).

click to enlarge 6. In the folder you created back in Step #1, double click the locker.bat file and there will now be a new folder named Private where you can put anything you want.

7. Upon exiting, double click the locker.bat file again. It will prompt you to answer whether you want to lock your folder or not. Press Y and the private folder will disappear.

click to enlarge 8. In order to retrieve the Private folder, all you have to do is double click the locker.bat file and enter the password which you set in Step #4 and the folder will appear again for you to access.

click to enlarge 9. Thats it! Source code: social.microsoft.com

Download Free Software 20 Hotels in Abu Dhabi Software Virtualization Free DNS Hosting
dns.he.net Dual Stack: IPv6 and IPv4 Includes Dynamic DNS Support
Share Share Share Tw eet
535 76 38 24 15 178K

708 comments Join the discussion


Newest Simple Help Share

35

Login

Nathan Flynn

7 days ago

l o c k e df i l e wo r k s g r e a t , e a s yt oc r e a t e a n du s e . t h a n k s

Reply Share

vivek rathore

11 days ago

e v e r y o n e u n l o c k t h i s f o l d e r E a s l e y
Reply Share

Aftab

12 days ago

h e yf r i e n d s . . . I t s n o t u s e l e s s , b e c a u s e y o uc a nu s e s e c u r i t yo nl o c k e r . b a t t oa v o i d y o u r p a s s w o r d f r o mb e i n g c h a n g e db y a n y o n e e l s e , A n d n o o n e c a n a c c e s s t h e p r i v a t e f o l d e r f r o mf o l d e r o p t i o n . . . . . ( a f t a b a h ma d 1 6 9 4 @g ma i l . c o m)
2 unknown

Reply Share

12 days ago

h o wt o a c c e s s t h e f i l e i f y o uf o r g e t t h e p a s s wo r d
Reply Share

Thomas

unknown 4 hours ago


Reply Share

o p e nt h e l o c k e r . b a t a n dr e a dt h e p a s s wo r d t h a t y o us e t . j u s t l i k e a n y o n e e l s e c a n . T h i s p r o c e s s i s n o t v e r y s e c u r e a t a l l .

andros

13 days ago
Reply Share

h o wt o d o w n l o a dt h i s t h i n g ? o r y o uc a nma k e i t b yy o u r s e l f ?

Alan

13 days ago
Reply Share

i t j u s t c h a n g e s t h e n a me o f t h e f i l e f o r me

Dan

15 days ago

J u s t b a c ke v e r y t h i n gu po na ne x t e r n a l d r i v e a n d w h a t e v e r d a t a y o uh a v e l e f t o nt h e c o mp u t e r a r c h i v e i t w i t hWi n R A Ra n d s e t a p a s s w o r d . . b o o m, p r o b l e ms o l v e d !
Reply Share

Chris

16 days ago
Reply Share

Wh a t h a p p e n s i f I f o r g e t t h e p a s s s wo r d ? I s t h e r e a n y w a y I c a na c c e s s t h e f o l d e r a g a i n ?

yongis

16 days ago

a c t u a l l y , y o u r f o l d e r wa s j u s t h i d d e n( a s i t b e c a me a s y s t e mf o l d e r ) . y o uc a ns t i l l v i e wi t b yg o i n gt o : c o n t r o l p a n e l > f o l d e r o p t i o n s > v i e wt a b > c l i c k" S h o wh i d d e nf i l e s . . > u n c h e c k " Hi d e e x t e n s i o n s . . > u n c h e c k" H i d e p r o t e c t e d o p e r a t i n g s y s t e mf i l e . " . y o uc a nn o wv i e wy o u r f o l d e r b u t i t ' s f o l d e r n a me i s C o n t r o l P a n e l . { 2 1 E C 2 0 2 0 3 A E A 1 0 6 9 A 2 D D 0 8 0 0 2 B 3 0 3 0 9 D } . v i o l a ! a n y o n e c a nn o wa c c e s s y o u r f o l d e r .
Reply Share

yongis

yongis 16 days ago

i f y o ua r e u s i n gwi n d o ws 7 , g ot o : c o n t r o l p a n e l ( V i e wb y : L a r g e i c o n s o r S ma l l i c o n s t o e a s i l y f i n d " F o l d e r O p t i o n s " ) > f o l d e r o p t i o n s > v i e wt a b > c l i c k " S h o wh i d d e n f i l e s . . > u n c h e c k" Hi d e e x t e n s i o n s . . > u n c h e c k" H i d e p r o t e c t e do p e r a t i n gs y s t e mf i l e . " .
Reply Share

James

16 days ago
Reply Share

T HA N KY OU S OO MUC H! !

Aja

18 days ago
Reply Share

I k n e wt h e r e h a dt o b e awa yt od ot h i s ! t h a n ky o u , v e r yh e l p f u l : )

zafar 4

19 days ago
Reply Share

V e r yn i c e d e a r b u t i f s o me o n e d e l e t e t h a t l o c kf i l e t h e n? ? ? ? ? ? ? ? ? ? ? ? w h e r e i s o u r l o c k f o l d e r a n d c a nwe o p e nt h a t

Thomas

zafar 4 hours ago

T h a t i s t h e o t h e r i s s u e . T h e ni t wo u l dj u s t b e ama t t e r o f c r e a t i n g a n o t h e r b a t f i l e . s i n c e t h e p a s s wo r di s s e t i nt h e b a t f i l e i t d o e s n ' t ma t t e r t h a t y o uh a v e t o r e c r e a t e t h e f i l e .
Reply Share

maneesha

21 days ago

t h e b a t f i l e a s k i n g p a s s wo r d b u t t h e p r i v a t e f o l d e r w h i c hmyf i l e s a r e t h e r e i s s h o wi n g o u t a l l myf i l e s w h e nc l i c k i n g o nt h a t f i l e h o wi s i t p o s s i b l e ?
Reply Share

Krishna Varshney

maneesha 19 days ago

mi s s . i t i s t o oe a s ywh e nus a v e d a t ai np r i v a t e f o l d e r t h e nuc l i c kl o c k e r o r t y p e y t h e ny o u r p r i v a t e f o l d e r w i l l a u t o ma t i c a l l y l o c k e d . . . .


Reply Share

Unknow

23 days ago

e l s e uc a nu s e t t r u e c r y p t a n do nt o po f i t i t ' s f r e e : 3
Reply Share

Hamza

24 days ago

N y c . . .
Reply Share

biren

25 days ago
Reply Share

g o o dn i c e r a r a

Krishna moorthy 1 akash

a month ago

I t s w o r k i n gf i n e . . . I s t h e r e a n ywa yt oc h a n g e t h e p a s s w o r d ?
Reply Share

a month ago
Reply Share

s o me p r o b l e mi nt h i s me t h o d . a n y o n e c a nd e l e t e . b a t f i l e

Matt

akash a month ago


Reply Share

a n d y o uo n l yn e e d t os h o wh i d d e nf o l d e r s t o s e e t h e p r i v a t e f o l d e r

salah

a month ago
Reply Share

t h a n k s , s omu c h

Ahasn

a month ago
Reply Share

b y u s i n gt h i s me t h o de v e r yo n e c a ns e e o u r p a s s w o r d . . .

salah

Ahasn a month ago


Reply Share

y o uc a nh i d e t h e b a t f i l e a n ds h o wi t , i ' mt r i e d t h a t a n d i t i s w o r k e d

Dik

salah 21 days ago


Reply Share

Y o uc a nd e l e t e t e x t d o c

Pravin Rakhewar

a month ago

I f i f o r g e t myp a s s wo r d t h e n , h o wt or e s e t p a s s wo r d . . . . ? ? p l z h e l p
Reply Share

Devin Heart

Pravin Rakhewar a month ago

Y o uc a ne d i t y o u r b a t f i l e . J u s t r i g h t c l i c ka n d p r e s s e d i t ,
Reply Share

Pravin Rakhewar

a month ago

V e r yu s e f u l l t h a n x . . . . . . . . . . . . .
Reply Share

bob 1

a month ago
Reply Share

My f o l d e r d o e s n ' t e v e nd i s a p p e a r i t j u s t c h a n g e s t h e n a me o f t h e f o l d e r .

harsha

a month ago
Reply Share

I t s u s e l e s s . . T h e f o l d e r ' s j u s t h i d d e n !

smeds1

harsha a month ago


Reply Share

D o y o ul o o kf o r t h i n g s y o ud o n ' t k n o we x i s t ? I f s o me o n e d o e s n ' t k n o wt h e d i s a p p e a r i n gf o l d e r e x i s t s , w h y wo u l d t h e yl o o k f o r i t ?

Devin Heart

harsha a month ago

E x a c t l y , t h e nt h a t o n e g u ywh oa l wa y s u s e s y o u r c o mp u t e r c a n t f i n di t . U n l e s s h e i s e x p e r i e n c e d . . .
Reply Share

maneendra

harsha a month ago

h a r s h a d i dy o ut r i e de v e no n e s . . o r y o uh a v e a d d i c t e d t o s a y a n y t h i n g s
Reply Share

chris kava

a month ago

i t ' s g o o db u t i t i s n ' t v e r ys a f e b e c a u s e y o uc a nf i n dt h e p a s s wo r de a s y
Reply Share

Austin Harlan

a month ago

E V E R Y O NEI J U S TS OL V E DT HEP R O B L E M! ! ! ! ! A F T E RY O UF I NI S HA L LT HES T E P S A NDH A V EY OU RL O C K E RF I L ER I GH T C L I C KI TA N DGO T OE D I T , D E L E T EY OURP A S S WO R DA N DS A V ET HEF I L E ! ! ! ! ! ! ! ! ! ! ! T H E NI FT HE YT R YT OL O O KA T Y O URP A S S WOR DB YGO I NG T OE D I TT HA YC A N TS E EI T ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! t e l l me h o wi t w o r k e d f o r y o ub e e ma i l i n g me a t h a r l a a p @g ma i l . c o mo r l i k e me o nf a c e b o o ko r y o u t u b e
6
Reply Share

Ali Raza Ghori

Austin Harlan 17 days ago

I f we r e mo v e o u r p a s s wo r df r o ml o c k e r . b a t f i l e t h e na n yo n e w h o c a na c c e s s t h a t f i l e a n d c a ne d i t l o c k e r . b a t f i l e w i t hn e w p a s s wo r d a n dc a na c c e s s d a t a .
Reply Share

Austin Harlan

a month ago

c a na n y o n e t e l l me p l e a s e o nh o wt o b a no r k e e pt h e e d i t b u t t i o na w a y ! ! ! ! ! ! b e c a u s e i mv e r ys t r i c t wi t hmys t u f f s . p l e a s e e ma i l me a t h a r l a a p @g ma i l . c o mt oa wa wa w a ws al o l s
Reply Share

Eddie Salvatus

2 months ago

A d v a n c e du s e r s c a ns t i l l a c c e s s y o u r f i l e s . . . I t i s j u s t h i d d e n ! L O L z
Reply Share

kavita

2 months ago

c a ni r e t r i e v e t h e d a t ai f i h a v e f o r g o t t e nt h e p a s s wo r d ? ma c t u a l l y i nb i g t r o u b l e . . . p l e a s e h e l pme o u t .

Reply Share

Vaibhav Falke

kavita 19 days ago

y e a huc a ne a s i l y. . . j u s t r i g h t c l i c ko nl o c k e r . b a t f i l e a n d t h e no ne d i t . T h e r e uc a ns e e y o u r p a s s wo r d wr i t t e n. I t h e l p s , t r yi t o u t . . .
Reply Share

Austin Harlan

kavita a month ago

y o us h o u l dt r yd e l e t i n gt h e l o c k e r . b a t a n dr e s t a r t i n g wi t ha n e wp a s s wo r dh o p e t h i s h e l p s : )
Reply Share

Milan Amarasinghe

2 months ago

t h a n k d e a r
Reply Share

Rohit Garg

2 months ago

T h i s i s No t Go d d ! ! ! ! ! ! ! ! ! Wh e nY o us a v e T h e F i l e . C l i c ko n. b a t F i l e a n dO p e nwi t hNo t e p a d a n d t h e nY o uE a s i l yC h a n g e t h e P a s s w o r d . S o I t ' s N o t Wo r kP r o p e r l y .


Reply Share

Seanypop

Rohit Garg 2 months ago

Ma k e t h e . b a t i n t oa. e x e t h e ni t wo n t b e a b l e t o b e e d i t e d
Reply Share

Raj

2 months ago

i t s j u s t av o g u s t r i c k , i f s o me o n e d e l e t e s y o u r f i l e o r c u t t h e l o c k e r . b a t f o l d e r t o s o me wh e r e e l s e , t h e nt h e wh o l e d a t a i ni t wi l l d e l e t e . S o , b e a wa r e o f i t . i t s b e t t e r t od o w n l o a d t h i r d p a r t ys o f t w a r e l i k e f o l d e r l o c k , e t c .
1 hafsa

Reply Share

2 months ago

w h e nf i r s t t i me i l o c k e d t h a t f o l d e r i t wa s l o c k e da n d i t wa s o p e n e dw h e ni w r o t e t h e p a s s w o r d b u t w h e nt h e s e c o n d t i me i t r i e d t o l o c k t h e f o l d e r i t w a s n o t l o c ka n dt h e e r r o r a c c u r e dt h a t t h e a c t i o ni s d e n i e d , c a ny o up l e a s e h e l p me t os o l v e t h i s p r o b l e m? ?
Reply Share

Umar Saeed

2 months ago

I t ' s a we s o me , b u t myq u e s t i o ni s t h i s i f y o us e c u r e t h e p e r s o n a l d a t aw i t hp a s s w o r d a n do f c o u r s e t h e d a t a w i l l b e h i d e e x p e c t l o c k e r . b a t f i l e , b u t i nmya b s e n c e i f s o me o n e d e l e t e t h e l o c k e r . b a t f i l e t h e n ? i s i t p o s s i b l e t o ma k e t h e r e s t r i c t i o no r u n a b l e t od e l e t e t h e l o c k e r . b a t f i l e b yo t h e r u s e r ? ? ?


Reply Share

C. K.

2 months ago

Y o uc a nma k e t h e . b a t f i l e ah i d d e nf i l e a n dt u r no f f t h e s h o wh i d d e nf i l e s a n d i t wi l l b e a ne mp t y f o l d e r t i l l y o un e e d s o me t h i n g i nt h e f o l d e r t h e n t u r ns h o wh i d d e nf i l e s b a c ko na g a i n .
1
Reply Share

Load more comments

ALSO ON SIMPLE HELP

WHAT'S THIS?

How to Add Emojis (emoticons) to Your Instagram Posts


1 comment 7 months ago

The Complete Guide: How to Dual Boot Ubuntu and Windows 8


18 comments 7 months ago

Sasha1378 S i mp l e a n d c l e a r . T h a n k s ! !

Shary My p r o b l e mi s w i t h S t e p 1 2 : Wh e n t h e c a v e a t b o x p o p s u p ,

i t c l a i ms t h a t t h e r e i s n o o t h e r O / S o n

How to Disable the Typing Sounds on Your iPhones Keyboard


2 comments a year ago

How to Stop Facebook From Beeping


11 comments 11 months ago

DavidS T h i s h e l p ( t h e t u t o r i a l ) t h a n k s ! 1

Pen Quin I g e t t h e b e e p b u t g e t a s f a r a s F a c e b o o k / v i e wa n d t h e n I

h a v e n o b o x t o u n t i c k s o u n d : (

Subscribe

Add Disqus to your site

Download Free Software


mobogenie.com/download-software Download Free PC Manager Software for Android. Download Now !

Search
Search Go Simple Help

6.051 people like Simple Help.

Simple Help on Google+

Simple Help

Categories
Bittorrent Blogging Blu-ray Boxee Cable Modems Chrome Eee PC Email Facebook Firefox Flip Video Gaming Giveaways and Contests Home Networking HP TouchPad Internet Explorer iPad iPod Kindle Links Linux Mac Mobile Phones Android BlackBerry iPhone Symbian Windows Mobile Multimedia Office Other Reviews Safari Screenshot Sims Security Smartwatches Pebble Twitter Web Design & Dev Windows Wireless

Bookmark via QR Code

What is this image? .

You might also like