SlideShare a Scribd company logo
3 w a y s t o e n c r y p t f i l e s a n d f o l d e r s i n w i n d o w s 1 0
How to Password Protect a Folder
in Windows10
1. Lock a folder in Windows 10 Pro using folder encryption
2. Password protect a folder with 7-Zip
3. Password protect a folder using a batch file
CONTENTS
Lock a folder in Windows 10 Pro
using folder encryption
If you’re running Windows 10 Pro, there is a built-in protection system,
which locks a file to your account. That way, however, anyone using your
PC and account would still have access.
How to Use Windows 10 Pro Folder Encryption
4
Step 1: Do a right-click on the folder you want to lock, and then click on Properties.
Step 2: Click Advanced.
Step 3: Check the box next to Encrypt contents to secure data and click OK.
Step 4: Click Apply and when prompted, choose whether you want all folders within that
directory to be encrypted, or merely the top-level one. When you’ve decided, click OK.
Password protect a folder with 7-Zip
For most Windows users, adding a password to a folder requires a third-party
archiving utility or some form of compression software. Options include 7-Zip
and WinZip. They do a great job of password-protecting your important data.
How to create a password protected Zip file in Windows 10
6
Step 1: Navigate to the 7-Zip or WinZip download page and select the right download for
you. Install and run it.
Step 2: Locate the folder you wish to password protect, right-click and select: WinZip or 7-
Zip > Add to archive.
Step 3: Then, enter and re-enter your desired password for the folder in the text fields
located on the right-hand side of the window. Click the OK button when finished and allow
the utility to create a compressed.
See Also: How to Create a Password Protected ZIP File with WinZip or 7-Zip
Password protect a folder using a batch file
How to Password protect a folder using a batch file
8
1. Open Notepad.
2. Copy the following codes and paste them into Notepad.
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=>"
3. Change the password.
9
Locate if NOT “%pass%==your_password” goto FAIL in the code that you just pasted. And then
change your password to the password of your choice.
10
4. Save the file and choose a name a ensure that you add a .bat extension to your file. Also, make sure
that the encoding type is ANSI. Click on Save.
11
5. Double click on the BAT file that you just created.
6. Run the batch file by double-clicking it. You will see a folder with the name same as the BAT file.
7. Move the files and folders that you think are sensitive to the same folder which including the .bat file.
8 Double-click on the .bat file again. A Command Prompt will open and asking if you want to lock the
folder. Type Y then press enter.
9. Done. No one can access your folder without the password.
That’s All
Read More:
https://www.isumsoft.com/computer/how-to-password-protect-a-folder-without-any-software.html

More Related Content

PDF
What is Private Browsing
PPTX
Web browsers
PPT
Digital Story
PPT
Firefox for windows 10
PDF
Downloading Previous Browser - Firefox
PDF
Safer browsing
PDF
Firefox
PPT
Internet cookies
What is Private Browsing
Web browsers
Digital Story
Firefox for windows 10
Downloading Previous Browser - Firefox
Safer browsing
Firefox
Internet cookies

What's hot (9)

PPTX
PPT
Internet cookies
PPTX
Browser wars
PPT
Browser war
PPTX
Web Browser ! Batra Computer Centre
PDF
Sw2 b11
PDF
Firefox Extension Development
PDF
Week11
PPT
Cookiejacking2011 final
Internet cookies
Browser wars
Browser war
Web Browser ! Batra Computer Centre
Sw2 b11
Firefox Extension Development
Week11
Cookiejacking2011 final
Ad

Similar to How to Password Protect a Folder in Windows10 (20)

PPTX
Protect Folders without using any Software
DOCX
18IF004_CNS.docx
PDF
Coc 4 backup and restore
PPTX
Secure your folder with password/without any software
PDF
Hosts setup
DOCX
Windows 10 backup options
PDF
windows system tool (1).pdf
PDF
Truecrypt
PPTX
2022 fixed cant read from source file or disk error
DOCX
synology-backup-windows-11.docx
PPTX
Backup and restore 1
PPTX
Operating system security
PPTX
How to Troubleshoot QuickBooks Error 1303?
DOC
Hosts setup
DOC
File Management
PDF
How to back up data
PPTX
Comodo presentation
PDF
Win7guide
PPT
How to use WinRAR
Protect Folders without using any Software
18IF004_CNS.docx
Coc 4 backup and restore
Secure your folder with password/without any software
Hosts setup
Windows 10 backup options
windows system tool (1).pdf
Truecrypt
2022 fixed cant read from source file or disk error
synology-backup-windows-11.docx
Backup and restore 1
Operating system security
How to Troubleshoot QuickBooks Error 1303?
Hosts setup
File Management
How to back up data
Comodo presentation
Win7guide
How to use WinRAR
Ad

More from moli he (6)

PPTX
How to Optimize Windows 10 for Gaming and Productivity
PPTX
How to Free up Space on Mac - 12 Ways to Clear Disk Space on Mac
PPT
Forgot restrictions passcode - How to Reset Restrictions Passcode on iPhone
DOCX
Move Windows 10 Installation to SSD without Reinstalling without Data Loss
PPTX
Forgot Outlook Email Password - How to Retrieve | Reset | Change Email Passwo...
PPTX
Always Forget Password? Here is How to Create a Good Password
How to Optimize Windows 10 for Gaming and Productivity
How to Free up Space on Mac - 12 Ways to Clear Disk Space on Mac
Forgot restrictions passcode - How to Reset Restrictions Passcode on iPhone
Move Windows 10 Installation to SSD without Reinstalling without Data Loss
Forgot Outlook Email Password - How to Retrieve | Reset | Change Email Passwo...
Always Forget Password? Here is How to Create a Good Password

Recently uploaded (20)

PPTX
ai tools demonstartion for schools and inter college
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
System and Network Administraation Chapter 3
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
ai tools demonstartion for schools and inter college
wealthsignaloriginal-com-DS-text-... (1).pdf
top salesforce developer skills in 2025.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Odoo Companies in India – Driving Business Transformation.pdf
Understanding Forklifts - TECH EHS Solution
System and Network Administraation Chapter 3
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Digital Systems & Binary Numbers (comprehensive )
Design an Analysis of Algorithms II-SECS-1021-03
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Upgrade and Innovation Strategies for SAP ERP Customers
How to Choose the Right IT Partner for Your Business in Malaysia
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Operating system designcfffgfgggggggvggggggggg
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises

How to Password Protect a Folder in Windows10

  • 1. 3 w a y s t o e n c r y p t f i l e s a n d f o l d e r s i n w i n d o w s 1 0 How to Password Protect a Folder in Windows10
  • 2. 1. Lock a folder in Windows 10 Pro using folder encryption 2. Password protect a folder with 7-Zip 3. Password protect a folder using a batch file CONTENTS
  • 3. Lock a folder in Windows 10 Pro using folder encryption If you’re running Windows 10 Pro, there is a built-in protection system, which locks a file to your account. That way, however, anyone using your PC and account would still have access.
  • 4. How to Use Windows 10 Pro Folder Encryption 4 Step 1: Do a right-click on the folder you want to lock, and then click on Properties. Step 2: Click Advanced. Step 3: Check the box next to Encrypt contents to secure data and click OK. Step 4: Click Apply and when prompted, choose whether you want all folders within that directory to be encrypted, or merely the top-level one. When you’ve decided, click OK.
  • 5. Password protect a folder with 7-Zip For most Windows users, adding a password to a folder requires a third-party archiving utility or some form of compression software. Options include 7-Zip and WinZip. They do a great job of password-protecting your important data.
  • 6. How to create a password protected Zip file in Windows 10 6 Step 1: Navigate to the 7-Zip or WinZip download page and select the right download for you. Install and run it. Step 2: Locate the folder you wish to password protect, right-click and select: WinZip or 7- Zip > Add to archive. Step 3: Then, enter and re-enter your desired password for the folder in the text fields located on the right-hand side of the window. Click the OK button when finished and allow the utility to create a compressed. See Also: How to Create a Password Protected ZIP File with WinZip or 7-Zip
  • 7. Password protect a folder using a batch file
  • 8. How to Password protect a folder using a batch file 8 1. Open Notepad. 2. Copy the following codes and paste them into Notepad. 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=>"
  • 9. 3. Change the password. 9 Locate if NOT “%pass%==your_password” goto FAIL in the code that you just pasted. And then change your password to the password of your choice.
  • 10. 10 4. Save the file and choose a name a ensure that you add a .bat extension to your file. Also, make sure that the encoding type is ANSI. Click on Save.
  • 11. 11 5. Double click on the BAT file that you just created. 6. Run the batch file by double-clicking it. You will see a folder with the name same as the BAT file. 7. Move the files and folders that you think are sensitive to the same folder which including the .bat file. 8 Double-click on the .bat file again. A Command Prompt will open and asking if you want to lock the folder. Type Y then press enter. 9. Done. No one can access your folder without the password.