Interactive logon: Smart card removal behavior

Category
Local Policies › Security Options
Source
Windows 11 26H2 · 26300.9457 · SOFTWARE · wsecedit.dll.mui 10.0.26100.8737

Description

Interactive logon: Smart card removal behavior

This security setting determines what happens when the smart card for a logged-on user is removed from the smart card reader.

The options are:

No Action
Lock Workstation
Force Logoff
Disconnect if a Remote Desktop Services session
Disconnect if a Remote Desktop Services session, regardless of logon method

If you click Lock Workstation in the Properties dialog box for this policy, the workstation is locked when the smart card is removed, allowing users to leave the area, take their smart card with them, and still maintain a protected session.

If you click Force Logoff in the Properties dialog box for this policy, the user is automatically logged off when the smart card is removed.

If you click Disconnect if a Remote Desktop Services session, removal of the smart card disconnects the session without logging the user off. This allows the user to insert the smart card and resume the session later, or at another smart card reader-equipped computer, without having to log on again. If the session is local, this policy functions identically to Lock Workstation.

If you click Disconnect if a Remote Desktop Services session when no smart card is present, regardless of logon method, the Remote Desktop session is disconnected when no smart card is present in any smart card reader, regardless of how the user authenticated. This option monitors all smart card readers on the system, not only the reader used for logon. If the session is local, this policy functions identically to Lock Workstation. The local session will lock when the smart card is removed only if the user authenticated using a smart card.

Note: Remote Desktop Services was called Terminal Services in previous versions of Windows Server.

Default: This policy is not defined, which means that the system treats it as No action.

On Windows Vista and above: For this setting to work, the Smart Card Removal Policy service must be started.

Options

  • No Action 0
  • Lock Workstation 1
  • Force Logoff 2
  • Disconnect if a remote Remote Desktop Services session 3
  • Disconnect if a remote Remote Desktop Services session, regardless of logon method 4

Registry

Official name in other languages

Other policies in the same category

View all policies in this category (106)