Smart Card Removal Options in Windows 2000 (227873)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Datacenter Server

This article was previously published under Q227873
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

SUMMARY

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.

MORE INFORMATION

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)

Setting:

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

Modification Type:MajorLast Reviewed:12/17/2003
Keywords:kbenv kbHardware kbinfo KB227873