Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

Password Protect Folders in Windows

MonaJune 17, 2019 Comments (1)
Windows 10 Header

We create thousands of documents on a daily basis, some of which are important and need secrecy and security. Microsoft Office offers its users password protection for files and folders that include delicate information that needs to be secured. But, every user should know how to protect their files and folders even if they are not using any Office software.

Microsoft Windows offers password protection for the folders and for individual files. This means you are able to lock the contents of your folders using a simple method. It’s also possible to add password protection to your folders with a third-party tool, but these tend to bring a lot of viruses and unwanted downloads. This is especially true when a tool claims to be free and runs advertisement.

Instead of using a third-party tool, use the password protection options offered directly from Microsoft.

Microsoft Windows 10 Home

Check Best Prices Here

Contents

    • 0.1
    • 0.2 Pros & Cons of Password Protecting Folders
  • 1 Guide to Password Protected Folders
  • 2 Password Change for Private Folder

Pros & Cons of Password Protecting Folders

Although protecting your folders with a password seems like a cybersecurity solution, it is more of a measure against snoopers than anything else. Your password will do little to protect you from malicious software but will ensure that any files stored on a device that is used by multiple people are kept private and secured.

Pros

– Keep Personal Files Private
– Holds All Types of Data
– No Need for Internet Access
– No third-party security risk

Cons

– No security from online-based breaches
– Will get annoying if used regularly
– Forgetting the password might mean losing the data

Guide to Password Protected Folders

1. Create a new folder. You can place your folder in your storage directories or on desktop.

2. Now, you have to make a new text document in your folder.

3. You don’t need to add any text in the document. Now copy and paste the following code in the text document. In the code, you will also add the password for protection.

4. The code allows you to edit the name of the password protected folder. If you do not wish to set a name for your folder, Windows will set its name Private by default.

5. Now hit on the Save As Follow this sequence File > Save. Rename your file as locker.bat and choose the ”All files” box from the dialogue box.

6. You have to double-click on the locker.bat to run it. Now you have a password protected folder namely

7. Now, your important documents are ready to move to the password protected folder. You have to run the locker.bat file one more time.

8. Windows will ask you last time to confirm the password protection. Type Y press Enter to finalize the protection procedure.

9. Your secret folder will disappear. You will only view the system file locker.

10. To retrieve the content of the private folder, you have to run the locker.bat file every time.

Password Change for Private Folder

In addition to creating the password protection, you can reset your password for the protected folder following these steps:

1. To reveal the drop-down menu of settings, right click on the locker.bat file. From the menu, click on the Edit

2. Edit option allows you to reset the password.

It is very easy to reset your password through the locker.bat file, which is one way to password protect a folder in Windows. Keep in mind it might not be the safest way, though, to protect your folders. Anyone who knows this trick can gain access to your folder contents. For foolproof security of your important documents, it’s best to use cloud-based storage services or transfer your documents of prime importance to a portable USB. However, if you are looking for an easy and convenient way to add a layer of security, Microsoft password protect is what you seek.

You can buy a USB drive with Microsoft Windows 10 Home Edition and join millions of users worldwide on a platform that is considered the industry standard.

Check Best Prices Here

 

Categories: Windows

Author Mona

You Might Also Like

  • Quickly Create a Shutdown Timer in Windows 10

    Judy SanhzWindows
  • How to Remove the XPS Document Printer Option From Windows 10

    Mel HawthorneWindows
  • iMovie Windows Header

    9 Best iMovie Equivalents for Windows 11

    Tamal DasSoftware
  • Remote Restart Shutdown Header

    How to Remote Reboot/Shutdown a Windows 11 PC

    Susan SheffieldWindows

Comments

  1. chad says:
    April 25, 2022 at 10:44 am

    Step 3 says, “Now copy and paste the following code in the text document..”

    What code?

Leave a Reply

Your email address will not be published. Required fields are marked *

  • roblox error 280

    Having Trouble With Roblox Error 280? Here’s What to Do

  • hard disk smart command error

    Hard Disk SMART Command Failed – How to Fix 

  • files automatically deleted on click

    Files Getting Deleted Automatically? Here Are Some Reasons Why

  • error 400 when signing in

    Encountered Error 400 When Signing In to Microsoft? Here’s What You Can Do 

  • unable to create notebook error in onenote

    We Were Unable to Create Your Notebook Error in OneNote – Common Fixes 

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2026 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Terms of Use
  • Privacy Policy

© 2026 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.

Last Updated on June 17, 2019 by Mitch Bartlett