en-US fslogix computer

Clear Cache on Forced Unregister

Verified with Microsoft FSLogix — updated on July 10, 2026

Supported on: v2105 or later

Path in the GPO console

Computer Configuration\Administrative Templates\FS Logix\Profile Containers\Cloud Cache

Description

NOTE: Once this policy is Enabled or Disabled, setting it back to Not Configured has NO EFFECT. If the desired behavior is for the local cache to be deleted, even if the data has not been flushed to a CCD Location, then Clear Cache On Forced Unregister should be set to Enabled. Setting Clear Cache On Forced Unregister to Enabled may result in user data saved in the registry to be lost during the current session. It is important to understand that this data isn't recoverable if the local cache is cleared in this scenario. Verify that you understand the implications of changing the default value of this setting prior to making changes. Registry Entry: HKLM\SOFTWARE\FSLogix\Profiles\ClearCacheOnForcedUnregister Type: DWORD Values: 0 = Disabled, 1 = Enabled

Registry

HKLM Software\FSLogix\Profiles

More options available

Options

ClearCacheOnForcedUnregister enum
  • Disabled -> 0
  • Enabled -> 1

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Clear Cache on Forced Unregister
; State: Enabled
; Supported on: v2105 or later

[HKEY_LOCAL_MACHINE\Software\FSLogix\Profiles]
"ClearCacheOnForcedUnregister"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Clear Cache on Forced Unregister
# State: Enabled
# Supported on: v2105 or later

$path = 'HKLM:\Software\FSLogix\Profiles'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'ClearCacheOnForcedUnregister' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview