Unable to install RD Virtualization Host role service

Angelworks42 46 Reputation points
2021-06-25T22:41:26.263+00:00

I have a hyper-v host running Windows Server 2019 Datacenter.

On my RD-Broker I type:

New-RDVirtualDesktopDeployment -ConnectionBroker "rdbc.example.com" -WebAccessServer "rdweb.example.com" -VirtualizationHost "vsh.example.com"

and get:

Unable to install RD Virtualization Host role service on server vsh.example.com

  • CategoryInfo : NotSpecified: (:) [Write-Error], RDManagementException
  • FullyQualifiedErrorId : InstallRoleServices,Microsoft.PowerShell.Commands.WriteErrorCommand
  • PSComputerName : localhost

Unable to open remote connections on the RD Connection Broker server rdbc.example.com.

  • CategoryInfo : NotSpecified: (:) [Write-Error], RDManagementException
  • FullyQualifiedErrorId : ConfigureRDManagement,Microsoft.PowerShell.Commands.WriteErrorCommand
  • PSComputerName : localhost

I've tested this with the broker sitting on the same network as the hyper-v host, with the firewall on and off.

I'm not entirely sure how to troubleshoot this or where logs are stored - there doesn't seem to be anything meaningful in the eventviewer.

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,254 questions
0 comments No comments
{count} votes

Accepted answer
  1. Carl Fan 6,836 Reputation points
    2021-06-30T08:53:10.957+00:00

    @Angelworks42 Hi,
    Thank you for your information and provide the document.
    As far as I know, Windows Server 2019 Standard and Datacenter version should have full support for RDS server roles. Windows Server 2019 Essentials version does not full support for RDS server roles. Also, Core version support part of RDS server roles, however, RD VH is supported on Core version. So I did not consider the Desktop Experience Role.
    Anyway, glad to hear that you have found a solution and thank you for sharing it here, it will be helpful to other community members who have same questions.
    Hope this helps and please help to accept as Answer if the response is useful.
    Best Regards,
    Carl

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Carl Fan 6,836 Reputation points
    2021-06-28T09:45:55.97+00:00

    Hi,
    On the RD Connection Broker/s, ensure that RD Connection Broker and RD Management Services are running, then add all RDS servers within the deployment into Server Pool, re-open Server Manager to see whether it works.
    Meanwhile re-enabling the full firewall, running the install, then disabling again.
    If WID(Windows Internal Database) has been installed:

    1. Open Run, type “services.msc” and end with enter.,
    2. Find service Windows Internal Database, open its Properties – Log On, make sure it has been configured with “Local system account”.
    3. Save the change and re-start the service, try to install RD CB again.
      If problem persists, please try:
    4. Uninstall the Windows Internal Database.
    5. Rename the old WID (C:\Windows) to WID_old.
    6. Try to install RDCB again to check the result.
      Ther logs for troubleshooting install RDS related role problem ,we can enable the logs registry then install the related role again.
      Introduction to log files that are useful for troubleshooting RDS issues in Windows Server 2012
      https://support.microsoft.com/en-gb/help/2747656/introduction-to-log-files-that-are-useful-for-troubleshooting-rds-issu
      Hope this helps and please help to accept as Answer if the response is useful.
      Best Regards,
      Carl