Trending September 2023 # How To Place A Password Lock On A Folder In Windows 10 # Suggested October 2023 # Top 9 Popular | Dacvumuahe.com

Trending September 2023 # How To Place A Password Lock On A Folder In Windows 10 # Suggested October 2023 # Top 9 Popular

You are reading the article How To Place A Password Lock On A Folder In Windows 10 updated in September 2023 on the website Dacvumuahe.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested October 2023 How To Place A Password Lock On A Folder In Windows 10

One of the biggest issues with sharing your computer with others is that it is difficult to keep any files private. Fortunately, Windows 10 allows you to create a password lock on a folder so that only you and the people you trust with the password are able to access it. Here are the steps to set up a password-locked folder.

Creating a Locked Folder

1. Create a new folder on your computer.

3. Select a new text document to add to the folder. Name the document Password file or any other name you prefer and then open it.

4. Now you need to copy and paste the following code into the text document:

cls

@

ECHO

OFF

title

Folder Locker

if

EXIST

"Control Panel.{21EC2023-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)

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.{21EC2023-3AEA-1069-A2DD-08002B30309D}"

attrib

+

h

+

s

"Control Panel.{21EC2023-3AEA-1069-A2DD-08002B30309D}"

echo

Folder locked

goto

End

:UNLOCK

echo

Enter password to Unlock folder

if

NOT

%pass%

== mypassword

goto

FAIL

attrib

-h

-s

"Control Panel.{21EC2023-3AEA-1069-A2DD-08002B30309D}"

ren

"Control Panel.{21EC2023-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

5. In the 22nd line of the code, change the word “mypassword” to whatever password you wish to use for the folder. Make sure to leave a single space before and after the password.

6. Go to the top of the text document and select the File option. Tap on “Save As.”

7. In the new window that opens, save the file type as All Files, and change the name of the file to Lock or any other name you wish, but make sure to add the extension .bat at the end of the file name. Hit save and exit the text document.

11. The hidden folder containing your private files will appear on the screen. You can access the files just as you normally would and use them freely.

Repeat this process for as long as you wish to keep using the password-protected folder.

Conclusion

The password-protected folder is a good method of keeping certain files private while using a computer that other people also have access to. Make sure to keep a copy of the password somewhere safe so you don’t end up forgetting the password and getting locked out of your own private stash of data.

Neeraj Chand

Content writer with a keen interest in global technology and pop culture trends.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

You're reading How To Place A Password Lock On A Folder In Windows 10

Update the detailed information about How To Place A Password Lock On A Folder In Windows 10 on the Dacvumuahe.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!