Saturday, August 3, 2019

How to Lock Folders in Windows 10 (Without software Installation) |Mini Tech Help Hindi

We Lock or Hide our Personal folders in Windows using Third-Party Software, but we can lock or hide our folder (Files, Images, Music even Videos) with out any software installation just using a simple command prompt code.

How to Lock Folder on Windows 10 Without Any Software.



Right-click inside a drive or folder where you would like to place your locked folder and select New > Text Document from the context menu.just hit Enter.

Once created, double-click on the text file to open it. you can simply open Notepad.
Copy and paste the text below into your notepad created text document.

cls

@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%==Your-Password-Here 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


In the text file, find the text Your-Password-Here. Replace Your-Password-Here with the password you want to set for the locked folder. For instance, if you want the password to be abcd$123, replace Your-Password-Here with abcd$123.


Now type FolderLock.bat in the File name field and click Save. You can now delete the text file you earlier created.
Now double-click on the FolderLock.bat file and a new folder named Locker will be created.


Drag and drop all the files you want to hide and lock into the folder. When you’re done, double-click the FolderLock.bat file again and this time you’ll be asked if you want to lock the folder. Type Y in the command prompt window and hit Enter.



When you’re done with your folder double-click on the FolderLock.bat file again and re-lock it.  That’s it! You have successfully locked folder on your Windows 10 and now you have a hidden safe inside your PC.

The only way to access the folder again is to double-click on the FolderLock.bat file again. This time, it’ll ask you to enter the password you had earlier set. Type in the password and hit Enter and you’ll notice the folder will appear again.

Share:

0 comments:

Post a Comment

FACEBOOK

Email Subscriptions

Enter your email address:

Delivered by FeedBurner

Sociliaze with Us

Recent Posts

Recent Posts