How to Prevent OneDrive from Displaying ZIP File Contents
Question details
The user wants to stop OneDrive from showing the internal contents of uploaded ZIP files, ensuring that recipients are forced to download the entire ZIP archive rather than individual files.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Sharing a ZIP archive via OneDrive where the sender wants the recipient to download the complete package without browsing its contents online.
- Observed behavior
- OneDrive automatically displays the contents of uploaded ZIP files and allows individual file downloads, which can cause download errors and hit Microsoft's 10 GB limit for extracting individual files.
Microsoft OneDrive does not currently feature a built-in toggle to disable the ZIP preview function. You will need to use alternative packaging methods to bypass OneDrive's automatic extraction.
Password Protect the ZIP Archive
Encrypting your ZIP file prevents OneDrive from reading its contents, forcing users to download the entire file to view what is inside.
Because OneDrive cannot decrypt password-protected archives on the web, it will bypass the preview screen and only offer a 'Download' button for the whole archive.
Use a file archiving tool like 7-Zip or WinRAR. Select the files you want to compress, choose 'Add to archive', and enter a password in the encryption section.
Upload the newly created password-protected ZIP file to your OneDrive account.
Generate a sharing link for the file in OneDrive and send it to your recipient. Provide them with the password through a secure, separate communication channel.

Temporarily Rename the File Extension
Changing the file extension stops OneDrive from recognizing the file as a ZIP archive, disabling the online preview feature.
Submit a Feature Request to Microsoft
Since there is no native setting to hide ZIP contents, submitting feedback directly to Microsoft helps prioritize this feature for future updates.
Experience Seamless File Management with WPS Office
If you are frustrated by cloud storage limitations or missing features in your current setup, consider switching to WPS Office. It provides a comprehensive, lightweight office suite with excellent compatibility with Microsoft Office formats, plus integrated WPS Cloud for smooth and secure file sharing.

Frequently Asked Questions
What is the file size limit for downloading files from a ZIP in OneDrive?
OneDrive has a strict 10 GB limit for downloading individual files extracted directly from a ZIP archive via the web interface. If a file inside the ZIP exceeds this size, the download will fail.
Can I disable the ZIP preview feature in OneDrive settings?
No, Microsoft currently does not provide a built-in toggle or setting in OneDrive to disable the ZIP preview feature or hide archive contents.
Why do I get download errors when downloading from a shared ZIP on OneDrive?
Errors usually occur because the browser times out while OneDrive attempts to extract and stream large individual files, or because the specific file you are trying to view exceeds the 10 GB online extraction limit.
Does renaming a ZIP file corrupt its contents?
No, changing a file's extension (e.g., from .zip to .bak) does not alter the underlying data. Once the file is downloaded and renamed back to .zip, it will function normally.




