大网数据广告活动
远程桌面与会话

Adding Remote Desktop Services role fails

· 52CE 我爱测

Helps solve an issue where adding Remote Desktop Services role fails when Firewall Service is stopped.

This article provides help to solve an issue where adding Remote Desktop Services role fails when Firewall Service is stopped.

Original KB number:   2802436

Symptoms

On a computer that is running Windows Server 2012, when you try to install the Remote Desktop Services role using the "Add Roles and Features" Wizard, the installation may fail. Additionally, during the installation process you may receive one of the following error messages:

Unable to open remote connections on the RD Connection Broker server

The post installation configuration did not complete.

Note: After a reboot, the RDS Server may work. If it does not, the following powershell commands will complete the failed action:

$tss = Get-WmiObject -namespace root\cimv2\terminalservices -class Win32_TerminalServiceSetting  
$tss.SetAllowTSConnections(1,0)

Cause

During the post installation configuration, the wizard attempts to enable necessary firewall exceptions for the RDS Role. When the firewall service is stopped, this operation fails and is reported with the above error.

Resolution

It is not recommended to run without a Firewall. If you have certain requirements to do so, enable the Firewall Service at least during installation of this Role.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。