> ## Content Index
> Fetch the complete content index at: https://note.xdq.me/llms.txt
> Use this file to discover other available public pages before exploring further.

# Windows Server 2012/2016 RDS 部署使用非443端口远程桌面网关
- URL: https://note.xdq.me/windows-server-2012-2016-rds-bu-shu-shi-yong-fei-443duan-kou-yuan-cheng-zhuo-mian-wang-guan/
- Published: 2017-09-27T07:52:32.000Z
- Updated: 2026-10-03T03:00:37.000Z
- Author: xud6
- Tags: #Import 2026-10-03 02:45

在管理终端powershell执行以下命令

```
Set-RDSessionCollectionConfiguration –CollectionName "<Your Session  Collectionnam>" -CustomRdpProperty "  gatewayhostname:s:<RDGW-FQDN>:<yourport>" -ConnectionBroker  <Your RD ConnectionBroker>

```

###### 注

```
<Your Session  Collectionnam>    远程桌面集合名称
<RDGW-FQDN>                      远程桌面网关FQDN
<yourport>                       远程桌面网关端口
<Your RD ConnectionBroker>       远程桌面会话主机名称

```