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

Disable Protected View for Outlook Attachments

Slipstick Systems

› Outlook › Disable Protected View for Outlook Attachments

Last reviewed on January 14, 2019     25 Comments

Applies to: Outlook (classic), Outlook 2010

Protected view is a new security feature for all Office documents which arrive in email or are downloaded from Internet sources. This is a security sandbox used by Office 2010 to enhance attachment security. Administrators will be able to control whether all email attachments or only those from outside their Exchange network use Protected view.

How it works: When an emailed (or downloaded) document is opened, a red band appears at the top of the document to alert the user that the document is in protected view and cannot be edited. If the user trusts the document, they click the Enable editing button to begin editing. All attachments are read-only.

When a document that was previously attached to an email (or downloaded from the Internet) is opened, the red message bar states "This file originated as an email attachment " or "This file was downloaded from the Internet". The application knows this because Windows uses the Attachment Execution Service to place a zone identifier in an alternate data stream of the file which indicates it was downloaded from the Internet Zone. When Word, Excel, or PowerPoint opens the file and sees this marker it knows to open the file within Protected View and the user sees the red bar.

This setting opens all Office documents in a read-only state and you need to click a button before you can edit the document. (To save the document, you'll need to use Save as - see "Edit and Save Outlook's Read-Only Attachments" if you want to save documents back to the email message.)

protected view information bar warning
To change the Protected view setting, you need to make the change in each Office application.

Go to the File, Options Trust Center dialog and select Protected View. Disable the option to enable it for Outlook attachments. (You may also want to disable it for files originating from the Internet.)
Disable Protected view

Once you do this, you'll get the Open/Save dialog, which can be disabled by editing the registry. The instructions to do this are below.
Open Save dialog warning

Disable the Open Save dialog

Note: I recommend making this change only for the document types you open often.

In each of the following keys, add or edit the EditFlags binary value so the value is 00 00 01 00

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Sheet.12
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PowerPoint.Show.12
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12

Or use our prepared reg file that sets the EditFlags value for Word (docx, doc), Excel (xlxs, xls) and Powerpoint (ppts, ppt) files.
EditFlags for Word, Excel, and Powerpoint

For more information, see Restore (or Hide) the Open Save Dialog

How to disable Protected view

More Information

  • Restore (or Hide) the Open Save Dialog
  • Outlook 2010 & Read-Only Attachments
  • Protected View in Office 2010 (Office team blog)
Disable Protected View for Outlook Attachments was last modified: January 14th, 2019 by Diane Poremsky
Post Views: 148

Related Posts:

  • How to check your Macro and Protected View Settings
  • Block Macros in Office 2013/2016
  • Outlook and the latest RTF Exploits
  • Don’t be fooled by unexpected attachments!

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.

Comments

  1. James Martin says

    January 18, 2022 at 3:26 pm

    As a test I did the Macro X in Excel, it works, and possibly the References are better for me as the ScreenUpdating is not lowercase:

    Sub ExcelFileClose()

    'SOURCE: james.martin@birmingham.gov.uk jam61mar@gmail.com
    'May be simpler vba to do this but I could not work out other methods, this works.

    Dim ProtectedViewWindow
    Application.ScreenUpdating = False

    If Excel.Application.ProtectedViewWindows.Count >= 0 Then GoTo Normal
           
    'this formula counts open and recent (viewable via right clicking on WordApp in Taskbar).
    Protected: If Excel.Application.Workbooks.Count >= 0 Then GoTo NoDoc
           
    NoDoc:   If Excel.Application.ProtectedViewWindows.Count = 0 Then
          Exit Sub
          End If
           
          Excel.Application.ActiveProtectedViewWindow.Edit
          Excel.ActiveWorkbook.Close
          Exit Sub
             
    Normal:   On Error GoTo Protected
          Excel.ActiveWorkbook.Close
          Exit Sub

    Application.ScreenUpdating = False
    End Sub

    Reply
  2. James Martin says

    January 18, 2022 at 3:17 pm

    Couldn't add to my first reply just now:

    Sub WordFileClose()
    Word.Application.screenupdating = False

    'SOURCE: jam61mar@gmail.com
    'May be simpler vba to do this but I could not work out other methods, this works.

    Dim ProtectedViewWindow

    If Word.Application.ProtectedViewWindows.Count >= 0 Then GoTo Normal

    'this formula counts open and recent (viewable via right clicking on WordApp in Taskbar).
    Protected: If Word.Application.Documents.Count >= 0 Then GoTo NoDoc
           
    NoDoc:   If Word.Application.ProtectedViewWindows.Count = 0 Then
          Exit Sub
          End If
           
          Word.ActiveProtectedViewWindow.Edit
          Word.ActiveDocument.Close
          Exit Sub
             
    Normal:   On Error GoTo Protected
          Word.ActiveDocument.Close
          Exit Sub

    Word.Application.screenupdating = True
    End Sub

    Reply
  3. James Martin says

    January 18, 2022 at 3:16 pm

    I resolved Protected View in a simple macro which I call Macro X for Word. I have the "X" symbol on the Quick Access Toolbar. Basically I resolved multiple Word Apps in your Slipstick Macro to save an Outlook Item to docx (followed the changes to the pdf version and to add the email header). and your save attachments to a temp folder. I use another macro from another site to import the images to the active docx.

    Basically I don't want to close down Active Word App with the right hand top corner X. as this drains the computer and you can get multiple Apps open. So I wanted to replace Word>>> File >>>Close with a single click on the QAT. The macro is straight forward for a normal word or rtf file that is active. The code to do nothing if accidently pressed if no file is open in the Word App is also not too difficult. But with Protected documents that we download from a client online browser database, to check, the macro did not recognise a word file. So I had to make it editable before closing. Unfortunately the active window can not be counted definitively that it has a protected view file. Only any protected view file in any window is counted and even in the Recent list if you right click the Word App. Anyway I used some workarounds to trap each possibility. This looks a bit mad to go to this much trouble. But I use this all day and as soon as I use it 53 times, for my standard work hours this saves 2% of my working day if 10 seconds is saved on average every time. I use this a couple of hundred times a day... This is not the main time saving macros I use... (I have problems with ScreenUpdating going lowercase - not resolved yet):

    Reply
  4. Dan Mortenson says

    July 7, 2017 at 5:48 pm

    Have a new install of Office 2016 on a small office, one user is fine, the other user is getting
    "Word experienced an error trying to open the file.."
    I have turned off protected view and repaired Office but the error persists.
    It was an upgrade from Office 2007.
    This error occurs outside of Outlook if the attachment is saved locally.

    Reply
    • Diane Poremsky says

      July 15, 2017 at 10:00 am

      Did you right click on the file and select properties then click unblock? This is a security feature for attachments from outside sources.

      Reply
  5. susan says

    June 27, 2017 at 10:38 am

    Hi. I keep getting this message
    Outlook blocked access to the following potentially unsafe attachment. I have received .xls files from this email address for over 10 years, but it will not let me open them, what do I need to do?

    Reply
    • Diane Poremsky says

      June 28, 2017 at 12:29 am

      That sounds like the new security patch from June 13 broke it. Did you ever set a lwvel1remove key for that file type? The patch is ignoring the key - it should be fixed in the updates coming out this week. (That key is not needed for xls files.)
      https://www.slipstick.com/outlook/updates/outlooks-june-13-2017-security-update/
      https://support.office.com/en-us/article/Outlook-known-issues-in-the-June-2017-security-updates-3f6dbffd-8505-492d-b19f-b3b89369ed9b

      Reply
  6. Mark Cabaneiro says

    February 13, 2017 at 2:19 pm

    already disabled the protective view settings and my excel still hanging....what should i do?

    Reply
    • Diane Poremsky says

      February 14, 2017 at 12:31 am

      What addins do you have installed? Does Excel hang other times?

      Reply
  7. Tinus says

    June 20, 2016 at 2:07 pm

    Protected view option missing in OUTLOOK. How can this be fixed. I cannot open any attachment from in outlook.

    Reply
    • Diane Poremsky says

      June 21, 2016 at 12:46 pm

      That option is set within each office app and applies to their file types. Are all attachments affected, word, psf, excel, jpg, etc? It's unlikely to be protected view if pdf and images are also affected.

      Any error messages?

      Reply
  8. D Gott says

    July 18, 2015 at 1:02 am

    my problem is that I cant receive an excel file which has a pass word on it. I get the following warning. “The original message contained a virus. The virus has been cleaned. You may want to notify the sender of the virus.” but we had received the same document earlier without problems when it contained no pass word.

    Reply
  9. David says

    September 8, 2014 at 6:59 pm

    This did not work. Something else must be forcing read only.

    Reply
  10. Donna Nock says

    June 5, 2014 at 4:41 pm

    Unfortunately, I no longer have a protected view line to click on.

    Reply
    • Diane Poremsky says

      June 5, 2014 at 6:46 pm

      Are you looking at the Excel options? Protected view is an set in each application, not Outlook.
      Excel option

      Reply
  11. Donna Fournier Nock says

    June 5, 2014 at 12:14 pm

    How do I re-enable the protected view for Excel files in Outlook? I want to be able to decide to unprotect a spreadsheet instead of them automatically being unprotected.

    Reply
    • Diane Poremsky says

      June 5, 2014 at 3:42 pm

      This is set in Excel's File, Options, Trust Center, Protected View

      Reply
  12. aberman7@gmail.com says

    February 18, 2014 at 9:36 am

    Prepared to be stumped :)
    I've been locking down printing of excel files at work, via gpo.
    I've plugged every whole but one - when inserting an excel file in outlook, a user can right click on the file and choose quick print which will shell out, open excel and and pass a print command, circumventing everything :( There are control identifiers to block quick print from right clicking on an attachment in outlook, but that only works on a received email, not when inserting an excel file as an attachment prior to sending.

    Reply
    • Diane Poremsky says

      February 18, 2014 at 10:36 am

      So everything is blocked if you open the file directly in Excel but not if you open the Excel file from Outlook?

      Reply
  13. ERCarrera says

    September 14, 2013 at 11:05 am

    Dear Ms. Diane Poremsky,
    I have been breaking my brain trying to get the Protected View to show up on the Trust Center in Outlook 2013 (Office 2013 Pro Plus) running on Windows 7 x64. I have searched and searched to no avail to find the cause of this. My office will not repair itself as well even with a disc insterted.
    Please help!

    Reply
    • Diane Poremsky says

      September 14, 2013 at 1:29 pm

      Protected View should be on the attachment's Trust center dialog, not Outlook's.

      Reply
    • Diane Poremsky says

      September 14, 2013 at 1:31 pm

      Oh, and on repair - does repair not fix it or is repair not an option? A recent update - we think the ones in the bad update on Sept 13 -removed Repair as a option (unintentional).

      Reply
  14. AJ says

    August 21, 2013 at 1:18 am

    This was helpful, however, after removing the checkboxes in the Trust Center under PowerPoint, I am still getting a hang from Powerpoint, when opening files directly from an email attachment. If it is saved locally first, there is no issue.

    Reply
    • Diane Poremsky says

      August 21, 2013 at 4:22 am

      It's possible the hang is unrelated to the protected view settings. What antivirus do you use? Outlook saves the files to the securetemp folder, where they are scanned before opening.

      Also, have you tried repairing your office installation?

      Reply
      • Mark Fonseca says

        October 1, 2021 at 1:18 am

        I am trying to remove the "Opening Mail Attachment" dialog that comes up when opening attached PDFs in Outlook 2013. Is that possible?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

Latest EMO: Vol. 31 Issue 7

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
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • How to Hide or Delete Outlook's Default Folders
  • Disable "Always ask before opening" Dialog
  • Change Outlook's Programmatic Access Options
  • Removing Suggested Accounts in New Outlook
  • Understanding Outlook's Calendar patchwork colors
  • This operation has been cancelled due to restrictions
  • Shared Mailboxes and the Default 'Send From' Account
  • Sync Issues and Errors with Gmail and Yahoo accounts
  • Error Opening iCloud Appointments in Classic Outlook
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • 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
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

Sync Issues and Errors with Gmail and Yahoo accounts

Error Opening iCloud Appointments in Classic Outlook

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

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

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 © 2026 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.