Adding Remote Desktop Services role fails – Windows Server

Estelle Sidler

09/08/2020 2 minutes to read In this article This article provides help to solve an issue where adding Remote Desktop Services role fails when Firewall Service is stopped. Original product version:   Windows Server 2012 R2Original KB number:   2802436 […]


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

Original product version:   Windows Server 2012 R2
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 rootcimv2terminalservices -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 Article

Next Post

Imagine clothing that stretches or shrinks to fit you

As everyone who has painstakingly straightened their hair knows, water is the enemy. Hair carefully straightened by heat will bounce back into curls the minute it touches water. Why? Because hair has shape memory. Its material properties allow it to change shape in response to certain stimuli and return to […]