RDP客户端可以启动远程应用程序,然后只显示该应用程序(而不是桌面)吗?应用程序将在客户端中显示为全屏,如果应用程序已关闭,则会话将结束.
Ste*_*ham 18
使用RDP连接文件,您可以将备用shell设置为您的应用程序; 文件语法是这样的
alternate shell:s:c:\winnt\system32\notepad.exe
Run Code Online (Sandbox Code Playgroud)
并将其作为命令行参数传递给mstsc.exe; 这与chrissr的解决方案类似,但不会影响您启动的每个RDP会话. 这里有更完整的设置摘要.
Tho*_*ing 18
解决方法:“替代外壳” 在Windows的最新版本中似乎不再起作用RemoteApp。
remoteapplicationmode:i:1
remoteapplicationname:s:Purpose of the app shown to user...
remoteapplicationprogram:s:C:\...\some.exe
remoteapplicationcmdline:s:
Run Code Online (Sandbox Code Playgroud)
为了使其在例如Windows 10 Professional下工作,需要启用一些策略:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]
"fAllowUnlistedRemotePrograms"=dword:00000001
Run Code Online (Sandbox Code Playgroud)
小智 16
Windows 注册表编辑器 5.00 版
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList]
"fDisabledAllowList"=dword:00000001
1.2 右键单击文件,然后单击Merge、Yes、Ok。
远程应用模式:i:1
remoteapplicationname:s:这将是应用程序的可选描述
remoteapplicationprogram:s:应用程序的相对或绝对路径
(例如:taskmgr 或 C:\Windows\system32\taskmgr.exe)
remoteapplicationcmdline:s:在这里你可以放置任何可选的应用程序参数
远程应用模式:i:1 远程应用程序名称:s: 远程应用程序:s:mspaint remoteapplicationcmdline:s:
2.2 输入您的用户名和密码并连接。
3. 现在您可以毫无问题地使用您的 RemoteApp,就像它在您的本地机器上运行一样

这称为"无缝"模式.rdesktop,Unix的RDP客户端,能够做到这一点.从联机帮助页:
Run Code Online (Sandbox Code Playgroud)-A Enable SeamlessRDP. In this mode, rdesktop creates a X11 window for each window on the server side. This mode requires the SeamlessRDP server side component, which is available from http://www.cendio.com/seamlessrdp/. When using this option, you should specify a startup shell which launches the desired application through SeamlessRDP.
有关更多信息,请参阅Cendio网站.
是的,您可以将默认shell从Explorer.exe更改为特定应用程序.
在Regedit中,导航到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.当前的shell应该是Explorer.exe.将其更改为YourApp.exe.这将更改登录到计算机的所有用户的shell.如果您只想为特定用户更改它,请转到HKEY_CURRENT_USER中的相同密钥.