How to Lock a Folder without Using Software,folder lock

0
158

The computer users mostly have confidential data on their PCs. It is very important to hide the confidential data in Windows. Some time the data which is really private need to be secured from the third-party and needs to ensure the complete privacy for it.lthough, there are some trail versions available for folder lock software but these all come with an expiry period. So, these can’t be used after some time. But by using the steps  

s  explained here, you will be able to create a folder which can be locked by password means you can actually lock a folder without using any software. All the data placed in this folder will be password protected. So, you can place all data which you want to hide from other users in this folder. This method works 100% on all versions of Microsoft Windows operating system.

Learn-How to Lock a Folder Without Using Software

So, here are the steps which you are supposed to follow to in order to lock a folder without using any third party software. The steps are quiet simple yet amazing which you are supposed to use. Now, without taking your time, I would request you to get towards the below steps:

  • First of all, open Notepad.
  • Now, copy the below code and paste them to Notepad.

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%==123456789 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

  • After you copy the  commanding,you will find this one in the source code:“123456789“(change it with any password you want). In this I’ve used ATT as password. You may check the below example to get the complete idea that what you are supposed to change.


For example:
if NOT %pass%== ATT goto FAIL

//so your password here becomes ATT .//

 

  • After that go to Save as and name this file as locker.bat and then you need to set Save as type to All Files.
                            
  • Now a batch file will appear where you have saved the notepad file. You need to Double Click on that file and then you will see a pop up Window of MS Dos.
  • Then it will ask you that, “Are you Sure to Lock the Folder“. You need to Press “Y” and press enter.
  • Now, again Open it and then it will ask you to enter the Password which you have set in the source code. Enter that password to proceed.
  • You have followed the steps correctly and the locker is working fine. Now, here comes the hidden part. you will see an ordinary looking folder named Locker and a Batch File which is also named Locker. The folder is working as a Locker and the Batch file is as a key. You need to paste your important documents to the Locker Folder and then Open the Batch File and grant the permission to lock it. Ones the permission is granted then it will hide the Locker folder. To access it again Open the Batch File, enter your Password and access your file.
  • But by using this there is a little risk, one can see the password by right clicking on the bat file and clickEdit, it will show you the source code which you have used previously. In order to prevent it we use a software named at_To_Exe_Converter.
  • You can download this by clicking here (Click Here)
  • After,downloading it, you should have a zip file. Now extract it you will find this.
  • Now, go into the folder and select the OS i.e either 32-bit or 64-bit. Go into your bit(i.e 32 or 64 bit)
  • Now run the application and a screen will pop up.
  • Now choose the .bat path and click on COMPILE.
  • Now you see an .exe application on the desktop.
  • This was it

Must Check: How to Enable Built in Administrator Account On Windows 8 and 8.1

Video Tutorial – How to Lock a Folder

Conclusion

That’s it, now you can lock any folder using above method. If you find any difficulty or if you want any help just comment below and feel free to ask. If you are successfully done then share your experience by commenting below. Furthermore, if you have found this guide helpful and worth reading then do share it with your other friends and circle too. So, keep sharing and liking our content.

LEAVE A REPLY