If Windows says “cannot complete the extraction” when you try to unzip a file, the fix is usually to clear the destination folder, check for file corruption, or use a different extraction tool. This error appears in File Explorer’s built-in ZIP extractor when the archive is damaged, the path is too long, or a file inside is locked by another program.
What Causes the Extraction Error
Windows 10 and Windows 11 use a built-in ZIP handler that is intentionally simple. It fails when it encounters anything outside the basic ZIP specification. The most common triggers are:
- A partially downloaded or corrupted ZIP file (the download was interrupted or the server sent an incomplete file).
- A file name or folder path longer than 260 characters (the classic MAX_PATH limit).
- A file inside the archive that is already open in another program, so Windows cannot overwrite it.
- Antivirus software locking the file while it scans it.
- The archive uses a compression method Windows does not support (rare, but happens with some 7-Zip or WinRAR creations).
- Insufficient disk space or a full temporary folder.
Quick Fixes to Try First
Start with these steps in order. Each one takes under a minute and solves most cases.
- Move the ZIP to a short path. Copy it to
C:\Temp\or the Desktop (e.g.,C:\Users\YourName\Desktop\file.zip). Then try extracting again. - Close all programs that might use the files. If the archive contains a Word document and Word is open, close it. Also close any media players or PDF viewers.
- Restart File Explorer. Press
Ctrl+Shift+Escto open Task Manager, find “Windows Explorer,” right-click it, and choose “Restart.” Then retry. - Check disk space. Right-click the drive where you are extracting and select Properties. If less than 1 GB is free, free up space or extract to another drive.
- Disable real-time antivirus temporarily (only if you trust the ZIP file). Re-enable it immediately after extraction.
How to Test if the ZIP File Is Corrupted
Windows does not tell you why extraction failed, so you need to verify the archive yourself. The simplest way is to open the ZIP and try to extract a single small file. If that fails too, the archive is likely damaged.
For a proper test, use a third-party tool. 7-Zip (free, open source) can test an archive: right-click the file, choose 7-Zip > Test archive. It will report “Everything is Ok” or list the specific file that is broken. WinRAR has a similar “Test” button. If the test shows errors, the original download is bad — download the file again, preferably from the original source, and try again.
Use a Different Extraction Tool
Windows’ built-in extractor is minimal. A dedicated tool handles more formats and is more forgiving with minor corruption. The two most common free options are:
- 7-Zip — supports ZIP, 7z, RAR (extract only), and many others. Right-click the file and choose 7-Zip > Extract Here.
- WinRAR — trial version works indefinitely for extraction. Right-click and choose Extract Here.
These tools also bypass the 260-character path limit in many cases (7-Zip has an option to enable long paths). If the archive opens in 7-Zip but not in Windows, the issue is almost certainly the path length or a compression method Windows does not support.
Fix Long Path and Permission Issues
If the ZIP contains files with very long names (common with Node.js projects or design files), Windows’ built-in extractor fails. The fix is to extract to a short root folder, like C:\extract\, and then move the folder to its final location. If you still get the error, enable long paths in Windows:
- Press
Win+R, typegpedit.msc(Pro/Enterprise only) and press Enter. - Go to Computer Configuration > Administrative Templates > System > Filesystem.
- Double-click Enable Win32 long paths, set it to Enabled, and restart.
If you do not have Group Policy (Windows Home), you can edit the registry manually, but it is safer to just use 7-Zip, which handles long paths without this change.
Permission errors occur when the destination folder is protected (like C:\Program Files). Extract to your Desktop or Documents folder instead, then move the files where you need them.
What to Do When the Archive Is Encrypted or Split
Password-protected ZIP files usually extract fine in Windows as long as you enter the correct password. If you are sure the password is right but extraction fails, the file may be corrupted or the encryption is non-standard (AES vs. the older ZipCrypto). 7-Zip and WinRAR support both; Windows only supports ZipCrypto. Use 7-Zip to extract AES-encrypted archives.
Split archives (e.g., file.zip.001, file.zip.002) are not supported by Windows’ built-in tool at all. You must use 7-Zip or WinRAR. Open the first part (.001) and extract — the tool will automatically use the other parts.
Frequently Asked Questions
Why does Windows say “cannot complete the extraction” but the file opens fine in 7-Zip?
This usually means the ZIP uses a compression method or filename encoding Windows does not support, or the path is too long. 7-Zip is more lenient. Extract with 7-Zip and you will likely succeed.
Can I fix a corrupted ZIP file without downloading it again?
Sometimes. If the corruption is minor, 7-Zip’s “Extract” may recover most files. WinRAR has a “Repair archive” feature (Tools > Repair archive) that can rebuild the archive, but it is not guaranteed. If the download was interrupted, the file is incomplete and cannot be fixed — download it again.
Why does extraction fail only for one specific file in the archive?
That file is likely corrupted or has an invalid name (illegal characters, trailing spaces, or a reserved name like CON). Extract the other files first, then try to extract just that file with 7-Zip. If it fails, the file is damaged and cannot be recovered.
Does the destination drive need a specific file system?
Yes. FAT32 cannot store files larger than 4 GB and does not support long paths well. If you are extracting to a USB drive formatted as FAT32, switch to NTFS or exFAT. Right-click the drive, select Format, and choose NTFS (this erases the drive, so back it up first).
Is there a way to extract without any third-party software?
Yes, you can use PowerShell. Open PowerShell, navigate to the folder with the ZIP, and run: Expand-Archive -Path file.zip -DestinationPath C:\extract. This sometimes succeeds when the GUI fails, but it has the same limitations as File Explorer. For serious corruption, third-party tools are still the best option.
Preventing the Error in the Future
Most extraction errors come from bad downloads. Always download files from the official source and check the file size against the site’s listed size. If the download manager shows a smaller size, the file is incomplete. Also, avoid extracting ZIPs directly to network drives or cloud-synced folders (like OneDrive) — sync software can lock files mid-extraction. Extract to a local folder first, then move the files.
If you create ZIP files yourself, use 7-Zip or WinRAR to create them with standard ZIP settings. Windows’ “Send to > Compressed folder” is fine for basic use, but it sometimes creates archives that other tools read incorrectly. For large folders with deep paths, use 7-Zip’s “Store” or “Normal” compression to avoid future issues.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Find Leaked Passwords in Chrome, Edge, Wallet & iCloud Keychain
- Fingerprint Limit Reached on MacBook Pro: Fix It
- WhatsApp Call Errors: Meanings & Fixes
- Error 0x8007025d: Fix Windows Install Fails
- Net Framework 3.5 Installation Error 0x800f0950
- How to Organize Google Photos with Face Groups & Labels