Create Password For Folders In Windows XP Without Any Software
I myself love this trick I learned from my friend, creating password for folders in Windows XP. I know there are number of softwares out there serving the purpose but I could not find any thing where no software was used and here it is sharing with you guys. Trust me, it is not easily broken and you cannot get into the folder without giving the correct password. I love it =D
Now to begin with, you need to copy and paste the following code into your trusty notepad.
cls
@ECHO OFF
title Folder Personal
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Personal 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 Personal “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%==pwd123 HERE goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Personal
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Personal
echo Personal created successfully
goto End
:End
Now save the file ending with “.bat” e.g. name it folder.bat, but make sure that the file extension has to be “.bat” (without the quotes)
Once you are done saving the file, move this file to the folder you want to password protect and double click the folder.bat file, you copied. This will create a folder name “Personal”. Don’t get scared of being a virus or any spyware, it is fine, I have tried it and now I am sharing it with you, so you can trust me with that =)
Now, your folder is password protected and now you can place any files or folders you want to place so that unwanted people don’t get to find it.

Now, the locking folder part, for this, you need to run that “.bat” file again. This will open command prompt to pop up and will ask that if you want to lock this folder. Hit the “Y” key on your keyboard (for yes) and hit enter. This will make your folder invisible.

Now if you want to access that folder again, run the batch file. This will prompt you to enter the password, and default password is set to pwd123, so now you can enter it and hit enter, the folder will then appear.
If you want to change the name of that password protected folder, you need to edit the batch file by opening it in notepad before you run the batch file for the first time and now replace he word “Personal” with anything of your choice. And if you want to change the default password too, you can edit that too from batch file by entering your desired password in place of “pwd123” in the batch file. You can easily search and replace the text by opening the batch file again in your notepad.
Ohh… one more thing I want to add here… The batch file can be opened by anyone who uses or access this folder, to protect that, you might wonna copy that file to your flash drive or a separate location and when you want to open that password protected folder, you can easily copy that batch file to the location where you folder is and then run it.
Hope you enjoyed this post =)
Related posts:
- Create Password Protected Hard Drive Partition Earlier i told you guys on creating a pasword protected...
- Create Hidden Text Files Without Using Any Third Party Software Today, I found this really cool trick with which you...
- 20 Awesome Windows XP Tips Windows XP has been around for so many years and...
- Make an Image Your Password It is always difficult remember all the passwords of your...
- Make Password Protected Partition On USB Drive Today, I found out this amazing freeware with which you...
- 3 Cool Fake Viruses Its always fun making your friends freak out and does...
- Create or Resize Hard Drive Partition A lot of my friends ask me if there is...









