Share via

Adding New Host Server Keeps failing

Anonymous
2024-06-07T15:50:21+00:00

Trying to add a new server into the RDS environment via the Management console but keep getting failed message.

Enabled the logging feature and can see the RdmsDeploymentUI log file.

In the file are 2 errors but cannot seem to find anything on these to help me:

ServerManager.exe Error: 0 : 07/06/2024 15:39:09.05: RdmsUI: Error in script execution on OurServerName :

ThreadId=27 

ServerManager.exe Error: 0 : 07/06/2024 15:39:09.05: RdmsUI: Failed to fetch local DB connection string from server: OurServerName : System.Management.Automation.RemoteException: Property DBConnString does not exist at path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tssdis\Parameters.

at Microsoft.RemoteDesktopServices.Common.DeploymentModel.ExecutePowerShellScript(String serverName, String script, Object argumentList, Boolean isLocalhost)

at Microsoft.RemoteDesktopServices.Common.DeploymentModel.GetLocalDbConnectionString(String managementServer)

at Microsoft.RemoteDesktopServices.Common.DeploymentModel.IsHighAvailabilityConfigured(String managementServer)

ThreadId=27

We use a single broker using the Windows Internal Database.

Any body have any ideas, deployment of new servers use to work fine a few months ago.

Windows for business | Windows Server | User experience | Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-06-10T16:58:33+00:00

    Hello,

    The error message you are encountering indicates that the server you are trying to add to the RDS environment is having problems getting the local database connection string.

    You can first check the registry: Open the registry editor (' regedit ') on the server and navigate to:

    *'HKEY\_LOCAL\_MACHINE\SYSTEM\CurrentControlSet\Services\Tssdis\Parameters'.*
    

    Verify that the value 'DBConnString' actually exists. In the standard setup for using Windows Internal Database (WID), this key may not exist if the server is not configured properly for Remote Desktop Connection agent High availability or if the registry has been manually changed. If this key is missing, you may need to properly reconfigure the server or restore the registry from the backup (if available).

    Also, given that you are using WID, you can reinstall the remote desktop service roles on the server, especially the connection proxy role services. This helps ensure that all components and configurations are reset to their default state, thus resolving any misconfigurations.

    Note: Serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further protection, back up the registry before you modify it. For more information about how to back up and restore the registry, refer to How to back up and restore the registry in Windows.

    I hope this helps.

    Regards

    Was this answer helpful?

    0 comments No comments