Introduction: Fun Way to Store Passwords in Windows 10

About: I like to rhyme all the time.

Hi, guys!

No more spending money on expensive password vaults!


1 x Windows 10 PC

Files (or passwords ) that you want to hide

Typing Skills


Oh, and before I forget, here is the code you will be needing:



title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK



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.



ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End


echo Enter password to Unlock folder

set/p "pass=>" if NOT %pass%==Your-Password-Here 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


echo Invalid password

goto end


md Locker

echo Locker created successfully

goto End


I take no credit for the code; all the code was taken from LaptopMag.


Copy-Paste the code and dump it into a .txt file. Change the Your-Password-Here value to the password you want. Then save as a .bat file...

If you want to change your password, then right-click the file and click "Edit". You can change the value.

Of course, there are main weaknesses in this.

  • If you lock the locker, then move the .bat file to Google Drive, then your locker files disappear forever.
  • A nasty guy could right-click the file, edit the master password, and have access to your files.
  • If the computer goes bad, you'll never get your passwords back. In other words, no sync.

We could, however, prevent people from changing/viewing the master-password by converting the .bat file to a .exe file.

Three Ingredient Challenge

Participated in the
Three Ingredient Challenge