Password Protect and Compress Folders in Windows 11
Managing disk space and securing sensitive data are essential tasks when organizing files on your PC. Windows 11 includes built-in tools to quickly compress files and folders into standard ZIP archives directly from File Explorer. However, because native Windows tools do not support encrypting these archives with a password, adding password protection requires a free, lightweight third-party utility such as 7-Zip. This guide provides clear, step-by-step instructions for creating basic compressed folders natively and generating encrypted, password-protected archives in Windows 11.
How to Create a Compressed (ZIP) Folder Natively
Windows 11 allows you to create compressed ZIP folders without installing any extra software.
- Open File Explorer and navigate to the files or folders you want to compress.
- Select the items. To select multiple items, hold down
Ctrlwhile clicking each item, or click and drag over them. - Right-click the selected items and select Compress to ZIP file from the context menu. (Alternatively, click the three dots in the top command bar and choose Compress to ZIP file).
- A new
.ziparchive will appear in the same directory. Type a name for your archive and press Enter.
How to Create a Password-Protected Archive Using 7-Zip
Windows 11 does not natively support password-protecting ZIP files. The standard method is to use 7-Zip, a free, open-source file archiver.
Step 1: Install 7-Zip
- Download and install the free 7-Zip tool from its official website.
Step 2: Create the Encrypted Archive
- In File Explorer, select the files or folders you want to protect.
- Right-click the selection, click Show more options
(or press
Shift + F10), hover over 7-Zip, and select Add to archive…. - In the 7-Zip window:
- Archive format: Choose
zipfor general compatibility or7zfor stronger compression and filename encryption. - Encryption: Locate the Encryption section on the right side.
- Enter your desired password in the Enter password and Reenter password fields.
- Encryption method: Ensure it is set to AES-256.
- (Optional for .7z format): Check the box for Encrypt file names if you want to hide the names of the files inside the archive until the password is typed.
- Archive format: Choose
- Click OK to generate your password-protected compressed folder.
How to Access a Password-Protected Archive
- Double-click the password-protected archive or right-click it and choose Extract All… (or use 7-Zip > Extract Here).
- When prompted, enter the password you created.
- Click OK to extract and access your files.