Ask Leo! by Leo A. Notenboom

What's "Msocache"?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Microsoft Office

I have a hidden file called MSO Cache on my E drive. Windows XP is installed on the C drive. Msocache is about 200 megabytes but it looks kind of important. I'm sure I didn't make it nor anybody else. Is it a system file or spyware? What does it do and can I delete it safely?

Msocache is another of those "magical" directories (not a file) that somehow just appears one day. Since we're not looking for this kind of thing constantly it's easy to miss exactly when it showed up.

Here's one clue, though - MSO stands for MicroSoft Office.

Yep. Microsoft Office is trying to be helpful.

First, Microsoft does have a Knowledgebase article on this, though the title's not particularly helpful: Local Install Source (Msocache).

The bottom line is that it's simple a local copy of Microsoft Office's installation source. Put another way, it's a copy of portions of the Microsoft Office installation CD. Why? so that you don't have to insert the CD when you add a feature, perform a repair operation, or install service packs and patches.

Msocache is created, quoting the KB article:

...if the following conditions are true:

  • One of the available hard drives has more than 1.5 gigabytes (GB) of free disk space available.
  • The hard disk with sufficient space is not a removable drive or a network drive.

Personally that seems kind of arbitrary, but there ya go.

You can delete the folder, but, that same Knowledgebase article goes on to say, "Never delete the MSOCACHE folder by using Microsoft Windows Explorer." Why, I do not know. They suggest using the Windows Disk Cleanup Wizard.

Related:

Article C2461 - November 17, 2005

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

Recent Comments
16 Comments

The reason you should not just delete this file with windoze exploder is that it has registry entries pointing at it that will remain behind after the delete, and will bite you later.

Posted by: Mark Plant at May 21, 2007 4:48 AM

You can use this tool (see direct-to-download URL below) from Microsoft to cut back on what is in the MSOCache directory, or to remove all Local Install files period. Very handy - why it needs to be done with this (or assumably a DOS prompt when Windows wasn't booted (ie: A boot disk or recovery/repair console) I don't know... But this IS the "official" way to "uninstall" the MSOCache files.

http://download.microsoft.com/download/b/7/b/b7b7d0e1-f125-46ed-9d65-95350e8d3f96/LISTool.exe

Posted by: WeyrleaderZor at September 24, 2007 12:04 PM

the uninstall tool does not work for office2007 there is no mso.dll

Posted by: none at December 28, 2007 10:14 AM

Why keep the files if you have them? Windows update may/will fail with Office updates, probably other tools as well, if you delete the files without cleaning up the registry. I'm currently in that situtation. Even changing drive letters can affect if the auto-update finds the installation as being not intact; move your CD/DVD to drive Z:. It tries to open files where it thinks they should be and may conclude that the installation is corrupted and stop. In my case, I removed the default Acer laptop D: partition, single drive with two partitions, after I installed Office. Windows update will no longer auto-update Office. It fails for all updates. No going back in my case. Now I'm trying to find the correct registry entires to remove or blank contents to avoid this check from failing the update.

Posted by: Matt at September 29, 2008 1:02 PM

Today, out of the blue, one big carpet "magically" move it self from the root directory, to the MSOCache carpet.
Yestarday, Windows made an atomatic update.
Could this be the reason?
Anyone?

I'm afraid I don't know what you mean by 'carpet'.
- Leo
18-Oct-2008

Posted by: John Lee at October 17, 2008 9:16 AM

How about transferring the MSO Cache from the C to the D drive would it be better than deleting it.
I am planning the transfer the contents of the folder in that drive and is looking for comments from knowledgeable people. Looking forward to your valuable suggestions
Thanks!

Posted by: Roy Basan at January 3, 2009 3:05 AM

You can just delete MSOCache folder if you have the installation CD around. The LISTool.exe just enables selectively deleting stuff from MSOCache folder.

Posted by: p at January 7, 2009 9:38 AM

I lost my Graphics file and when I went looking for it I found it in a MSOcache file.
How could that happen.Ciao, Marilyn

Posted by: Marilyn Moroni at March 4, 2009 6:44 AM

MSOCache is annoying @ best especially when it installs / appears on a disk that's not C:\ (which is where it should be, on C:\);
I don't know the method they programmed office to search for available space but it would seem to be that it checks from the CD Drive letter and then goes down one at a time rather than first checking C:\ which is what it should do (bad programming I guess, Oh yeah, it's MS)
the next time I install I'll try removing all the drive letters except the CD / DVD drive and C:\
- - - ->
you can move the Office 2003 MSOCache from any drive to any drive using any method of file transfer (windows exploder, command window, etc.), just do a registry edit to search for MSOCache and change the drive letter indicated in each entry to the new location doing it from an administrator account = success

Posted by: Richard FDisk at April 30, 2009 6:49 PM

You said MSO cache is about 200 MB; mine is 3.5 GB!

Posted by: Leon at July 22, 2009 8:50 AM

Post a comment on "What's "Msocache"?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!