Policy
At logoff, delete local copy of user’s offline files
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows2000, WindowsServer2003, WindowsXP
Deletes local copies of the user's offline files when the user logs off. This setting specifies that automatically and manually cached offline files are retained only while the user is logged on to the computer. When the user logs off, the system deletes all local copies of offline files. If you disable this setting or do not configure it, automatically and manually cached copies are retained on the user's computer for later offline use. Caution: Files are not synchronized before they are deleted. Any changes to local files since the last synchronization are lost.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Delete only the temporary offline files. ID Lbl_PurgeOnlyAutoCachedFiles | boolean | HKLM\Software\Policies\Microsoft\Windows\NetCache\PurgeOnlyAutoCacheAtLogoff Type REG_DWORD | Options: true (1), false (0) True: Set value = 1 · False: Set value = 0 |
Other policies in this category
Explore related policies at the same level.
- UserAction on server disconnectWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerAction on server disconnectWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerAllow or Disallow use of the Offline Files featureAt least Windows 2000
- ComputerConfigure Background SyncAt least Windows Server 2008 R2 or Windows 7
- ComputerConfigure Slow link speedWindows XP Professional only
- ComputerConfigure slow-link modeAt least Windows Vista
- ComputerDefault cache sizeWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerEnable file screensAt least Windows Server 2008 R2 or Windows 7
- ComputerEnable file synchronization on costed networksAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerEnable Transparent CachingAt least Windows Server 2008 R2 or Windows 7
- ComputerEncrypt the Offline Files cacheAt least Windows Server 2003 operating systems Service Pack 1, Windows XP Professional Service Pack 2, or Windows 2000 Service Pack 5
- ComputerEvent logging levelWindows Server 2003, Windows XP, and Windows 2000 only