6 Easy Steps to create a Password Protected Folder without any Software!

Advertisement
Password Protected Folder without any Software
TechLatest is supported by readers. We may earn a commission for purchases using our links. Learn more.

Most of the time you need third party apps to password protect your folder on PC. But you can also create a password-protected folder without any Software. I will teach you to do this in just 6 simple steps.

Advertisement

Our friends might use our PC/laptop at times and there might be some important information that shouldn’t be accessed by anyone else. So, it is crucial for us to know how to protect our files and folders so that there is no threat to our data. Even though there are so many methods to protect your folder using third-party software. I’ll help you do it without the help of any other software.

Create a Password Protected Folder without any Software:

Follow the below 6 Easy Steps to create a Password Protected Folder without any Software:

  • Open Notepad by clicking the start button. Then paste the following code in it.
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to lock this 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 Private "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== YOUR_PASSWORD FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDPrivate
md Private
echo Private created successfully
goto End
:End

Note: You have to mention the password you want to set in the particular keyword ” YOUR_PASSWORD ” given in the above code.

  • Save it as ‘FolderLock.bat’
6 Easy Steps to create a Password Protected Folder without any Software! 1
  • Go to the saved location and run the FolderLock.bat file. A folder named ‘Private’ will be created in the same directory.
6 Easy Steps to create a Password Protected Folder without any Software! 2
  • You can now place all the files you need to protect in the Private folder. After that double-click on the Folderlock, “do you want to lock (Y/N)” will be shown.
6 Easy Steps to create a Password Protected Folder without any Software! 3
  • Press Y and then click on enter, the folder Private will be hidden now.
6 Easy Steps to create a Password Protected Folder without any Software! 4
  • Click on the FolderLock.bat file again and it will ask you to enter the unlock password and the password is the one you’ve have put in the place of YOUR_PASSWORD.
6 Easy Steps to create a Password Protected Folder without any Software! 5

Voila! Your folder is now secured with the password. And every time you ever want to secure your files then run the FolderLock.bat. Place the files in the Private folder and again run FolderLock.bat file which will hide the Private folder.

Read more guides here:

Leave a Comment
Related Topics
Subscribe
Notify of
guest
1 Comment
Newest
Oldest
Inline Feedbacks
View all comments
Advertisement