Share via


Huge Office Cache folder fills up hard drive

Question

Friday, August 5, 2016 6:35 AM

Hi

Looks like this is quite a common error.

Found this old thread but no official solution apart from deleting the cache files.

https://social.technet.microsoft.com/Forums/windowsserver/en-US/f768abbc-6690-4a6e-b683-edea0424e4e9/huge-officefilecache-folder?forum=officeitpro

Anyone know if this is resolved yet?

The client has set the days to keep the cache lower and deleted the cache but it just grows again.

Suggested a solution for them

All replies (3)

Tuesday, August 9, 2016 10:57 AM ✅Answered

Hi Danie,

Are you using OneDrive for Business to sync your documentations?

When you sync your OneDrive for Business from Office 365 Pro plus / Office 2013. It consumed a same amount of disk that you are synchronized to the cloud. For example you have 2 GB documents on the cloud, if you sync it into your local files you need 2 GB + Office Cache files (2 GB).

This cache is used by the Microsoft Office Upload Center to give you a way to see the state of files you're uploading to a server—keeping track of how uploads are progressing and whether any files need your attention.

You can try to move the cache location to a different place which has sufficient space, by configuring the following registry key:

Key: C:\Users\yourusername\AppData\Local\Microsoft\Office\15.0\

Value: OfficeFileCache (with the new path as the key value such as "D:\OfficeFileCache")

Or create a task to run a simple script to clean the cache folder regularly.

Hope this helps.

Regards,

Ethan Hua

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]


Saturday, August 13, 2016 8:29 AM ✅Answered

Danie,

In addition to what ethan mentioned above, you will need/can also update your Office document cache settings by following this link: 

https://support.office.com/en-us/article/Office-Document-Cache-settings-4b497318-ae4f-4a99-be42-b242b2e8b692

"For users who prefer to work directly with the server, or who are concerned about their privacy, selecting Delete files from the Office Document Cache when they are closed will automatically delete documents from the cache when they are closed. "


Wednesday, August 10, 2016 6:57 AM

Thanks Ethan

Sounds like typically it is the users who has got GB's of files to Sync. Max size is 10Gb.

I have mentioned that to the user and also a tool on the other thread that a guy developed that deleted the cache folder every 5min but he is insisting on a official Microsoft Solution.

Apparently the Cache keeps on growing till the hard drive is filled, so it does become much bigger than the 2Gb + 2Gb as above.