Password Protecting Folders in Windows 10

I’ve been looking around at ways to password protect folders on my machine without software and I found out that Windows 10 has features that allow for this. I thought it would be worth sharing this really cool way of protecting personal files on your Windows 10 machine with all our followers.

TEXT DOCUMENT”,”type”:”header-two”,”depth”:0,”inlineStyleRanges”:[{“offset”:46,”length”:20,”style”:”ITALIC”},{“offset”:46,”length”:20,”style”:”BOLD”}],”entityRanges”:[],”data”:{}},{“key”:”8heqn”,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:1}],”data”:{}},{“key”:”38iuu”,”text”:””,”type”:”ordered-list-item”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”9vk1f”,”text”:”Open the text document and enter the following text”,”type”:”header-two”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”9k3id”,”text”:”cls”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”91agm”,”text”:”@ECHO OFF”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”3e0ba”,”text”:”title Folder Locker”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”dopk3″,”text”:”if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”b2noo”,”text”:”if NOT EXIST Locker goto MDLOCKER”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”2v8sk”,”text”:”:CONFIRM”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”8d40r”,”text”:”echo Are you sure u want to Lock the folder(Y/N)”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”8vk13″,”text”:”set/p “cho=>””,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”dah73″,”text”:”if %cho%==Y goto LOCK”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”3olq7″,”text”:”if %cho%==y goto LOCK”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”fpfsd”,”text”:”if %cho%==n goto END”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”3vq0i”,”text”:”if %cho%==N goto END”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”2el4l”,”text”:”echo Invalid choice.”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”atqcu”,”text”:”goto CONFIRM”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”9pdje”,”text”:”:LOCK”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”bdc6r”,”text”:”ren Locker “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}””,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”63rck”,”text”:”attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}””,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”ivrn”,”text”:”echo Folder locked”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”3torp”,”text”:”goto End”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”bplbl”,”text”:”:UNLOCK”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”21mcp”,”text”:”echo Enter password to Unlock folder”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”26ol9″,”text”:”set/p “pass=>””,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”d93tm”,”text”:”if NOT %pass%==Your-Password-Here goto FAIL”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”72u4l”,”text”:”attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}””,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”bsiml”,”text”:”ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Locker”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”ccoge”,”text”:”echo Folder Unlocked successfully”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”7k74h”,”text”:”goto End”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”9ii7l”,”text”:”:FAIL”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”3gmij”,”text”:”echo Invalid password”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”d4ebt”,”text”:”goto end”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”116cq”,”text”:”:MDLOCKER”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”9b5ra”,”text”:”md Locker”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”ejipi”,”text”:”echo Locker created successfully”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”1hljj”,”text”:”goto End”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”c7kab”,”text”:”:End”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”d0ibd”,”text”:””,”type”:”ordered-list-item”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”8lein”,”text”:”Change the following within the text to your desired password: Your-Password-Here”,”type”:”header-two”,”depth”:0,”inlineStyleRanges”:[{“offset”:63,”length”:18,”style”:”ITALIC”},{“offset”:63,”length”:18,”style”:”BOLD”}],”entityRanges”:[],”data”:{}},{“key”:”dfkqm”,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:2}],”data”:{}},{“key”:”fnkat”,”text”:””,”type”:”ordered-list-item”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”ceiuu”,”text”:”Once you have set the password, click FILE -> SAVE AS and then as the image below shows, change the ‘Save as type:’ to ALL FILES and name the file: FolderLock.bat”,”type”:”header-two”,”depth”:0,”inlineStyleRanges”:[{“offset”:38,”length”:15,”style”:”ITALIC”},{“offset”:89,”length”:73,”style”:”ITALIC”}],”entityRanges”:[],”data”:{}},{“key”:”7pr3j”,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:3}],”data”:{}},{“key”:”9unrh”,”text”:””,”type”:”ordered-list-item”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”72ip7″,”text”:”Double-click on FolderLock and a folder called: Folder should appear as shown in the second image below”,”type”:”header-two”,”depth”:0,”inlineStyleRanges”:[{“offset”:16,”length”:10,”style”:”ITALIC”},{“offset”:48,”length”:6,”style”:”ITALIC”}],”entityRanges”:[],”data”:{}},{“key”:”5fs62″,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:4}],”data”:{}},{“key”:”bcv59″,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:5}],”data”:{}},{“key”:”d3ohq”,”text”:””,”type”:”ordered-list-item”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”97l4t”,”text”:”Move all you files/folders you want password protecting into the Locker folder”,”type”:”header-two”,”depth”:0,”inlineStyleRanges”:[{“offset”:65,”length”:6,”style”:”ITALIC”}],”entityRanges”:[],”data”:{}},{“key”:”937vf”,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:6}],”data”:{}},{“key”:”49q1n”,”text”:””,”type”:”ordered-list-item”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”2bjh7″,”text”:”Once you are happy with everything inside the Locker folder it is time to lock the folder. Double-click on the FolderLock file and you will be asked to confirm you want to lock the folder”,”type”:”header-two”,”depth”:0,”inlineStyleRanges”:[{“offset”:111,”length”:10,”style”:”ITALIC”}],”entityRanges”:[],”data”:{}},{“key”:”c5clp”,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:7}],”data”:{}},{“key”:”42fl0″,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:8}],”data”:{}},{“key”:”e7bue”,”text”:”Wolah…your folder is now locked and the only way to unlock this is to double-click on the FolderLock file where you will be asked to enter the password set for that specific file.”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”4q130″,”text”:”I found this to be a good semi-secure method of hiding your folders however, after some testing I found it is not 100% bullet proof. With the correct software an unauthorized user could unlock your folder by gaining access to your password, the screenshot below shows how I did it on a test folder.”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”f084e”,”text”:” “,”type”:”atomic”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[{“offset”:0,”length”:1,”key”:9}],”data”:{}},{“key”:”562gk”,”text”:”Using Notepad++ I was able to open the FolderLock file and expose the password…YES it was that simple. So although this method could be used if you find yourself forgetting your password, it can also be used if a bad actor has access to your device already. With that in mind it is probably worth setting the folder passwords to something other than the ones you use for your main accounts on a daily basis.”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[{“offset”:39,”length”:11,”style”:”ITALIC”},{“offset”:39,”length”:10,”style”:”BOLD”},{“offset”:79,”length”:3,”style”:”BOLD”}],”entityRanges”:[],”data”:{}},{“key”:”8gdst”,”text”:”And for those that were thinking about applying this method to multiple folders, you’ll be pleased to know that you can do this by using the same method. You can also use different passwords for each folder should you wish.”,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”25e8k”,”text”:” “,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”2aro6″,”text”:” “,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”c2gpr”,”text”:” “,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}},{“key”:”4jupa”,”text”:”#windows10passwordprotection #passwordprotectingfolders #windows10passwords #passwordprotectingfoldersinwindows10 #passwordprotection #privacy #windows10security #passwords #microsoft #protection #windows #windows10″,”type”:”unstyled”,”depth”:0,”inlineStyleRanges”:[],”entityRanges”:[],”data”:{}}],”entityMap”:{“0”:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_7ee0ebe90e9c43f7b20f8edc23063306~mv2.png”,”height”:271,”id”:”81c7d5_7ee0ebe90e9c43f7b20f8edc23063306~mv2.png”,”original_file_name”:”file0.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection.png?w=765&h=271″,”width”:765},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection”}}},”1″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_4da0d351b90e41878082ecf673d3342f~mv2.png”,”height”:539,”id”:”81c7d5_4da0d351b90e41878082ecf673d3342f~mv2.png”,”original_file_name”:”file1.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection2.png?w=852&h=539″,”width”:852},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection2″}}},”2″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_b8da6e5b833e41758b52df1444553ca9~mv2.png”,”height”:137,”id”:”81c7d5_b8da6e5b833e41758b52df1444553ca9~mv2.png”,”original_file_name”:”file2.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection3.png?w=595&h=137″,”width”:595},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection3″}}},”3″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_e8b393b8eee24a62a440ec7b17ec3e2b~mv2.png”,”height”:120,”id”:”81c7d5_e8b393b8eee24a62a440ec7b17ec3e2b~mv2.png”,”original_file_name”:”file3.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection4.png?w=663&h=120″,”width”:663},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection4″}}},”4″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_c818d4fcbf7a40ba851653c4c8882f7d~mv2.png”,”height”:301,”id”:”81c7d5_c818d4fcbf7a40ba851653c4c8882f7d~mv2.png”,”original_file_name”:”file4.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection5.png?w=800&h=301″,”width”:800},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection5″}}},”5″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_9e3f7f3a012a4d258adf3f44a99f8ce4~mv2.png”,”height”:280,”id”:”81c7d5_9e3f7f3a012a4d258adf3f44a99f8ce4~mv2.png”,”original_file_name”:”file5.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection6.png?w=687&h=280″,”width”:687},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection6″}}},”6″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_770cd9fe5a7145e1b0c58421fc4bec9f~mv2.png”,”height”:332,”id”:”81c7d5_770cd9fe5a7145e1b0c58421fc4bec9f~mv2.png”,”original_file_name”:”file6.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection7.png?w=828&h=332″,”width”:828},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection7″}}},”7″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_8648ce7d2be549d4b5f777ecb27a4e2c~mv2.png”,”height”:272,”id”:”81c7d5_8648ce7d2be549d4b5f777ecb27a4e2c~mv2.png”,”original_file_name”:”file7.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection8.png?w=761&h=272″,”width”:761},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection8″}}},”8″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_230b553277894167b807365510348fc9~mv2.png”,”height”:336,”id”:”81c7d5_230b553277894167b807365510348fc9~mv2.png”,”original_file_name”:”file8.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection9.png?w=636&h=426″,”width”:502},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection9″}}},”9″:{“type”:”wix-draft-plugin-image”,”mutability”:”IMMUTABLE”,”data”:{“src”:{“file_name”:”81c7d5_4a0aa58b5a784bdb92b03ddcfb84d46b~mv2.png”,”height”:663,”id”:”81c7d5_4a0aa58b5a784bdb92b03ddcfb84d46b~mv2.png”,”original_file_name”:”file9.jpg.png”,”fallback”:”https://wizkidblogs.files.wordpress.com/2016/12/passwordprotection10.png?w=820&h=663″,”width”:820},”config”:{“alignment”:””,”showDescription”:true,”showTitle”:true,”size”:”content”},”metadata”:{“alt”:”passwordprotection10″}}}}}” style=”white-space: pre-wrap;”>

Follow these steps and you’ll be securing you personal folders in no time.
  1. Open the folder you would like to password protect
passwordprotectionpasswordprotection 
2. Right-click inside the folder and navigate to NEW -> TEXT DOCUMENT
3.Open the text document and enter the following text
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

5. Change the following within the text to your desired password: Your-Password-Here

6. Once you have set the password, click FILE -> SAVE AS and then as the image below shows, change the ‘Save as type:’ to ALL FILES and name the file: FolderLock.bat

 
7. Double-click on FolderLock and a folder called: Folder should appear as shown in the second image below

 
8. Move all you files/folders you want password protecting into the Locker folder

 
9. Once you are happy with everything inside the Locker folder it is time to lock the folder. Double-click on the FolderLock file and you will be asked to confirm you want to lock the folder

 
Wolah…your folder is now locked and the only way to unlock this is to double-click on the FolderLock file where you will be asked to enter the password set for that specific file.
I found this to be a good semi-secure method of hiding your folders however, after some testing I found it is not 100% bullet proof. With the correct software an unauthorized user could unlock your folder by gaining access to your password, the screenshot below shows how I did it on a test folder.
 
Using Notepad++ I was able to open the FolderLock file and expose the password…YES it was that simple. So although this method could be used if you find yourself forgetting your password, it can also be used if a bad actor has access to your device already. With that in mind it is probably worth setting the folder passwords to something other than the ones you use for your main accounts on a daily basis.
And for those that were thinking about applying this method to multiple folders, you’ll be pleased to know that you can do this by using the same method. You can also use different passwords for each folder should you wish.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: