- 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
| Vendor | Microsoft |
|---|---|
| Product | Microsoft Office 2016 |
| Category | Microsoft Office 2016 › Microsoft Office Document Cache |
| Applies to | User Configuration |
| Supported on | Windows7 |
| Registry Key | [HKCU]softwarepoliciesmicrosoftoffice16.0commonfileio |
| Value Name | disablelongtermcaching |
| Type | REG_DWORD |
| Enabled value | 1 |
| Disabled value | 0 |
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:00000000PowerShell
# 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 