How to Hide or Password Protect a Folder in Windows 10

We all have things we wish to hide on our computers, especially if we share it with other people like members or co-workers. Whether its business or company secrets, personal photos or naughty movies you don’t want your mom to see we all have things we need to keep private. Luckily for us, we can hide those risque files in password-protect folders in Windows 10.

Here’s how you can create a locked folder which you can fill with private pics, files, documents and anything else you want to keep safely hidden away under lock and key.

How to create a password protected folder in Windows 10.

  1. First, enter the folder you want to lock and right click it with your mouse. The folder you want to hide can be located anywhere, even on your desktop.
  2. Find “New” in the drop-down menu and click on it.
  3. Select “Text Document”.
  4. Press “Enter”. Choose a name for the document. It doesn’t really matter what name you’ll choose as you’ll likely delete it once the folder has been successfully locked.
  5. Double click on the document or hit “Enter” to open it.
  6. Copy and paste the following text into the document:

    cls
    @ECHO OFF
    title Folder Locker
    if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
    if NOT EXIST Locker 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 Locker “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%==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
    :FAIL
    echo Invalid password
    goto end
    :MDLOCKER
    md Locker
    echo Locker created successfully
    goto End
    :End

  7. Locate the segment which says “Your-Password-Here” in the text document.
  8. Delete “Your-Password-Here” and enter the password you want to use to lock your folder.
  9. Click on File and choose “Select Save As…”
  10. Select “Text Documents (*.txt)”.
  11. Then choose “All Files” when prompted.
  12. Rename the filename to “FolderLocker.bat“.
  13. Press “Save”.
  14. Press “Enter” or double-click “FolderLocker”.
  15. The Locker folder has been created!
  16. Now you will have to put the files you want to hide in the Locker folder.
  17. Enter the “FolderLocker” file. We need to lock it shut.
  18. Type “Y” in the window.
  19. Press “Enter” and the window will close and disappear along with the Locker folder itself and everything you put in it.
  20. To open the locked folder, double-click on “FolderLocker” to open it again.
  21. Type the password you wrote in earlier, and hit “Enter”.

After completing the last steps above you will have brought back the locked folder. If you want to hide it again follow the locking steps again.

The post How to Hide or Password Protect a Folder in Windows 10 appeared first on Cyclonis.

Comments

comments

Inline
Show some LOVE and Like us
Inline
Show some LOVE and Like us