Clear Microsoft Office Cache

-->

Apr 07, 2021 Click Start, click All Programs, click Microsoft Office, click Microsoft Office 2010 Tools, and then click Microsoft Office 2010 Upload Center. In Upload Center, click Settings. Under Cached Settings, click Delete cached files. When you are prompted, click Delete cached information. Cache is a component of Microsoft Project that stores your project data locally on your computer, the concept exists to boost the speed in which data is retrieved. The functionality works in such a way that when you save a project for the first time, all the data information about that project is saved in the cache. Clear and reset Microsoft Store cache with the Registry. Advanced users may prefer to dig deep into the Windows 10 Registry and promptly clear cache with the right tools. The instructions below will guide you to reset the Microsoft Store cache by using the Registry app. Warning: Performing this method requires you to modify Registry.

You can remove an add-in that you've previously sideloaded on Windows, Mac, or iOS by clearing the Office cache on your computer.

Additionally, if you make changes to your add-in's manifest (for example, update file names of icons or text of add-in commands), you should clear the Office cache and then re-sideload the add-in using updated manifest. Doing so will allow Office to render the add-in as it's described by the updated manifest.

Note

To remove a sideloaded add-in from Excel, OneNote, PowerPoint, or Word on the web, see Sideload Office Add-ins in Office on the web for testing: Remove a sideloaded add-in.

Clear the Office cache on Windows

To remove all sideloaded add-ins from Excel, Word, and PowerPoint, delete the contents of the folder:

If the following folder exists, delete its contents too.

To remove a sideloaded add-in from Outlook, use the steps outlined in Sideload Outlook add-ins for testing to find the add-in in the Custom add-ins section of the dialog box that lists your installed add-ins. Choose the ellipsis (...) for the add-in and then choose Remove to remove that specific add-in. If this add-in removal doesn't work, then delete the contents of the Wef folder as noted previously for Excel, Word, and PowerPoint.

Additionally, to clear the Office cache on Windows 10 when the add-in is running in Microsoft Edge, you can use the Microsoft Edge DevTools.

Tip

If you only want the sideloaded add-in to reflect recent changes to its HTML or JavaScript source files, you shouldn't need to clear the cache. Instead, just put focus in the add-in's task pane (by clicking anywhere within the task pane) and then press F5 to reload the add-in.

Note

To clear the Office cache using the following steps, your add-in must have a task pane. If your add-in is a UI-less add-in -- for example, one that uses the on-send feature -- you'll need to add a task pane to your add-in that uses the same domain for SourceLocation, before you can use the following steps to clear the cache.

  1. Install the Microsoft Edge DevTools.

  2. Open your add-in in the Office client.

  3. Run the Microsoft Edge DevTools.

  4. In the Microsoft Edge DevTools, open the Local tab. Your add-in will be listed by its name.

  5. Select the add-in name to attach the debugger to your add-in. A new Microsoft Edge DevTools window will open when the debugger attaches to your add-in.

  6. On the Network tab of the new window, select the Clear cache button.

  7. If completing these steps doesn't produce the desired result, you can also select the Always refresh from server button.

Clear the Office cache on Mac

Add-ins are often cached in Office for Mac, for performance reasons. Normally, the cache is cleared by reloading the add-in. If more than one add-in exists in the same document, the process of automatically clearing the cache on reload might not be reliable.

You can clear the cache by using the personality menu of any task pane add-in.

  • Choose the personality menu. Then choose Clear Web Cache.

    Note

    You must run macOS version 10.13.6 or later to see the personality menu.

You can also clear the cache manually by deleting the contents of the ~/Library/Containers/com.Microsoft.OsfWebHost/Data/ folder.

Note

If that folder doesn't exist, check for the following folders and if found, delete the contents of the folder.

  • ~/Library/Containers/com.microsoft.{host}/Data/Library/Caches/ where {host} is the Office application (e.g., Excel)
  • ~/Library/Containers/com.microsoft.{host}/Data/Library/Application Support/Microsoft/Office/16.0/Wef/ where {host} is the Office application (e.g., Excel)
  • ~/Library/Containers/com.microsoft.Office365ServiceV2/Data/Caches/com.microsoft.Office365ServiceV2/
  • ~/Library/Containers/com.microsoft.Office365ServiceV2/Data/Library/Caches/com.microsoft.Office365ServiceV2/

Clear the Office cache on iOS

To clear the Office cache on iOS, call window.location.reload(true) from JavaScript in the add-in to force a reload. Alternatively, you can reinstall Office.

See also

As the blog title suggests, we are going to learn the method (manual) to delete the temporary Outlook files for Windows 10 Operating System. But, we cannot just directly move to this method unless we know about the Outlook temporary files and the need for its removal. So, let us have a discussion.

What are Outlook Temporary Files?

Whenever the Outlook user opens or adds the emails’ attachments, a copy of these attachments gets stored at the sub-directory of the Outlook Temporary Internet Files folder. First, Outlook searches for the .OLK folder in the registry to save the temporary attachment files and if it does not exist, it creates the new folder itself. This takes place to ensure that received attachments are secured at another place.

The basic path location for this temporary internet file for attachments is

C:Users%username%AppDataLocalMicrosoftWindowsTemporary Internet FilesContent.Outlook

Now, we know about the Outlook temporary files and its creation but, it is still not clear why we need to delete these files. Our next section would focus on the issues which could be created by these temporary Outlook files, which ultimately affect the Outlook performance.

Why do temporary Outlook files need to be deleted?

The Outlook user faces the following problems due to Outlook temporary files:

  • Security Risks – Sometimes, even if the attachments are deleted, opened and then closed or the Outlook has been shut down accidentally, then also the copy of these attachments get stored at the temporary folder location mentioned above. And, a person with knowledge of this location can easily gather the confidential information within these attachments. So, to secure your confidential or sensitive information from data theft, it is recommended to delete the temporary Outlook files from your system.
  • Disk Space – Sometimes, users cannot access the Outlook attachments they receive via emails as there is no space within the Outlook temporary files folder. It happens when a load of attachments has been received in Outlook with time, and the temporary file folder is untouched. It directly affects Outlook performance, and the user has to suffer. Hence, the user must delete the Outlook temporary files to fix ‘Outlook attachments unable to access’ issue.

These above-mentioned reasons point to the need for deleting the temporary Outlook files. Now, let us know how you can locate and then delete these files from the temporary folder created on your system.

Learn to delete Outlook Temporary Files

Method 1 - Locate temporary files location through windows registry

Microsoft Office Download

This would be the main section for the blog readers. It is not at all a task to delete the temporary files once you have located the files. The complete process is:

For different versions of Outlook, the OLK folder path is different which you can get directly from the registry key created by Outlook. To get the path address, open the Run window by pressing Windows+R and type regedit. Click OK. The Registry Editor page will get open. Here locate the registry key as per your Outlook versions by following the given paths.

Outlook 2016-
HKEY_CURRENT_USER/Software/Microsoft/Office/16.0/Outlook/Security

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

Outlook 2003-
HKEY_CURRENT_USER/Software/Microsoft/Office/11.0/Outlook/Security

Reach up to Security location from the above path and double-click “OutlookSecureTempFolder” key on the right pane to open it.

Press CTRL and copy the file folder path.

Then, press Windows+E to open the Windows explorer page. On the top address bar, paste the copied path and press the Enter button on the keyboard. The temporary files are visible now. Just select and delete the ones which you want to; and for permanent removal, delete it from the Recycle Bin as well.

Method 2 - Manually locating Temporary files

The above method is effective for cases when the Outlook is well configured, the ‘OutlookSecureTempFolder’ field exists in the registry and its value points to a valid location on your machine. But, if any of these conditions are not met, the Windows Operating System uses the Temporary Internet Files folder as the parent folder for storing its temporary files. It creates a new folder under the Temporary Internet Files folder with a randomly generated name. In this scenario, you will need to locate this path in a different way as it will not be available through the method discussed above.

The path of Temporary Internet Files varies from one version of Windows to another. In the below section, we will provide the path based on the Windows Operating System version:

For Windows XP Operating System
C:Documents and Settings usernameLocal SettingsTemporary Internet FilesContent.Outlook

For Windows 7 and Windows Vista Operating System
C:Users username AppDataLocalMicrosoftWindowsTemporary Internet FilesContent.Outlook

For Windows 8 and higher versions
C:UsersusernameAppDataLocalMicrosoftWindowsINetCacheContent.Outlook

Now, we have provided the default path for each of the operating systems. But there is a small difference that comes into picture based on the version of your Outlook application as well.

Clear Microsoft Office Cache

For each of the windows versions, you will find a subfolder with a randomly generated name for Outlook 2007 and higher versions. You can directly go to this path and mentioned above and find the randomly generated folder and delete all its contents to get rid of all the Outlook temporary files.

However, if you are using an older version of Outlook such as Outlook 2003, you will need to look into the ‘Temporary Internet Files’ folder for a name as per the registry entry. Then only you will you be able to find the folder containing temporary Outlook files.

Clear Microsoft Office 2013 Cache

So, we have covered two methods to identify the location of the folder containing temporary Outlook files. You can use any of the methods that suit you and clean up your Outlook temporary files. This should also help you in fixing the ‘Attachments not opening’ issue. But this is one of the possible resolutions for attachments issue. If it doesn’t fix it for you, you may be having corrupt PST. If that is the issue, you need a promising and efficient tool such as Kernel Outlook PST Repair. It is an efficient tool that can fix PST corruption in very quick and easy steps.

How To Clear Microsoft Office Cache

Conclusion:

Microsoft Office 365 Login

In this blog, we discussed what Outlook temporary files are and what their significance is in the proper functioning of Outlook. Then, we discussed how these temporary files can sometimes lead to the issue of Attachments not opening. Also, we have discussed how these temporary files can be exploited by hackers to retrieve confidential information from your system. We provided the registry path for all active Outlook versions. Finally, we provided the field in the registry entry, which contains the path to the location of temporary files. We also recommended the Outlook PST repair tool, a powerful tool to fix PST corruption in quick and easy steps.