Take the 2-minute tour ×

I need more space on my SSD drive and I found that MSOCache is occupying 1.3 GB. I have Microsoft Office 2010 installed.

Can I safely delete MSOCache?

share|improve this question
Maybe related: Can I delete the folder “C:\WINDOWS\Installer\$PatchCache$”? (I am not on Windows, so maybe I'm wrong here?) –  Arjan Dec 2 '10 at 22:55
I would say they're unrelated. –  oKtosiTe Dec 6 '10 at 17:14

6 Answers 6

up vote 34 down vote accepted

Short answer: no. You would most likely no longer be able to perform a repair or install additional components.
I have tried it myself on a virtual machine running Windows 7 with Office 2007–I imagine it would have the same effect on Office 2010.

A safer option (as suggested here) is to burn the folder itself to DVD or move it to a USB drive, and change all references to it in the Windows registry.

From that page:

Solution, what I did recently:

  1. Burn that whole folder to a CD-R or DVD (the filesize of that folder depends upon your Office version).
  2. Delete that folder.
  3. Search the registry in RegEdit for C:\MSOCache and change all references to point to your CD/DVD drive, example: E:\MSOCache (will of course require the disc when something Office related needs those cache files.)
share|improve this answer
Little "hacky" but should work fine –  zzeroo Dec 2 '10 at 15:52
I finally tried, and it seems working. –  Drake Dec 9 '10 at 8:24
It took about 10 minutes to find and replace all occurances of C:\MSOCache... –  Dean Kuga Nov 18 '11 at 17:31
Is there any particular reason you cannot simply stash this folder on a separate drive (assuming Drake has a larger storage drive), then create a directory junction so C:\MSOCache references the other drive? Then you wouldn't have to edit the registry. –  stylez Apr 28 '13 at 3:54
@stylez: No, but I wouldn't recommend making a junction to en external drive. –  oKtosiTe May 1 '13 at 16:18

I have a 64GB SSD and LOADS of programs. I regularly move space gluttons to a HDD. Many programs now use 500MB-1.3GB for garbage like page borders and all sorts of small image files.

Don't screw with the registry. Sooner or later it'll bite you in the butt bigtime. Create a junction, as mentioned in SoLaR's answer.


  1. Don't delete the original folder. Rename it with a minus sign, i.e.,
    rename MSOCache to -MSOCache.

  2. MSOCache is an anomaly in that it is in a root folder. Normally you are moving something in a subfolder. So you'll have to modify the following where it says "put in the parent folder".

    In the PARENT folder of the subfolder you are moving, create a TEXT file called JUNCTION LIST.txt with the contents shown below. So if you are moving C:\Program Files\Adobe\Spacehog you would put the "JUNCTION LIST.txt" file in C:\Program Files\Adobe\

    CONTENTS OF JUNCTION LIST.txt (of course, modified to your particular case):

    SSD Win 7
    was replaced with a junction to
    mklink /j CameraRaw "S:\Program_Data\Adobe\CameraRaw"

    (Add any others, as needed.)

    The JUNCTION LIST.txt should document EXACTLY what you did.

  3. Open a command prompt in the PARENT folder of the subfolder you are moving.

  4. COPY the "mklink ..." line from the DOCUMENTATION file. This means highlight and press Ctrl-C.

  5. PASTE the command at the prompt, and press enter.

    If it doesn't work, DO NOT make ANY corrections to the command line. Correct the DOCUMENTATION file and repeat the copy and paste.

    You should now have the original folder name with a minus sign and a junction with the original filename.

  6. Move everything from the "minus" folder to the junction.

  7. Copy the JUNCTION LIST.txt folder to the PARENT folder of the TARGET folder on the other drive. The idea is to have documentation all over the place.

  8. Now, except that you have an actual folder with a "minus" name, everything should look the same as before you started.

  9. DO NOT rename the target folder. That destroys the junction. If you need to rename the target folder, delete the junction, correct the JUNCTION LIST.txt file, and create a new junction.

share|improve this answer

Way to go would be Junction Point.

For example if you have 120 GB SSD Drive as C:, and 3TB Drive (Magnetic)HDD as D:

  • on drive D: create sub folder named C
  • cut and paste folder MSOCache to sub folder C located on drive D:
  • run CMD
  • type: CD \
  • type: MKLINK /J MSOCache D:\C\MSOCache
  • type: EXIT

after this you will have entire content of MSOCache folder in path C:\MSOCache, but physically files would be located on D:\C\MSOCache.

that was the answer about MSOCache folder on C drive. Now let us talk about real problem, the same one I experienced few hours ago.


main problem here is Windows Installer, and their crappy system of caching all old installation files. Every old version of some software that once existed on your PC Windows Installer keeps in his cache folder. Stupid thing don't you think (only because someone might Uninstall some application Windows Installer keeps all files so it could roll back to previous state - in simplified version - believe me it's much more complicated, but accept this as is).

This wouldn't be much of problem if there aren't even bigger stupidness again from Microsoft, of course, called Windows Updates. That simply floods you with updates. And what are the Updates!? No body!? Updates == Installations == Bigger and bigger Windows Installation Cache.

My situation was I've installed literally base development PC with minimal Office + VS2005, VS2008, VS2010 - That is I must have. I had this on XP machine primary disk with 120 GB just fine and plenty of drive space left with all updates installed (~100GB). But Windows 7 == 30 GB free space (Imagine my face when I saw that). I know windows 7 is little bigger but not 70GB bigger.

... and now 2 hours later I am back to 70 GB ;) HOW you ask me!?

simply performed same thing as above for following folders:

  • C:\Windows\Installer\
  • C:\Windows\SoftwareDistribution\

this changes a little commands:

  • move above folders to (for example) D:\C\WINDOWS
  • run CMD
  • type: CD C:\WINDOWS
  • type: MKLINK /J Installer D:\C\Windows\Installer
  • type: MKLINK /J SoftwareDistribution D:\C\Windows\SoftwareDistribution
  • type: EXIT

Notice only to stop Windows Update, Trust Installer, and Windows Installer services before moving this folders, run them after if you wish or simply restart (10 seconds for reboot on SSD).

I have reclaimed back 40GB of (100% uselessly taken space, since I will never uninstall anything I use). Haven't brake any windows rules, since they use for 'Documents and Settings' same Junction Point to 'Users' although on same drive...

Still poking around what else I could move to (Magnetic) HDD drive... One thing to notice you will have 'winSxS' sub folder in Windows folder DO NOT MOVE this folder as it would defy the purpose of Solid State Disk (fast loading of applications). WinSxS is folder where all Side by Side dll's are located (and prety much every application uses something from there). This is also Microsoft's solution for DLL version HELL, if you wonder why it exists.

share|improve this answer
This is really the safer solution. It should be marked as correct answer! Thanks mate! –  psulek Mar 25 at 15:12

Very similar to previous answers - the twist is I moved C:\MSOCache to my second HD, D:\MSOCache and then all I had to do is use regedit to change all references from C:\MSOCache to D:\MSOCache for an overall quick and painless way to free-up a sizable chunk of space on the C: drive.

share|improve this answer

The best way to prevent this folder from being placed on your drive in the first place, is by selecting the Delete installation files check-box during the installation of Office.

From this thread :

If you delete it this is what will happen:

  • MS Office's repair function won't work from the hard disk cache anymore - will require the CD to fix it.
  • Microsoft Updates for Office that require the cache won't work from the hard disk cache anymore - will require the CD to install them.

Solution, what I did recently:

  2. Delete that folder.
  3. Search the registry in regEdit for C:\MSOCache and change all references to point to your CD/DVD drive, example: E:\MSOCache (will of course require the disc when something Office-related needs those cache files.)
share|improve this answer
It seems we found the same page... –  oKtosiTe Dec 2 '10 at 15:26
@oKtosiTe: Yah, and on the same minute, too. Great minds think alike ... –  harrymc Dec 2 '10 at 15:40

The Local Install Source (Msocache) feature is installed so that you do not have to insert the CD during the following Setup operations:

  • Detect and Repair
  • Demand Install
  • Maintenance Mode Setup
  • Installation of service packs and patches

You can use the Windows Cleanup Wizard to remove the Msocache folder. To do this, follow the steps in the related Microsoft article.

Warning: Never delete the MSOCACHE folder by using Microsoft Windows Explorer.

share|improve this answer
I followed the guide. It removed my about 100MB-200MB but there are still 1.2 GB in that folder now. –  Drake Nov 29 '10 at 16:23
Another work around could be to create a system restore point (call it "safe"), delete the content of the folder completely, work for a few days in this wise, and go back to "safe" if you face any problems. –  Mehper C. Palavuzlar Nov 29 '10 at 16:27
This MS article suggests another solution. Check out Q4 and A4. –  Mehper C. Palavuzlar Nov 29 '10 at 16:31
that article refers to Microsoft Office 2003. I tried download and install LISTool.exe anyway, but it seems not compatible with Microsoft Office 2010 –  Drake Dec 1 '10 at 8:13
Then I can only suggest you try what I pointed in my first comment (system restore). –  Mehper C. Palavuzlar Dec 1 '10 at 8:19

Your Answer


