如何在RDP期间访问远程USB智能卡 [英] How to Access Remote USB Smartcard during RDP

查看:1040
本文介绍了如何在RDP期间访问远程USB智能卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[我的设置]

RDP客户端(Win7)------------------ RDP --- --------------------->具有SmartCard的远程服务器(Win2k8R2)

RDP Client (Win7) ------------------RDP------------------------> Remote Server (Win2k8R2) with SmartCard

我发现无数答案这表明这是不可能的。许多答案表明,RDP是为了安全而设计的。智能卡被锁定,当远程桌面连接(RDP)远程连接时,不允许看到设备。

I've found countless answers that would suggest this is not possible. Alot of answers indicate that RDP was designed this way for security. The smartcards are locked which do not allow the device to be seen when connecting remotely with Remote desktop connection (RDP).

但是,我发现一个有用的链接显示为一些但不是全部工作。

However I've found a useful link which appears to work for some but not all.

http://lifayk.blogspot.co.uk/2012/07/windows-smart-card-subsystem-and-remote.html

该指南显示了如何(通过编辑winSCard.dll - 强制该功能返回本地用户不是远程,允许远程查看智能卡),但缺乏初学者的细节,如我。我尝试使用网站上链接的最新补丁,但无法在Windows Server 2008 R2上工作。

The guide shows how it's possible (by editing the winSCard.dll - forcing the function to return local user not remote which allows the smartcard to be seen remotely) but lacks the detail for beginners like myself. I tried using the latest patch linked on the site however it fails to work on Windows Server 2008 R2.

我的文章后面的问题是:

My questions following the article are;


  • 如何在没有十六进制编辑器的情况下编辑winSCard.dll? (所以我可以看到函数/方法)我尝试使用反射器,但是当我打开winSCard.dll它不是.NET文件。

  • How do I edit winSCard.dll without a hex editor? (So I can see functions/methods) I've tried using Reflector however when I opened winSCard.dll it said not .NET file.

有提到关闭Windows文件保护 - 这似乎已经改变,只是更改system32文件夹的所有权,并复制新的winSCard.dll文件允许新的.dll工作? (重新启动智能卡服务后)

There was mention of turning off Windows File Protection - This appears to have changed, does simply changing ownership of the system32 folder and copying the new winSCard.dll file over allow the new .dll to work? (after restarting the smartcard service)

这对我来说都是新手,任何建议都会很棒! >

This is all new to me and any suggestions would be great!

推荐答案

从windows sdk调试工具使用windbg。您正在寻找的功能是InTSRedirectModeWithContext。

Use windbg from the windows sdk debug tools. The function you are looking for is InTSRedirectModeWithContext.

此外,这可能有助于: http://lifayk.blogspot.ro/2012/07/windows-smart-card-subsystem-and-remote.html

Also this might help: http://lifayk.blogspot.ro/2012/07/windows-smart-card-subsystem-and-remote.html

这篇关于如何在RDP期间访问远程USB智能卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆