Folder - Lock with a Password without Any Software

   Information
This will show you how to be able to lock and unlock a folder with a password in Windows 7 without having to use any 3rd party software.


Here's How:

1. Create a new folder ( name it as you like ):

2. Inside this folder make a ( TXT ) file & open it.

3. Copy and paste this code inside the New Text Document:

Code:
Quote:
Quote: 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 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. After u copy the Commanding go to the bold words (or try using shortcut- CTRL+F and type password to locate the line) u will find this word : password here (Change it with any password u like.) is :
if NOT %pass%== example1234 goto FAIL

//so your password here becomes example1234 .//
5. After that go to Save as… & name this file as “locker.bat “. Be sure to change the “Save as type” from “text” to “All Files” :

6. Now back to the folder & u will find a ( LOCKER ) commanding (locker.bat). Double Click on it & u will find a new folder (Private ):

7. Now copy what u want in this “private Folder” & after that come out of the folder, and Double click on locker again. It will open and ask if you want to lock your folder? Y/N ?

8. Type Y. your private folder will disappear.

9. If you want to UNLOCK your folder ,go to (locker) & type your pass and you will see your private folder.

10. Enter the password and hit “Enter”.


   Note

It not only hides the folder, but hide all files… and try opening it without entering password, it will take you to the control panel.

Also, if u want to store files on your Pen-Drive, u can use this script. No Software Required.

In case u delete your Locker file (just in case), then u can make a new one (but with the same password) and open it from that.

Alternatively, u can keep this locker file somewhere else, and when u want to open ur folder, only then bring it back to that place.



Read more: This tutorial shows how to Lock and hide a Folder with a password without using any Software. | Windows 7, Wordpress,Tips, Tricks, SEO, Computer, Tutorials, Software Downloads, Themes, Wallpapers
Under Creative Commons License: Attribution Non-Commercial No Derivatives
Original source: The Customize Windows
 
Last edited by a moderator:
Doesn't work at all here.
Does not work for me neither. After locking it, I get a generic file visible within the first folder which houses the private folder. The private folder is still there and opens without a prompt for password
 

My Computer My Computer

Computer Manufacturer/Model Number
Averatec 6130HS-20
OS
Windows 7 Professional 32-bit (6.1, Build 7600)
CPU
Intel(R) Pentium(R) 4 3.00 GHz HT
Memory
2.0 GB
Graphics Card(s)
ATI Mobility Radeon 9600 64MB
Sound Card
Realtek AC'97 Audio
Screen Resolution
1280 x 800
Hard Drives
Seagate 96023A 60GB 7200RPM -
Seagate FreeAgentDesktop 250GB
Cooling
20 Inch Box Fan
Mouse
Targus PAWM10 Wireless Optical Laptop Mouse
Not working

Doesnt work at all. I press Y but the private folder is still visible and it doesnt ask for any password :(
 

My Computer My Computer

OS
Windows 7 Home Premium 64 bit
Memory
4 Gb
Hard Drives
500 HDD
Unable to make folder locker for windows 7

Dear Sir,
I'm unable to make folder locker without any software for windows 7 Because I'm complete your all step successfully but when i double click on locker 1st time then make a private folder then copy my file in this folder when 2nd time double click on locker then press Y and then make another file which name " ö " so this locker not work now what can i do.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP PAVILION DV4 Laptop
OS
Windowd 7 Home Premium 64 bit
CPU
Intel Core 2 DUO
Motherboard
Intel
Memory
DDR 3 4GB
Graphics Card(s)
ON Board
Sound Card
On Board
Monitor(s) Displays
LCD
Hard Drives
320 GB
This trick now needs a bit modification for Windows 7 SP1 + latest updates.

I do not check this or any other forum (s) regularly anymore due to lack of time, nothing else.

I'll try to resolve any problem.

Thank you.
 
Last edited by a moderator:

My Computer My Computer

Computer Manufacturer/Model Number
COMPAQ Presario Laptop
OS
Windows 7 Ultimate 64 bit, Mac OS X 10.6
CPU
Intel Pentium Dual Core @2.0GHz
Motherboard
Compaq Generic
Memory
12GB
Graphics Card(s)
NVIDIA Graphics For Mobile 512MB VRAM
Sound Card
IDT High definition Audio
Monitor(s) Displays
Laptop LCD Display
Screen Resolution
1280*800 Bright View Widescreen
Hard Drives
500 GB Primary Master@7200rpm + 1 TB External HDD
Cooling
Direct ; generic fan
Keyboard
Generic Laptop Keyboard
Mouse
Touch Pad
Internet Speed
3.1 Mbps wireless Broadband
Other Info
Generic Dock
Thanks you.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Precision T3500
OS
Windows 7 Professional x64
Memory
12.0Gb
Screen Resolution
1680 x 1050
Internet Speed
100Mb/s
Lock with a Password without Any Software

I followed all the steps but when I enter "Y" and hit enter the privet folder doesn't disappear.
please guide me.
 

My Computer My Computer

OS
Windows 7 Ultimate 32 bit
Back
Top