
When an Outlook attachment won’t open, the message you see (or the lack of one) tells you which of five things is wrong: Outlook blocked the file type, Office opened it in a safe read-only mode, the preview tool failed, Windows doesn’t know which app opens it, or Outlook can’t write the temporary copy it needs.
Start with a two-minute test. Save the attachment to your Desktop and double-click it there. If it opens, Outlook’s preview or temp folder is the problem. If it doesn’t, the issue is the file or the app that opens it. If you can’t even save it, Outlook or your company has blocked that file type.
Try these first
- Save the attachment to your Desktop and open it from there.
- Open the same message in Outlook on the web and try the attachment there.
- If a Word or Excel file opens with a yellow bar, select Enable Editing only if you trust the sender.
- Ask the sender to share a OneDrive or SharePoint link instead of attaching the file.
- Make sure an app is installed that opens that file type, such as a PDF reader.
- Restart Outlook; temp-folder errors often clear after a full restart.
Match the message to the cause
| What you see | Cause | Go to |
|---|---|---|
| Outlook blocked access to the following potentially unsafe attachments | File type is on Outlook’s blocked list | Blocked file types |
| Access to attachments has been blocked, or just “1 Attachment” (Outlook on the web) | Outlook on the web policy blocks that type | Blocked file types, admin section |
| Yellow or red bar in Word, Excel or PowerPoint; can’t edit | Protected View | Protected View and blocked macros |
| Spreadsheet opens but macros are blocked | Files from email are marked as coming from the internet | Protected View and blocked macros |
| Preview pane shows an error or nothing | Previewer missing, disabled or mismatched | Preview problems |
| Double-click does nothing, or Windows asks how to open it | No default app for that file type | Default apps |
| Cannot create file | Outlook’s secure temp folder is full or broken | The temp folder fix |
| The only attachment is winmail.dat | Sender’s Outlook sent Rich Text format | winmail.dat |
Blocked file types: why Outlook won’t let you open them
Outlook blocks file types that can run code, because they’re a common way to deliver malware. Microsoft’s list includes program and script files such as .exe, .bat, .cmd, .js, .vbs, .ps1, .msi, .reg and .scr, plus some you might not expect: .iso, .img, .vhd, .url, .lnk, .py, .jar, .mdb and .pst. Classic Outlook shows the file name but won’t let you open or save it, and Outlook on the web shows a placeholder.
Don’t try to get around the block yourself. The safe options are:
- Ask for a cloud link. The sender uploads the file to OneDrive, SharePoint or Google Drive and sends a link. This is the cleanest fix and works for large files too.
- Ask for a zip file. Outlook doesn’t block .zip. The sender right-clicks the file and chooses Send to > Compressed (zipped) folder. Your company’s email filtering may still scan or quarantine it.
- Confirm the sender first. An unexpected .iso, .html or script file “from” a coworker or vendor is a classic phishing trick. Call them on a number you already have before opening anything.
If your business really needs to receive a blocked type, that’s an admin decision, covered in the admin section below.
Protected View and blocked macros
Office opens attachments in Protected View, a read-only sandbox, so a malicious document can’t do anything while you look at it. You’ll see a yellow bar that says email attachments can contain viruses, with an Enable Editing button. Select it only when you trust the file. A red bar means the file failed Office’s validation check; use File > Edit Anyway only if you’re sure it’s genuine, and otherwise ask the sender for a fresh copy.
If files keep opening blank or freezing in Protected View, the settings live in each Office app, not Outlook: in Word or Excel, File > Options > Trust Center > Trust Center Settings > Protected View, where Enable Protected View for Outlook attachments is listed. Leave it on. If documents only display properly with it off, repair Office or update the graphics driver instead of removing the protection.
Macros blocked in a spreadsheet or document
Microsoft blocks macros by default in Office files that come from the internet, and email attachments count. A red banner says macros have been blocked because the source is untrusted. For a file you genuinely expect, such as a vendor’s order form:
- Save it to a folder on your PC.
- Right-click it, choose Properties, tick Unblock on the General tab if it appears, and select OK.
- Open it again.
If there’s no Unblock box, or the banner returns, your organization’s policy is blocking internet macros, and only an admin can make an exception. That’s usually the right outcome for macro files from strangers.
Preview problems and default apps
The preview fails but the file is fine
Classic Outlook previews attachments with small helper programs called previewers. The Word, Excel and PowerPoint previewers only work when those apps are the same version as Outlook, and when Word, Excel, PowerPoint and Outlook all use the same User Interface options setting (Optimize for best appearance or Optimize for compatibility). A mix of old and new Office apps on one PC is a common cause.
To check them, go to File > Options > Trust Center > Trust Center Settings > Attachment Handling. Turn off Attachment Preview must be cleared, and Attachment and Document Previewers lists each previewer with a checkbox. PDF previews depend on your PDF app installing its own previewer; if PDFs won’t open anywhere on the PC, see Adobe Acrobat not opening.
Double-clicking does nothing
Outlook hands the file to whatever Windows uses for that type. In Windows 11, open Settings > Apps > Default apps, type the extension (for example .pdf or .docx) into the box for setting a default for a file type, and choose the right app. If no suitable app is installed, install one first. A file that won’t open in any app after saving may simply be damaged in transit; ask for it again.
Rather have a technician sort it out?
If attachments still won’t open, a technician can connect remotely with your approval, check Outlook’s security and temp-folder settings and the apps that should open each file type. A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 per fix, Mon–Fri 8am–8pm ET.
The temp folder fix for "Cannot create file"
Classic Outlook opens each attachment from a hidden temporary folder. If old copies pile up there, or the folder is missing, you get Cannot create file with a note about checking folder permissions. It’s often reported after Outlook has opened many attachments with the same name, such as scans that are all called scan.pdf, or after Outlook closed while an attachment was still open.
- Close Outlook.
- Press Windows key + R, type
regeditand press Enter. Go toHKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security(16.0 covers Microsoft 365 and Office 2016 through 2024). - Double-click OutlookSecureTempFolder and copy the path. Select Cancel and close Registry Editor without changing anything.
- Paste the path into File Explorer’s address bar and press Enter. It usually points to a randomly named folder under Content.Outlook.
- Delete the files inside that folder, not the folder itself, then start Outlook again.
Before you delete, check you haven’t been editing an attachment directly from Outlook without saving it elsewhere. Changes made that way can sit only in this folder. Copy anything you need out first. You’re only reading the registry here; don’t edit or delete the value.
winmail.dat, new Outlook, the web and Mac
Everything arrives as winmail.dat
This is a sender problem. Their Outlook sent the message in Rich Text format, which wraps attachments in a Microsoft-only package that other mail apps show as winmail.dat. Ask the sender to switch their default message format to HTML (File > Options > Mail > Compose messages in this format) and resend. If it happens only for one recipient, they should delete that person’s suggested address from the To box’s autocomplete list and type the address fresh.
New Outlook and Outlook on the web
Selecting an attachment opens a preview inside Outlook. Use the arrow next to the attachment to choose Download, an app option like Open in Word where offered, or Save to OneDrive. If the preview spins forever, download the file and open it from your Downloads folder. When attachments won’t download in the browser for anyone, clear the browser’s cache or try another browser, and check Microsoft 365 service health; there have been service-side incidents affecting attachment downloads.
Outlook for Mac
Mac Outlook relies on the Mac’s own app associations. If a file won’t open, save it, then in Finder use Get Info > Open with to pick an app. Office files from email may also open in Protected View on the Mac.
For Microsoft 365 admins
- Outlook on the web blocked types. These come from the Outlook on the web mailbox policy.
Get-OwaMailboxPolicy | Format-List BlockedFileTypes,AllowedFileTypesshows the lists. Removing a type fromBlockedFileTypesand adding it toAllowedFileTypeswithSet-OwaMailboxPolicyunblocks it; Microsoft warns this increases risk and can take several minutes to apply. - Anti-malware common attachments filter. Microsoft Defender for Office 365 and Exchange Online Protection can quarantine whole file types before they reach anyone. If a user never received the file at all, check quarantine and the anti-malware policy rather than Outlook.
- Safe Attachments. With Dynamic Delivery, the message arrives first with a placeholder while the attachment is scanned. Users who think the attachment is broken may just be early.
- Macros from the internet. Microsoft’s internet-macro blocking can be managed with policy for files from trusted locations, which is safer than telling staff to unblock every file.
Setting attachment policies once for the whole office, instead of fixing each PC, is part of our Microsoft 365 management, and filtering of risky file types ties into email security setup.
When to stop and get help
- You opened an unexpected attachment and something ran, a window flashed or the PC started acting oddly. Disconnect it from the network and get help; see signs your business has been hacked.
- Every attachment fails, in every format, on one PC. That points to a damaged Office install or profile.
- The whole office suddenly can’t open a file type that worked last week. A policy or service change is more likely than many broken PCs.
Trust Center settings and registry paths aren’t everyone’s idea of a good afternoon; this is a typical $59 fix with our remote computer help. A technician connects with your approval while you watch, and you can end the session at any time.
Common questions
Is it safe to rename a blocked attachment so Outlook opens it?
Only when you’re certain the file is genuine and expected. Renaming defeats a protection that exists because those file types can run code. A safer route is asking the sender for a OneDrive or SharePoint link, or a zip file, and confirming with them by phone if the attachment was unexpected. Never rename a file from an unknown sender.
Why do PDF attachments open in a browser instead of Adobe Reader?
Outlook passes the file to whichever app Windows has set as the default for PDFs, and Microsoft Edge often claims that role. In Windows 11 Settings, go to Apps, then Default apps, search for .pdf and choose your PDF reader. New Outlook may also show its own preview first; download the file to open it in your chosen app.
Why can I open attachments on my phone but not in Outlook on my PC?
The mailbox is fine, so the problem is on the PC: a blocked file type in classic Outlook, a broken previewer, a missing default app or a full temp folder. Saving the attachment to the Desktop and opening it there quickly shows which. Phones also handle some file types with built-in viewers that a PC doesn’t have.
Can Outlook attachments contain viruses even if they’re Word or PDF files?
Yes. Office documents can carry malicious macros or links, and PDFs can contain links to fake sign-in pages. That’s why Office opens attachments in Protected View and blocks internet macros by default. Treat any unexpected attachment asking you to enable content, enable editing or sign in as suspicious until you’ve checked with the sender.
Where does Outlook save attachments I open without saving?
Classic Outlook puts a temporary copy in a hidden folder named in the OutlookSecureTempFolder registry value, usually under Content.Outlook. Changes you make there aren’t saved back to the email, so always use Save As to a normal folder before editing. New Outlook and Outlook on the web preview files online or download them to your Downloads folder.