且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

RDP 客户端可以启动远程应用程序而不是桌面吗

更新时间:2023-11-14 10:34:10

使用 RDP 连接文件,您可以将备用 shell 设置为您的应用程序;文件语法就像

Using an RDP connection file you can set the alternate shell to be your application; the file syntax is like

alternate shell:s:c:\winnt\system32\notepad.exe

然后将其作为命令行参数传递给 mstsc.exe;这类似于 chris-s-r 的解决方案,但不会影响您启动的每个 RDP 会话.更完整的摘要此处的设置.

and you pass that as a command-line argument to mstsc.exe; this similar to chris-s-r's solution, but without affecting every RDP session you launch. A fuller summary of settings here.