0

How do I access a smartcard that is locally attached to a Windows Server 2008R2 in a self written Windows service that is running on that server?

NB: I can access the same smartcard when I start the service as normal Windows 10 application from the command line.

Ruediger Jungbeck
  • 2,836
  • 5
  • 36
  • 59

1 Answers1

1

You did not provide enough information about the problem you are experiencing but changing service identity to LocalService and not using RDP usually helps.

Community
  • 1
  • 1
jariq
  • 11,681
  • 3
  • 33
  • 52
  • Our actual problem was not this (although the RDP issue complicated remote analysis to the point that we installed VNC), but a combination of an unactivated smartcard (we didn't know that in the beginning) , wrong registry settings and that we were not able to test with the smartcard in VirtualBox. – Ruediger Jungbeck Nov 17 '16 at 06:48