• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

OWA saves .docx and .xlsx file as .zip

Slipstick Systems

› Exchange Server › OWA › OWA saves .docx and .xlsx file as .zip

Last reviewed on February 8, 2018     6 Comments

We've had a lot of complaints about OWA saving Office 2007 files using the zip extension the last few weeks. It's an old issue and I'm surprised at the number of times it's come up recently. My best guess is that a lot of organizations with Exchange 2003 are only now upgrading to Office 2007.

The problem: When any Office 2007 attachment (.docx, .xlsx, etc) is opened from OWA, the user is asked to save the document before they open it. When they do this, the default extension is .zip. If the user changes it to the correct extension before opening, the file opens correctly.

This happens because the Office 2007 MIME file types are not configured on the web server and the users browser does not know how to open the files. If IE is configured to open files based on the file header, it identifies the file as a zip, which is technically correct.

The administrator can fix it sitewide by adding the Office 2007 file types to the MIME settings on the server.

On the user side, IE has an option to open files based on content, not extension. The user should add the OWA URL to the Trusted (or Local Intranet) list and disable the option to open files based on the content. It's in IE's Tools, Internet Options, Security tab, Trusted sites (or Local Internet). It's near the bottom of the settings in the Custom level dialog.

If the administrator hasn’t updated the server and global policy prevents the user from changing the IE settings, an old Windows trick allows users to correct the extension before saving. Replace zip with the correct extension and enclose the full filename in quotes before saving it, as in this example:
"my_file.docx"

Workaround

If the administrator hasn’t updated the server and global policy prevents the user from changing the IE settings, an old Windows trick allows users to correct the extension before saving. Replace zip with the correct extension and enclose the full filename in quotes before saving it, as in this example:
"my_file.docx"

Add Office 2007 MIME types to IIS

For the sites that have not yet added the Office 2007 MIME types to the OWA server, administrators can add them in one step. Begin by stopping the IIS service then edit the metabase XML file using a text editor. The metabase XML file is at C:\WINDOWS\system32\inetsrv\MetaBase.xml.

Search for the IIsMimeMap Location element and append the following lines to the MimeMap attribute

.docm,application/vnd.ms-word.document.macroEnabled.12
.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotm,application/vnd.ms-word.template.macroEnabled.12
.dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template
.potm,application/vnd.ms-powerpoint.template.macroEnabled.12
.potx,application/vnd.openxmlformats-officedocument.presentationml.template
.ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12
.ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12
.ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow
.pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12
.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation
.xlam,application/vnd.ms-excel.addin.macroEnabled.12
.xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12
.xlsm,application/vnd.ms-excel.sheet.macroEnabled.12
.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltm,application/vnd.ms-excel.template.macroEnabled.12
.xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template

Open files based on Content

Internet Options dialogIE has an option to open files based on content, not the extension and this can cause issues.

First, the user needs to add the OWA URL to the Trusted (or Local Intranet) list.

Next, disable the option to open files based on the content. It's in IE's Tools, Internet Options, Security tab, Trusted sites (or Local Internet). It's near the bottom of the settings in the Custom level dialog.

For best security, do not enable this option in the Internet zone.

OWA saves .docx and .xlsx file as .zip was last modified: February 8th, 2018 by Diane Poremsky

Related Posts:

  • .XNK Extension Error: "Cannot Open File"
  • Script to remove all PST files from a profile
  • Outlook creates a folder named "gliding"
  • Move an Outlook Personal Folders .pst File

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Subscribe
Notify of
6 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

sunny
April 8, 2013 4:59 am

Hi,
I am facing this issue but the setting at End-user not working. we are not using MIME too.

some of the users are facing this problem.

0
0
Reply
Diane Poremsky
Reply to  sunny
April 8, 2013 7:36 am

Do you know which version of OWA you are using?

0
0
Reply
rob
November 28, 2012 11:58 am

happy to say that it works. thanks again

0
0
Reply
rob
November 23, 2012 8:29 am

thank you kindly for the fast response. i will implement and let you know

0
0
Reply
rob
November 21, 2012 10:49 am

hello

i have 10 FE exchange servers serving OWA and 7 back-end servers as mailboxes.
where should i make those changes?

0
0
Reply
Diane Poremsky
Reply to  rob
November 21, 2012 12:01 pm

On the OWA servers.

0
0
Reply

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 30 Issue 33

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Use Classic Outlook, not New Outlook
  • Disable "Always ask before opening" Dialog
  • Reset the New Outlook Profile
  • iCloud error: Outlook isn't configured to have a default profile
  • Shared Mailboxes and the Default 'Send From' Account
  • Make 'Today' stand out more in the calendar
  • Display Teams Calendars in Outlook
  • Adjusting Outlook's Zoom Setting in Email
  • Outlook for Mac: Read Receipts
  • Duplicate Remover Tools
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New Outlook
  • New Outlook: Show To, CC, BCC in Replies
  • Insert Word Document into Email using VBA
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New Outlook

New Outlook: Show To, CC, BCC in Replies

Insert Word Document into Email using VBA

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2025 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.

:wpds_smile::wpds_grin::wpds_wink::wpds_mrgreen::wpds_neutral::wpds_twisted::wpds_arrow::wpds_shock::wpds_unamused::wpds_cool::wpds_evil::wpds_oops::wpds_razz::wpds_roll::wpds_cry::wpds_eek::wpds_lol::wpds_mad::wpds_sad::wpds_exclamation::wpds_question::wpds_idea::wpds_hmm::wpds_beg::wpds_whew::wpds_chuckle::wpds_silly::wpds_envy::wpds_shutmouth:
wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment