开发者

Can a program run through Remote Desktop call a program on the client computer?

I am developing a program that will be run through Windows remote desktop, and at a certain point it opens a webpage. Someone pointed out that it would be great if the program could launch the webpage on the loca开发者_如何学Gol PC, though, instead of on the remote PC you're connecting to. This way it would launch in your favorite web browser, would load faster, and you could browse with less latency.

However, is it even possible to do this? Is there some feature of remote desktop that would let me send a command to the user's PC from the session they're logged in to?

If not, is there any other way to do this? For example, I know the clipboard is shared/transferred between client and remote PC when using remote desktop; is there anything I can do to use that?

Thanks in advance for any answers!


Yes, this is possible using Remote Desktop Virtual Channels. See here for a C# sample. Since virtual channels have both a client and server piece, this would of course require that all RD clients that want to use the virtual channel have the client bits installed.


The right way is using Virtual Channel as specified by Dan Ports. You need to develop 2 small programs, one on the server and one on the client machine. From the server just send a command to the client through the Virtual Channel, on the client side when receiving the command just run the webpage with the default browser.

There are already free and commercial programs that do that stuff like Remote Executer for Terminal Server, 2X Software product, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜