Open in the explorer

Smartcard Removal Policy for x86 machine

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Citrix Components › Citrix Workspace › User authentication
Supported on
Supported on Citrix Workspace app 4.5 and above
ADMX file
receiver.admx
Internal name
receiver/Policy_SmartcardRemovalAction_x86

Explanation

Use this policy to control the behaviour for Smart Card Removal Action when User Authenticates to Citrix Web Interface 5.4 PNAgent Site with Smart Card through Windows Citrix Workspace app.
This option enables the user to set the user session behaviour on removing the Smart Card from the client.

NOTE: This option is available only on 32bit Operation System.

To be able to enable this policy, ensure that the Smart Card Removal option is set on WI XenApp Services. Refer to XenApp documentation for the procedure on setting Smart Card Removal on XenApp. When the policy is Enabled, the user will continue to be logged in to the Citrix Workspace despite removing the smart card from the client. The user, however, will be logged off from the XenApp session.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\AuthManager
Value name
SmartCardRemovalAction
StateValue written
EnabledREG_SZ = ForceLogOff
DisabledREG_SZ = (empty string)

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_SmartcardRemovalAction_x86
$k = 'HKLM:\SOFTWARE\Citrix\AuthManager'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SmartCardRemovalAction' -Value 'ForceLogOff' -Type String

Disable

# Disable: receiver/Policy_SmartcardRemovalAction_x86
$k = 'HKLM:\SOFTWARE\Citrix\AuthManager'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SmartCardRemovalAction' -Value '' -Type String

Revert to "Not configured"

# Revert to "Not configured": receiver/Policy_SmartcardRemovalAction_x86
$k = 'HKLM:\SOFTWARE\Citrix\AuthManager'
Remove-ItemProperty -Path $k -Name 'SmartCardRemovalAction' -ErrorAction SilentlyContinue

Application

Citrix Workspace app (Citrix) — October 2026 templates

October 2026 templates from pl4nty/web-admx-tool.