寻找一个解决scheme,根据端口号连接到各种Windows主机。 我希望能够select连接到哪台机器,而不需要实现微软的RDGWangular色。
这可能听起来有点小,但我需要的唯一原因是能够使用mstsc.exe,而不需要使用mstsc.exe上的rdgw设置configuration高级选项卡。
或者,如果我可以以编程方式创buildrdg文件与rdgw设置/凭据也将工作 – 我找不到一种方法来做到这一点。
谢谢。
这是一个.rdp文件的内容。 改变你想要的,并保存为.rdp作为注释完整的地址:s:主机PC和网关主机名:s:RDP GATEWAY
屏幕模式ID:我:2
desktopwidth:I:1400
desktopheight:I:1050
会议bpp:我:16
winposstr:S:0,3,161,151,969,778
完整的地址:s:host.company.com
压缩:I:1
的KeyboardHook:I:2
audiomode:I:0
redirectprinters:I:1
redirectcomports:I:0
redirectsmartcards:I:0
redirectclipboard:I:1
redirectposdevices:I:0
displayconnectionbar:I:1
自动连接启用:我:1
身份validation级别:i:0
提示input凭据:i:0
谈判安全层:我:1
remoteapplicationmode:I:0
备用shell:s:
shell工作目录:s:
禁用壁纸:我:1
禁用完整窗口拖动:我:1
允许桌面组成:我:0
允许字体平滑:i:0
禁用菜单anims:我:1
禁用主题:我:0
禁用光标设置:i:0
bitmapcachepersistenable:I:1
gatewayhostname:S:rdpgateway.company.com
gatewayusagemethod:I:2
gatewaycredentialssource:I:4
gatewayprofileusagemethod:I:1
promptcredentialonce:I:1
drivestoredirect:S:
使用multimon:i:0
audiocapturemode:I:0
videoplaybackmode:I:1
连接types:i:7
networkautodetect:I:1
bandwidthautodetect:I:1
enableworkspacereconnect:I:0
gatewaybrokeringtype:I:0
使用redirect服务器名称:i:0
rdgiskdcproxy:I:0
kdcproxyname:S: