Remote (RDP) utility with mstscax.dll

被刻印的时光 ゝ 提交于 2019-12-25 03:14:20

问题


I am looking for information on using mstscax.dll in VB. The goal is to create a utility that logs into a remote service in the same manner as remote desktop. However, my utility is not required to show the desktop.

I have a series of commands that I will start off with that will look for users, reset logins, shadow, and message. I have been using a batch file on my RDP to perform these functions, but we are already looking for more functionality and power than what the batch commands can offer.

I am googling 'mstscax.dll' but the results have been less than satisfactory although I continue to search. Does anyone have any good references? Is this even going to be possible?


回答1:


If you are looking to list or perform operations on remote desktop sessions, you might find the Cassia library helpful. The library can list users logged on to a server, disconnect or logoff sessions, shadow sessions, and display message boxes in a session, among other things. (Note that the shadowing functionality requires a pre-release version of the library available on the project's build server -- use the artifacts link.)




回答2:


I think you're supposed to use the msrdp.ocx control rather than that dll, though I've personally never used either so can't say for sure.

Edit: Add link

Here's a codeproject article about automating RDP:

http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx



来源:https://stackoverflow.com/questions/2856997/remote-rdp-utility-with-mstscax-dll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!