Outlook: “Can’t Create File” Error When Opening Attachment

When you try to open a file attachment in Outlook, you get an error:

Can’t create file: filename. Right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder.

This problem occurs usually when Outlook cannot access the temp file the file is linked to. To resolve this problem, try the following steps.

  1. Hold the Windows Key, then press “R” to bring up the Run dialog box.
  2. Type “Regedit“, then press “Enter“.
  3. Click “Edit” > “Find” and type “OutlookSecureTempFolder“.
  4. When regedit has found the entry, it will tell you where your Outlook temporary files are stored. It will look similar to on of the following:
    • C:\Users\username\AppData\Local\Microsoft\Windows\INetCache\Content.Outlook\randomnumber\
    • C:\Documents and Settings\username\Local Settings\Temporary Internet Files\OLKrandomnumber
  5. Bring up the File Explorer, then navigate to the location in the registry key.
  6. Delete all of the files in this folder.
  7. Restart Microsoft Outlook and you should be able to open your attachment.


  1. AN NGUYEN says

    Thank for solution. My IT helpdesk cannot figure out why Outlook cannot create file :v

  2. Matt says

    Thank you for this solution. Worked like a charm on an issue I was having with Office 365 encrypted emails.

Leave a Reply

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