OneDrive File Issues

How to Prevent OneDrive from Displaying ZIP File Contents

Muhammad TalhaMuhammad Talha Nov 2, 2026 869 views

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.

How to Prevent OneDrive from Displaying ZIP File Contents
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.
Before you start

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.

Solution 1Recommended

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.

1
Create an encrypted 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.

2
Upload to OneDrive

Upload the newly created password-protected ZIP file to your OneDrive account.

3
Share the file and password

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.

Password Protect the ZIP Archive
Guaranteed Download: This method completely eliminates the risk of users hitting the 10 GB individual file download limit online.
Free Microsoft Office alternative

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.

100% compatible with Microsoft Office formats (Word, Excel, PowerPoint)Built-in WPS Cloud for secure, hassle-free file sharing and collaborationLightweight design with a familiar, easy-to-use interfaceFree alternative to Microsoft Office without hidden online viewing limits
microsoft office alternative - wps office

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.