Apr 14 2021 10:55 AM
I'm trying to deploy Remote Desktop Services on a single server on Windows Server 2019 Standard.
I've tried both Standard Deployment and Quick Start with a Session-based desktop development but I'm getting the following error during the installation:
Unable to add server REMOTEAPP.AD.DOMAIN.COM to the list of servers on the RD Connection Broker server REMOTEAPP.AD.DOMAIN.COM..Exception of type 'System.Runtime.InteropServices.COMException' was thrown.
I searched for some hint about this problem but I had not find anything useful.
I cannot even find any useful log into the events log, and I tried one more time after reinstalling the server from scratch.
Could you help me please?
Thank you very much!
Apr 21 2021 11:39 PM
Jul 15 2022 12:42 AM
SOLVED using the following steps:
Warning: a full reconfiguration will be needeed afterwards
1) Remove all RDS roles and remove WID (Windows Internal Database) feature
2) Reboot
3) Rename C:\windows\WID to C:\windows\WID.old
4) In registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\ClusterSettings
Delete DeploymentServerName
Purge value of SessionDirectoryLocation
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tssdis\Parameters
Remove Tssdis key
(it contains DBConnString in parameters key and secrets)
5) Reboot
6) Add RDS roles again
Removal of registry keys could be sufficient. To be validated.