8

I have a Windows 7 machine that has a smart card reader. I have an application running on that machine that can successfully read the contents of the card.

I have another Windows 7 machine that I use to remote into the machine that has the smart card reader. When I am using the remote connection, the application can no longer access the smart card connected to the host machine. I understand that due to Remote Desktop redirection, I can only use smart card readers attached to the client machine.

Is it possible to turn off this redirection?

markyd13
  • 183

3 Answers3

6

Unfortunately it is not possible.

I have a similar problem and was looking for a solution. What I found was a thread on social.technet.microsoft.com, where it says:

[...] It’s not possible. If you are connected through RDP, then your session is redirected to the client machine and will not see readers connected to the RDSH.

AlexS
  • 176
0

Ensure the Smart Card checkbox within the Local Resources tab is checked and RDP should pass the authentication through from the native system to the target system, using the native system's smart card reader. I currently use this method at work.

0

I found a solution and replied on the Microsoft website.

The invocation of the smartcard is done through the SCard_XXX methods in Winscard.dll, which implements the following mechanisms:

  1. If the remote service TermService is disabled, it directly calls the local smartcard.
  2. If the program calling Winscard.dll is a Windows service, it directly calls the local smartcard.
  3. Otherwise, it determines that it is a remote call and forwards the invocation to the remote service.

Therefore, by changing the name of TermService or using a Windows service program, it is possible to achieve the invocation of the local smartcard.