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.

  1. Open File Explorer and navigate to the files or folders you want to compress.
  2. Select the items. To select multiple items, hold down Ctrl while clicking each item, or click and drag over them.
  3. 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).
  4. A new .zip archive 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

  1. Download and install the free 7-Zip tool from its official website.

Step 2: Create the Encrypted Archive

  1. In File Explorer, select the files or folders you want to protect.
  2. Right-click the selection, click Show more options (or press Shift + F10), hover over 7-Zip, and select Add to archive….
  3. In the 7-Zip window:
    • Archive format: Choose zip for general compatibility or 7z for 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.
  4. Click OK to generate your password-protected compressed folder.

How to Access a Password-Protected Archive

  1. Double-click the password-protected archive or right-click it and choose Extract All… (or use 7-Zip > Extract Here).
  2. When prompted, enter the password you created.
  3. Click OK to extract and access your files.