Skip to content
TECHNOARTH IT for offices and small businesses.
Software

How to zip and unzip files, and fix a ZIP that won’t open

Windows 11 zips and unzips files without installing anything and, in recent versions, opens RAR and 7z too. Here's how to build a ZIP for your accountant or a client, extract it without long-path errors, deal with blocked or password-protected ZIPs and what to do when you see "The Compressed (zipped) Folder is invalid".

How to zip and unzip files, and fix a ZIP that won’t open

In an office, ZIP files turn up every week: invoices for the accountant, new-hire paperwork, the installer your software vendor’s support team sent over. When one fails, the Windows message is short and doesn’t say what to do. Here’s the right way to create and extract them, what causes each error and how to handle files that contain client data.

In this article
  1. How to zip files in Windows 11
    1. ZIP too big for email
  2. How to extract (unzip) properly
    1. Extracting straight into a network folder
  3. RAR, 7z and other formats
  4. The ZIP won’t open: the messages and what each one means
    1. “The Compressed (zipped) Folder is invalid”
    2. “The destination path is too long”
    3. Password-protected ZIP
    4. Downloaded ZIP that arrives blocked
  5. ZIPs with client and employee data
  6. Be careful with ZIPs received by email
  7. Frequently asked questions

How to zip files in Windows 11

The name of the option has changed between versions of Windows 11, so steps 2 to 4 are alternatives: use the first one that shows up on your PC.

  1. Select the files or folder in File Explorer. To pick several separate items, hold Ctrl and click each one.
  2. Right-click and choose Compress to › ZIP File. The submenu also offers 7z, but for anyone outside the company ZIP is the safe choice: every computer and phone can open it.
  3. In slightly older versions of Windows 11, the option appears directly as Compress to ZIP file.
  4. If you can’t find either, use the classic menu: Show more options › Send to › Compressed (zipped) folder, the path described on Microsoft’s own Zip and unzip files support page, which also works in Windows 10.
  5. The ZIP is created in the same folder and named after the first item. Rename it before sending, with something that says what’s inside and the period it covers, such as invoices-2026-10.zip.

ZIP too big for email

Every provider has a size limit per message, and on a Microsoft 365 or Exchange account the administrator can set a custom one. If the ZIP is over the limit, splitting it across ten emails doesn’t help: Microsoft recommends sending a OneDrive link instead of the attachment. You control who has access and can stop sharing later. If the problem is your own mailbox filling up with old attachments, see how to fix a full mailbox in Outlook.

How to extract (unzip) properly

  1. Right-click the .zip file and choose Extract All.
  2. In the window that opens, check the folder under Files will be extracted to this folder. By default, Windows suggests a folder named after the ZIP inside the location where it sits, which makes the path longer.
  3. Click Extract. With Show extracted files when complete ticked, the folder opens by itself at the end.
Extract Compressed (Zipped) Folders window with the destination folder C:\Fiscal\notas-outubro highlighted and the Extract button
Check the destination folder (1) before clicking Extract (2): a short path avoids the path-too-long error.

To pull out just one or two files, double-click the ZIP to open it and drag the items out, another method Microsoft documents.

Extracting straight into a network folder

It works, but it has two drawbacks in an office. With lots of small files, extracting over the network is slow, and in the meantime colleagues see a half-filled folder. And since shared folders tend to have long paths, the long-path error turns up more easily. The safer route is to extract to a short local folder, check the contents and only then copy them to the shared network folder.

RAR, 7z and other formats

According to Microsoft, Windows 11 version 24H2 handles ZIP and also RAR, 7z and TAR directly in File Explorer. To check a PC’s version, open Settings › System › About and look at the version under Windows specifications.

On PCs running Windows 10 or a Windows 11 version older than 24H2, install 7-Zip, which is free and open source, downloaded only from its official site, 7-zip.org. The project’s site lists support for extracting RAR, ISO, CAB and dozens of other formats. If your company controls which programs get installed, ask whoever manages the PCs to install it.

The ZIP won’t open: the messages and what each one means

“The Compressed (zipped) Folder is invalid”

Windows error: cannot open the folder, the Compressed (zipped) Folder is invalid
“Is invalid” (1) is almost always an incomplete download or a file in another format (RAR, 7z) with a .zip extension.

Check in this order:

  1. Incomplete download: compare the size of the downloaded file with the size given in the email or on the site, and download it again. Large attachments downloaded on a phone’s browser and then moved to the PC are frequent suspects.
  2. It isn’t really a ZIP: the file may be a RAR or 7z archive whose name ends in .zip. On a PC with 24H2 or with 7-Zip, try opening it through the program instead of trusting the extension.
  3. Faulty export: if the ZIP came out of a business management system, ask for it to be generated again before trying repair tools.

“The destination path is too long”

The full message is Windows cannot complete the extraction, followed by The destination path is too long. Rename the compressed folder and try again. The final path adds up the destination folder, the folder Windows creates with the ZIP’s name and the subfolders that come inside it. Fix it like this:

  1. Rename the ZIP to something short, such as inv10.zip.
  2. In Extract All, change the destination to a folder at the root of the drive, such as C:\Finance.
  3. If it still fails, open the ZIP and drag the inner folder to the short destination, or extract it with 7-Zip.

Password-protected ZIP

Microsoft states that Windows 11 24H2 doesn’t support operations on encrypted archives and suggests programs such as 7-Zip or WinRAR to create or extract them. If a supplier sent you a password-protected ZIP, open it with 7-Zip and enter the password you received through a separate channel.

Downloaded ZIP that arrives blocked

Files that come from the internet or by email get a Windows mark of origin. In workbooks with macros, this makes Excel show the SECURITY RISK bar and block the macros, as explained in Microsoft’s documentation on macros from the internet. If the file is from a supplier you know and you’ve confirmed they sent it:

  1. Right-click the ZIP and choose Properties.
  2. On the General tab, tick Unblock and click Apply and then OK.
  3. Extract it again. If you had already extracted it, delete the old folder first, but only if you haven’t saved any changes to the files in it; if you have, extract to a different folder.
Properties of a downloaded ZIP file on the General tab, with the security notice and the Unblock box checked and highlighted
Only for a ZIP from a confirmed source: check Unblock (1), click Apply and extract again.

If the Unblock checkbox doesn’t appear, the file doesn’t carry the mark or it’s sitting in a network folder; Microsoft notes that on shares treated as part of the Internet zone, the checkbox may have no effect.

ZIPs with client and employee data

Payslips, onboarding documents and invoices with tax ID numbers are personal data. In an unprotected ZIP attached to an email, anyone who receives the message by mistake sees everything. In these cases:

  • Prefer a OneDrive or SharePoint link shared only with the right people, and remove access once the work is done.
  • If the recipient insists on an attachment, use 7-Zip, which offers AES-256 encryption in both the 7z and ZIP formats. In the add-to-archive window, set a long password and choose AES-256.
  • Send the password through another channel, such as a phone call, never in the same email.
  • Microsoft warns that files encrypted in Windows (EFS) that you put into a ZIP come out unencrypted when extracted. Don’t count on that as protection.

Be careful with ZIPs received by email

ZIP is one of scammers’ favorite formats, especially when the password is in the body of the email, a trick used so the antivirus can’t scan the contents. Be suspicious of any ZIP labeled as an “invoice”, “payment due” or “legal notice” that you weren’t expecting, and even more so if it contains .exe, .js or .vbs files or shortcuts. Confirm with the sender by phone and see how to spot phishing.

Frequently asked questions

How do I open a ZIP on my phone?

On Android, Files by Google extracts ZIP files: tap the file, then Extract and Done; the files land in the same folder as the ZIP. On an iPhone, just tap the ZIP inside the Files app; an unzipped folder appears next to it (Apple Support).

Can I create a password-protected ZIP with Windows alone?

No. Microsoft points to third-party programs such as 7-Zip or WinRAR for creating encrypted archives. In the office, standardize on one of them across every PC so nobody has to improvise.

Why is the ZIP almost the same size as the files?

Because the contents were already compressed, like photos, videos and many PDFs. In that case the ZIP only bundles everything into one file; to cut the size of what you send, use a OneDrive link.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.

Reviewed by Arth Moraes — Arth Moraes is the editorial pen name of the person responsible for TECHNOARTH, who sets the agenda, reviews and approves every tutorial before publication and is accountable for corrections.