Windows 2008 server smart card security module problem
Posted
by chris13work
on Server Fault
See other posts from Server Fault
or by chris13work
Published on 2010-06-02T10:24:44Z
Indexed on
2010/06/02
13:04 UTC
Read the original article
Hit count: 319
Hi, I've got a smart card reader and a server application using it as a security module. If I run it under DOS prompt, everything is fine. The server is running and clients can connect to it. I tried to install the server as window service and start it. The server starts but always gives back authentication error because it cannot call the smart card to do encryption.
Then I tried to start it with task scheduler and set the trigger factor as "on startup". The server starts also but still cannot access the smart card reader.
Then I tried remote desktop to the machine and run the server application under DOS prompt. Same error is returned.
The situation is that the smart card reader only works under active console desktop environment. In the server application, WINSCARD API is used to access the smart card reader. Any suggestion so that we can access the smart card reader in running services?
OS: Windows Server 2008
Smart Card Driver: Windows USB smart card Reader
Smart Card API: WINSCARD
© Server Fault or respective owner