GPO tool

Group Policy made searchable

A free ADMX browser or comparison tool for IT administrators. Search policies, find registry keys, and see exactly what each setting writes to the Windows Registry. Or compare two GPO backups to see exactly what has changed between them.

Select a product
  • Select a category.

Delete files from Office Document Cache

This policy setting determines whether or not documents opened in Office are deleted from the Office Document Cache when they are closed.

If you enable this policy setting documents are deleted from the Office Document Cache when they are closed.

If you disable or do not configure this policy setting, documents are not deleted from the Office Document Cache when they are closed.

Note: This policy setting does not apply to documents in SharePoint Workspace. Documents in SharePoint Workspace will not be deleted from the Office Document cache when they are closed. Sharepoint Workspace will not work correctly if this Group Policy is enabled.

Registry Information

VendorMicrosoft
ProductMicrosoft Office 2016
CategoryMicrosoft Office 2016 › Microsoft Office Document Cache
Applies toUser Configuration
Supported onWindows7
Registry Key[HKCU]softwarepoliciesmicrosoftoffice16.0commonfileio
Value Namedisablelongtermcaching
TypeREG_DWORD
Enabled value1
Disabled value0

Registry File (.reg)

Windows Registry Editor Version 5.00

; Enable the policy
[HKEY_CURRENT_USERsoftwarepoliciesmicrosoftoffice16.0commonfileio]
"disablelongtermcaching"=dword:00000001

; Disable the policy
[HKEY_CURRENT_USERsoftwarepoliciesmicrosoftoffice16.0commonfileio]
"disablelongtermcaching"=dword:00000000

PowerShell

# Enable the policy
Set-ItemProperty -Path "HKCU:softwarepoliciesmicrosoftoffice16.0commonfileio" -Name "disablelongtermcaching" -Value 1 -Type DWord

# Disable the policy
Set-ItemProperty -Path "HKCU:softwarepoliciesmicrosoftoffice16.0commonfileio" -Name "disablelongtermcaching" -Value 0 -Type DWord