Microsoft small business knowledge base

Article ID: 227873 - Last Review: January 11, 2015 - Revision: 3.2

This article was previously published under Q227873
This article has been archived. It is offered "as is" and will no longer be updated.
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  ( ) Description of the Microsoft Windows Registry


There are two options that you can enable in Windows 2000 for smart card removal. The first option locks the computer when a smart card is removed. This option lets you take a smart card with you when you leave your desk, keeping the session protected. The second option logs you off the workstation when you remove a smart card.


WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To enable either of these options, set the data value of the ScRemoveOption value in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Value: ScRemoveOption (REG_SZ)


0 - No action
1 - Lock workstation
2 - Force logoff

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
kbnosurvey kbarchive kbenv kbhardware kbinfo KB227873
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support