Command Line to Allow a Smart Card to be Removed without Locking the Computer.

This command line allows me to log into and work on several machines by preventing them from locking after the smart card is removed. However, I have to re-insert the smart card temporarily when I access resources that require further authentication.

c:\windows\system32\cmd.exe /k %windir%\system32\reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v scremoveoption /t REG_DWORD /d 0 /f
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s