“Windows cannot open the folder. The Compressed (zipped) Folder is invalid.” Most advice for this message
treats it as a Windows fault: restart File Explorer, run sfc /scannow, change a folder setting. In our
tests the problem was almost always the file itself. Windows’ built-in ZIP folder gives up on anything that is
not a complete, ordinary ZIP, and it says the same thing whatever the reason. Once you know which reason it is, the
fix usually takes a minute.
What we found
We took sixteen test ZIP files, fifteen of them with a known problem, and opened every one through the same ZIP handler File Explorer uses, on Windows 11 (build 26300). For each we counted the files Windows could list and the files it actually extracted:
| The file | Windows listed | Windows extracted |
|---|---|---|
| A normal ZIP (for comparison) | 7 files | 7 |
| A ZIP cut off before the end, like a download that stopped early | nothing | 0 |
| A ZIP missing its table of contents at the end | nothing | 0 |
| A RAR archive renamed to .zip | nothing | 0 |
| A web page saved as .zip (a login or error page instead of the file) | nothing | 0 |
| The last part of a ZIP split into pieces | 7 files | 0 |
| A ZIP using newer compression (bzip2, LZMA) for two of its three files | 3 files | 1 |
| A ZIP with one damaged file inside | 7 files | 6 |
The first four are the ones that bring up “invalid”: Windows finds no ZIP it understands and shows an empty or broken folder. The last three are worse in a way, because the folder opens and looks fine, but some files never arrive. A ZIP64 file (the format used for archives over 4 GB) extracted normally, and password-protected ZIPs listed their contents normally (we did not extract those, to avoid a password prompt).
Step 1: check the size
Right-click the ZIP, choose Properties, and compare Size with what the website, email or sender said. A ZIP that is noticeably smaller than it should be did not finish downloading. A file of a few kilobytes when you expected megabytes is almost certainly not the ZIP at all (see step 2).
If you can, download it again. Use a different browser, or a wired connection if the file is large, and wait for the download to finish completely. If the source is gone, the part you already have can often still be saved: our Unzip Files tool reads a cut-off ZIP from the front and recovers every file that arrived whole. On our cut-off test file, Windows showed nothing; the tool recovered three of the four files byte for byte and marked the fourth as incomplete.
Step 2: check what the file really is
A file name ending in .zip proves nothing. Right-click it, choose Open with → Notepad, and look at the first characters (ignore the rest of the jumble):
| The file starts with | It is | What to do |
|---|---|---|
PK | A real ZIP | Go on to step 3 |
Rar! | A RAR archive | Rename it to .rar and open it with 7-Zip or WinRAR |
7z followed by odd symbols | A 7-Zip archive | Rename it to .7z and open it with 7-Zip |
<!DOCTYPE html or <html | A web page | The site sent a login, expired-link or error page instead of the file. Sign in and download again, or ask for a new link |
MZ | A program (.exe) | Be careful: a self-extracting archive starts this way, but so does malware. Only run it if you trust the sender |
If you would rather not open it in Notepad, drop it on Unzip Files: it checks the first bytes and tells you which of these it is, and it never uploads the file anywhere.
Step 3: a real ZIP that still won’t open
-
File names like
archive.z01,archive.z02next to it. The ZIP was split into pieces and you only have the last one. Windows listed all seven files from our split test but extracted none. Download every piece into the same folder and open the set with WinZip or WinRAR, which read the pieces together. - Some files are missing after extracting. The ZIP may use newer compression that Windows’ ZIP folder does not support. From our test file Windows extracted only the one file stored the usual way and left out the two compressed with bzip2 and LZMA. 7-Zip opens these. Our tool does not decompress these two methods either, but it names the files that use them, so you know what to look for.
- One file is missing and the others are fine. That file is damaged inside the ZIP. Windows skipped our damaged file and extracted the other six without a clear warning. Unzip Files checks each file against the checksum stored in the ZIP and shows which one failed; ask the sender for that file again.
- It asks for a password you don’t have. No repair helps here; you need the password from whoever made the ZIP. If you do have it and Windows still won’t extract the files, Unzip Files opens both the older ZipCrypto and the AES-encrypted ZIPs that 7-Zip and WinZip make, on your device.
What about sfc, restarting Explorer and folder settings?
Those steps fix Windows itself, and they are worth trying only when every ZIP fails, including ones that opened before. A quick test: make a new ZIP yourself (right-click any file, Send to → Compressed (zipped) folder, or use Create ZIP File) and open it. If your own ZIP opens, Windows is fine and the problem is the file you received.
On a phone
iPhones open ZIPs in the Files app (tap the file and it extracts into a folder), and Android’s Files by Google does the same. A half-downloaded ZIP, a renamed RAR or a saved web page is just as broken there, so the checks above apply, and Unzip Files works in the phone’s browser too.
How we tested
The sixteen test ZIPs were built for our Unzip Files tool, all but one with a known problem,
and their contents checked with Python’s zipfile module. Each was opened in its own PowerShell process through
Shell.Application, the same ZIP folder handler File Explorer uses, with error dialogs switched off; we
counted the items Windows listed and the files that appeared after copying them out. Password-protected files were
only listed, not extracted, so no password prompt would open. Our tool’s results come from the same files, compared
byte for byte with the originals. We did not test the phone apps or the split-archive programs; those sections
describe how they handle ZIPs.