Monday 8 May 2017

Windows 10 feature: How to lock folder




Having and keeping private files private in our computer is something we'd all like to do. Luckily for us, with Windows 10, you can comfortably hide our Kingsman plans or files in a secret folder that is password protected, and you can do it without buying a third party software.

This is how to create a folder that you can fill with files you want to keep secret, lock it, open it and repeat.

1. Open the folder you want to protect the contents, then right click inside and select new ( the location of the folder is not relevant). See screenshot.







2. Click on "Text Document" in the new sub-menu.. See screenshot.






3. Tap the ENTER key, note that the name of the Text Document is irrelevant and you have the option of deleting once you have successfully created your lockable folder. See screenshot.






4. Open the Text Document file by double clicking on it then copy and paste the code.




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%==Replace_with_your_password 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

5. Locate where the code says "Replace_with_your_password" and type your password instead.




6. Replace with the password you want to use to lock the folder.




7. Open the file Menu and select "Save As"



8. Click on the text document(*.txt) file next to Save as type and Select "All Files"




9. Change the file name to FolderLocker.bat and click Save






10. Double click on the Folderlocker which will generate a "Lock" folder





11. Move files you want to protect into the Locker folder.



12. Double click on the Folderlocker again, this time to lock, a cmd like screen pops up,
      asking for a confirmation to lock the folder, Enter Y for 'yes' and all your kingsman          
      secrets are ducked away from preying eyes.



13. To unlock double click on the Folderlocker and another CMD like screen pops up asking 
       for password confirmation, Enter the password you used in the code.












No comments:

Post a Comment