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?
Short answer: no. You would most likely no longer be able to perform a repair or install additional components.
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:
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.
HOWEVER -- SOME CAVEATS.
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:
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.
NOT ENOUGH SPACE ON SSD DISK AS C: DRIVE
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:
this changes a little commands:
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.
Very similar to previous answers - the twist is I moved
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 :
The Local Install Source (Msocache) feature is installed so that you do not have to insert the CD during the following Setup operations:
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.