Ads

How to Create a Password Protected Folder in windows without any Software





I am not sure about you but many times i need to hide some my personal stuff like pics, videos and much more. Today everyone knows about Windows hidden feature which is used to hide files so that is not too secured. Anyone can access your files by a single click on “show hidden files”. So nothing is secured today.
today’s post is all about how to create a password protected folder in windows and hide from others. No one can access the folder without password which you have created. there is a huge list of software which can do this task but i am a type of man that don’t feel better while using software for basic purpose. so i found a way for us….
watch video to better understand
so letz start now and follow below steps

Step : 1 – Change Windows Settings

you have to change some basic settings of your machine to create that password protected folder.
  • go to control panel > folder options > view
  • now mark on show hidden files, folders, and drives

Step : 2 – Create the password protected folder

  • just paste below code in notepad.
cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private 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 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 folder
set/p "pass=>"
if NOT %pass%== your password goto 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
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
  • type password of your choice at the letters your password in above code
  • and save that as “private.bat”
  • now once click on file private.bat and it will create a new folder named as private.

Step : -3 Lock the folder

  • click on private.bat and it will ask you to lock your folder
  • type y for yes and n for no
  • now your folder is locked

Step : -4 Open the folder

  • again click on private.bat and now it will ask you to enter your password
  • type the password and click enter
  • your folder is unlocked now
now fire up comments and tell me your experience about this technique.

No comments:

Smartkidd Benjamin's Blog. ©2017. Powered by Blogger.
DMCA.com Protection Status