Lock Folder without using any Software

Are you insecure regarding the important and valuable data saved on your computer and want to protect them or you want to maintain your privacy by securing data on your computer? Data that are valuable or important must always be secured from unauthorized access as this can risk your professional life. There are number of software available to lock or hide your system folder to secure your data. Many users spend a lot of money in buying folder lock software. Here is the tutorial how you can lock your folder without any software.

Lock Folder without using software

Though there are many software’s available to lock your folder, but why waste money when you can manually lock your system folder and protect from any kind of data theft.

You can now lock or hide your valuable folder without using any software except notepad. Yes, you lock your folder using notepad. Here is how you can achieve this.

Create Folder Lock using Notepad

Follow the steps described below to lock your folder

  • Click the start menu, search for Notepad in Windows 7 or Start > All Programs > Accessories > Notepad
  • In the notepad, type the following codes or simply copy and paste it

cls
:End
@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%== tipsnext 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
69

  • From the above codes note the line if NOT %pass%==tipsnext goto FAIL is the password to lock the folder. You can change this according to your will
  • Now save the notepad file with any name but having an extension of the file must be (.bat) to make the file effective
  • Once you have saved the file, you can see a newly created folder besides the file that was created a while ago. The folder is named as Locker

create Folder lock using Notepad

  • To make The Locker Folder invisible simply just double click on the .bat file and follow the on screen command prompt. You need to press Y and then hit Enter to make the folder invisible and password protected

folder lock

  • When you want to access the locker folder, double click on the .bat file. Then follow the command. Upon prompted to enter the password, provide it and hit Enter. Your folder will be visible now.

folder unlocked

Upon following the steps described above, you can lock or hide your folder and keep your data safe and secured on your computer. You can also hide the .bat file so that no one else is able to edit it.

Now without spending any money on folder lock software, you can create a locked folder and secure your data on your computer.

Advertisement

No comments yet.

Leave a Comment