Alan's sysadmin Blog

Working smarter not harder

Archive for the ‘Office 2010’ Category

Move Office 2010 MSOCache to Alternate Drive

Posted by Alan McBurney on July 1, 2011

I use a 60GB SSD as my primary boot drive on my dekstop and was looking at how I could free up as much space as possible.

I ran Tree Size and noticed that the MSOCache for Office 2010 was 1.2GB.
This is a hidden folder located in C:\MSOCache

I wanted to move this to my D: drive to free up the valuable space from my SSD but after some reading I found it is not possible to move the location of this using office install.

This is where Junction came to my resuce

Junction is a free utility from sysinternals and is availble from

Firstly I move the MSOCache using RoboCopy to my D: drive using the follwing command

Robocopy C:\MSOCache D:\MSOCache /MIR

Be sure to run the above as an elevated command prompt.

Using the /MIR switch mirrors the folder contents, security & attributes so the folder remains hidden on the D: drive

After Robocopy ran I deleted the MSOCache folder from the C drive.

The last piece was to create a junction point that links C:\MSOCache to D:\MSOCache and gives the 1.2GB back to my SSD

I downloaded junction and copied the contents to %windir%\system32 and then ran the following

Junction C:\MSOCache D:\MSOCache

Job done 🙂


Posted in Office 2010, Windows 7 | 3 Comments »