Connect with us

Hi, what are you looking for?

My Tech Quest

Interesting

How to Create Password-Protected Folder in Windows XP without any Software?3 min read

In my previous blog entry on how to hide your folder without any software, several readers commented that the so-called “invisible folder” can be easily make visible if you unchecked the “hide protected operating system files” in the folder options and once visible, anyone can access the folder with ease.

Now, I want to show you a better windows XP’s trick which I learned it from Digital Quest. Still, you will learn how to create an invisible folder but now with security protection. You will need to provide password to reveal and open your folder. You will do this without using any software.

If you are interested, just follow the instructions below.

  1. Copy and paste the following code into Notepad.
  2. 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

  3. Save the file as secret.bat ( or whatever name that you prefer but make sure the file end with .bat extension )
  4. Move secret.bat batch file to the directory that you want to create your protected folder.
  5. Run the batch file by double-clicking it. A folder with the name “Personal” will be created.
  6. Now, you can insert any file into the folder.
  7. To lock the folder, you need to run the batch file again. A command prompt will pop up and asked whether you want to lock the folder. Key in ‘Y’ (for Yes) and hit Enter. Your folder becomes invisible.
  8. Create Password Protected Folder Without Any Software

  9. To unlock the folder, run the batch file. You will be prompted to enter the password. Enter the password (default = pwd123 ), hit enter. The folder appears.
  10. Create Password Protected Folder Without Any Software

You can change the name of the password-protected folder. You need to edit the batch file before you run the batch file for the first time, replace the word “Personal” with your desired name. There is a total of 6 words to replace. If you don’t prefer the default password, change the “pwd123” with your desired password.

Note : Anyone can open the batch file and view your password. For precaution, you might want to keep the batch file on separate directory or on pen drive. When you want to open the password-protected folder, you can copy the batch file to the location where you keep the protected folder and run it.

Comments

You May Also Like

Blogging

I guess you must have noticed the “Incoming Search Terms” section on My Tech Quest. Look at the screenshot below. 🙂 A few days...

Gadget

This is a guest post by Joe Linford. If you would like to contribute too, please leave us a message via the contact us page....

Local Tech News

To accelerate progress in the 1BestariNet Program, YTL Communications has partnered with Intel Malaysia to introduce Intel-based integrated 4G LTE laptop and tablet solutions supporting...

Android

In Grammarly Editor, you can view suggested synonyms of words that you just typed in your text. Now, the same feature has been added...

Advertisement

Trending