How To Create A Password Protected Folder Without Any Software
This tutorial will work on just about
any version of Windows operating system like Windows 10, Windows 7,
Windows XP and so on. Here’s how you can password protect folders
without using any app.
1) Open notepad on your Windows computer. Right click on the desktop and then select New > Text Document.
2) Copy and paste the given code into your Notepad:
cls
@ECHO OFF
title Folder Confidential
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Confidential goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Confidential “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 the Password to unlock folder
set/p “pass=>”
if NOT %pass%== techcaption goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Confidential
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md confidential
echo Confidential created successfully
goto End
:End
Important: Users can change the password by editing the line “if NOT %pass%== techcaption goto FAIL”. Just replace the “techcaption” with the password you want to keep.
3) After doing the above step, save the file as Folderlock.bat
4) Whenever you will run the Folderlock.bat file, a new folder named “Private” will be created at the same location.
5) Here you need to place your files in the Private folder. Then double clock on the Folderlock.bat file and it will ask you ‘Do You Want To Lock (Y/N)” Here Press ‘Y’.
6) This will hide the “Private”
folder from your computer. Now if you want to unhide the folder, then
double click on “Folderlock.bat” and it will ask you the password. Enter
the password you have set to unhide the Private folder.
This is how you can create a password protected folder on your windows computer without any software. Your content will be safe and password protected.
No comments:
Post a Comment
Leave your valuable opinion.