Log off user on session disconnect
Explanation
Log off user on session disconnect.
When enabled, users are automatically logged off from Citrix Workspace app when they disconnect from their session.
In case of multiple sessions, after all the sessions disconnect, user should be logged off.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Citrix\Dazzle- Value name
SignOutFromCWAOnSessionDisconnect
| State | Value written |
|---|---|
| Enabled | REG_SZ = true |
| Disabled | REG_SZ = false |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: receiver/Policy_Enable_SignOutOnSessionDisconnect
$k = 'HKLM:\Software\Policies\Citrix\Dazzle'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SignOutFromCWAOnSessionDisconnect' -Value 'true' -Type StringDisable
# Disable: receiver/Policy_Enable_SignOutOnSessionDisconnect
$k = 'HKLM:\Software\Policies\Citrix\Dazzle'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SignOutFromCWAOnSessionDisconnect' -Value 'false' -Type StringRevert to "Not configured"
# Revert to "Not configured": receiver/Policy_Enable_SignOutOnSessionDisconnect
$k = 'HKLM:\Software\Policies\Citrix\Dazzle'
Remove-ItemProperty -Path $k -Name 'SignOutFromCWAOnSessionDisconnect' -ErrorAction SilentlyContinueApplication
Citrix Workspace app (Citrix) — October 2026 templates
October 2026 templates from pl4nty/web-admx-tool.