How to lock Windows immediately upon smart card removal
I was previously unable to get this to work since I didn't know Microsoft Windows has 2 features that must be enabled, and I only enabled one of them. The follow settings should allow locking your workstation upon removal of the smart card on the following operating systems: Windows Vista, Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2 and WIndows Server 2012
Setting #1: Run "gpedit.msc" as an administrator.
Navigate to this option group:
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options
Set "Interactive logon: Smart card removal behavior" to "Lock Workstation".
Setting #2: Run "services" as an administrator
Right click on "Smart Card Removal Policy", and click property. Set "Startup type" to "Automatic (delayed)".
The reason I used the "delayed" option instead of Automatic is that if the smart card software isn't fully loaded after the initial login, it might lock your computer immediately. My driver/smart card take a few seconds to be read so this fixed that problem for me so I only have to login once.
Hope this helps people who get stuck trying to figure this out.
Bookmark & Share
Most Popular Articles
- Mass virtual hosting security tip when using a reverse proxy to connect to other servers
- Solution for MariaDB Field 'xxx' doesn't have a default value
- Stop using sleep mode with Windows Bitlocker for better security. Learn how to use hibernate in Windows 8.
- Planning a system to visually create responsive data-driven web page layouts & widgets in the Jetendo CMS browser interface
- Is Google Public DNS actually better then your ISP?
- Pros and Cons of CFML vs PHP and other languages
- My dog survived eating a box of Oreos
- Run Windows Guest in CentOS 6 Linux Host using Virtualbox 4 via the command line