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

Outlook SecureTemp Files Folder

Slipstick Systems

› Outlook › Outlook SecureTemp Files Folder

Last reviewed on May 23, 2018     91 Comments

When you open attachments from the email message before saving to the hard drive, Outlook places copies in the SecureTemp folder. This folder is a hidden folder under Temporary Internet files.

Background: When you open attachments on email directly from Outlook, a copy is written to a temporary folder on your hard drive so your the virus scanner can check it before it is opened. The folder Outlook writes this temp file to is under the Temporary Internet Files folder where IE writes pages to when you surf the internet. This offers more security as only your user account and the computer administrator account can view the files under this folder. The only way to avoid "losing" attachments in this well hidden folder is to save them to your hard drive, before opening. Few people do this (myself included).

These files are supposed to be deleted when you close the opened attachment, however this only happens if the email message the attachment arrived on remains open - this is either an opened message in a new window or in the reading pane. When the message is closed (or you wait to preview another message) after the attachment is closed, the temporary file is deleted from the SecureTemp folder. If you close the open message or display another Outlook item in the reading pane but leave the attachment open, the temp file is not deleted when you close the attachment.

When this folder gets "full" you may have problems opening email attachments or embedded images won't display. If you open image attachments in Windows Photo or Image viewer and click next, you may see old images you thought you deleted. Delete the files in the folder to fix. See clean the SecureTempFolder automatically for VBA code to clear the folder, either every time you close Outlook or only when you want to make sure the folder is empty.

Outlook 2016

The user-hive registry keys do not work with Outlook 2016 (Outlook overrides it with the default location), however adding it to the Policies path will work. However, because Outlook 2016 does a better job of cleaning up the SecureTemp folder, attachments you open may be deleted from the folder except when messages are closed while their attachments are open.

HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\outlook\Security
String (REG_SZ): OutlookSecureTempFolder
Value: path to folder

To open the folder where the SecureTemp folder Outlook is using is stored, type or paste the following into the address bar of File Explorer and press Enter.

C:\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook

You can use this shorter version instead:
%localappdata%\Temporary Internet Files\Content.Outlook

SecureTemp Location for Outlook 2010 & 2013

Beginning with Outlook 2010, Outlook does a better job at cleaning up the secure temp files and it's possible you will not find the secure temp folder or files in the secure temp folder.

To quickly jump to the Temporary Internet Folder (TIF) in Windows 7 and above, type shell:cache in the Start menu's Search field and press Enter. This will open Windows Explorer to the TIF file. Outlook's SecureTemp folder should be visible (Content.Outlook or OLK*). If not, go to Windows Explorer's Organize, Folder and Search Options menu. On the View tab, enable the option to show Hidden Files and Folders.

In Vista, Windows 7/8/10 and newer, Outlook's secure temp folder is at C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook\8A0VMD3A, where 8A0VMD3A can be any random characters.
Type or paste this shortcut into the address bar of File Explorer to open the location:

%localappdata%\Temporary Internet Files\Content.Outlook

You can copy and paste the command found in the correct textbox (above) into the address bar of Windows Explorer then press Enter to jump to the SecureTemp folder, where you'll see the subfolder with the random character name. Using this method does not require you to change the hidden files and folder setting.

Outlook 2007

Outlook 2007 uses C:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.Outlook\8A0VMD3A, where 8A0VMD3A can be any random characters.

To jump to this folder, type shell:cache in the address bar of File Explorer. If you have the option set to Show hidden files and folders, you'll see the Content.Outlook folder, if not, type Content.Outlook at the end of the path.

In Vista and newer, the Temp Internet folder is at:
C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook

%localappdata%\Temporary Internet Files\Content.Outlook

The shortcut for Outlook 2007 files on Windows XP is:

%USERPROFILE%\Local Settings\Temporary Internet Files\Content.Outlook

You can copy and paste the command found in the correct textbox (above) into the address bar of Windows Explorer then press Enter to jump to the SecureTemp folder, where you'll see the subfolder with the random character name. Using this method does not require you to change the hidden files and folder setting.

Find or move SecureTemp using the registry

The location of the Securetemp is stored in the registry and you can change the path to point to a new location (which is easier to access and clear), but be sure the new folder exists before changing it in the registry. The OutlookSecureTempFolder string value is stored in the following key for your version of Outlook. If the path in the path in the registry is not valid, you will have red x's for images.

Outlook 2013

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security

Outlook 2010

HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security

Outlook 2007

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security

Note: If the folder does not exist, the key will be reset to a new OLK* or Content.Outlook folder under Temporary Internet Files.

More Information

Red X's in Email
Attachments remain in the Outlook Secure Temporary File folder when you exit Outlook 2003 or Outlook 2007 (Microsoft KB)
More Shell shortcuts: Easy Access to System Folders in Windows 7 and Vista

Outlook SecureTemp Files Folder was last modified: May 23rd, 2018 by Diane Poremsky

Related Posts:

  • Opening XML files in Outlook
  • To Change the Default Attachment Folder
  • Outlook could not create the work file
  • Red X's in Email Messages

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
91 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

kazim
August 23, 2023 6:22 am

Thank you very much for this! it worked , was able to recover the file.

0
0
Reply
Heather
June 21, 2023 1:05 am

If my file is not in this location, i assume it means it was deleted when i closed the attachment. Do I have any other options to recover it? I checked the recycle bin and didn't see it there. Is there any location where i can see deleted files from this temp storage?

0
0
Reply
David
September 15, 2022 4:00 pm

Thank you for this - you saved me a lot of time and effort!

1
0
Reply
Sunil
October 23, 2021 10:47 am

Very nice and useful. Thank you

0
0
Reply
Betsy
August 23, 2021 8:54 pm

THANK YOU! You saved me from losing ~4 hours of work today that I saved unknowingly in a document that was opened from an attachment.

0
0
Reply
Tim
March 9, 2021 6:51 pm

Cannot begin to tell you how much this saved my life.

0
0
Reply
Monica
January 19, 2021 12:42 pm

This worked for me, and I was able to recover an important file by following the instruction to paste the below into File Explorer:

C:\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook

Thank you so, so much, this was a lifesaver!

3
0
Reply
Azure Helper
October 14, 2020 8:07 am

best and easiest is to search for the document/s name on the C drive. This is the path i discovered the document on

C:\Users\*username*\AppData\Local\Microsoft\Windows\INetCache\Content.Outlook\8klklk

4
0
Reply
ThanksAzuerHelper
Reply to  Azure Helper
September 15, 2021 8:46 pm

You are my savior...saved 5 hours of my work

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
  • Disable "Always ask before opening" Dialog
  • iCloud error: Outlook isn't configured to have a default profile
  • Shared Mailboxes and the Default 'Send From' Account
  • Use Classic Outlook, not New Outlook
  • Make 'Today' stand out more in the calendar
  • How to Remove Holidays From the Default Calendar
  • Duplicate Remover Tools
  • To Prevent SMTP Relaying
  • Outlook and iCloud: What you need to know
  • Add Attachments and Set Email Fields During a Mail Merge
  • 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