在 vb.net 中创建 Shadowtool

发布于 2024-11-01 07:09:01 字数 236 浏览 3 评论 0原文

我正在编写一个工具来控制 RDP 会话(例如 Citrix 管理控制台)。 我能够向指定用户发送消息、注销用户,但我现在想要创建隐藏用户会话的功能(出于支持目的)。

我使用了 Cassia Windows 终端服务库来注销用户并发送消息。 Google 告诉我 Cassia 应该能够隐藏用户会话,但我似乎无法获得正确的代码来完成此操作...

有人有在 vb.net 中编写影子实用程序的经验吗? (不一定非要和决明子在一起)

I'm programming a tool to control RDP sessions (like the Citrix management console).
I'm able to send messages to specified users, log users off, but I now want to create the ability to shadow a users session (for support purposes).

I've used the Cassia windows terminal services library, to log off users and send messages.
Google learned me that Cassia should be able to shadow a users session, but I can't seem to get the code right to accomplish this...

Has anyone have experience with programming a shadow utility in vb.net? (It doesn't necessary have to be with Cassia)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

樱花坊 2024-11-08 07:09:01

远程控制失败的最常见原因是:

  • 尝试隐藏 RemoteApp 会话(Windows 不支持此功能)
  • 尝试隐藏使用 RDP 7 客户端中添加的真正多显示器支持的会话(同样,Windows 不支持)这);在 RDP 6+ 客户端中使用多显示器跨越功能的阴影会话应该可以正常工作,但是
  • 尝试阴影其屏幕分辨率或颜色深度设置与当前会话不兼容的会话(我之前遇到过这种情况,尽管它发生的频率不够高,我无法确定哪些屏幕模式导致了问题)
  • 尝试隐藏调用者无权隐藏的会话
  • 在未启用会话远程控制的情况下尝试隐藏会话“遥控” RD 会话主机配置工具中的选项卡
  • 会话中的用户拒绝允许重影(如果在 RD 会话主机配置工具中的“远程控制”选项卡上选中“需要用户的权限”框)

The most common reasons for remote control failing are:

  • Trying to shadow a RemoteApp session (Windows does not support this)
  • Trying to shadow a session that is using the true multi-monitor support added in the RDP 7 client (again, Windows does not support this); shadowing sessions using the multi-monitor spanning feature in the RDP 6+ client should work fine, however
  • Trying to shadow a session whose screen resolution or color depth settings are not compatible with the current session's (I've run into this before, though it didn't happen often enough for me to be able to pin down which screen modes caused issues)
  • Trying to shadow a session which the caller does not have permission to shadow
  • Trying to shadow a session when remote control of sessions has not been enabled on the "Remote Control" tab in the RD Session Host Configuration tool
  • The user in the session declining to allow shadowing (if the "Require user's permission" box is checked on the "Remote Control" tab in the RD Session Host Configuration tool)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文