I have a brand new environment with three servers:
- One AD DC
- Two Hyper-V hosts on which I'm trying to deploy RDS
All three servers are running GUI-less Windows Server 2019.
When I try to deploy a Virtual Desktop Environment with this command on my second Hyper-V host (not the RDCB or RDWA):
New-RDVirtualDesktopDeployment -ConnectionBroker "VDI-HOST01.DOMAIN.COM" -WebAccess "VDI-HOST01.DOMAIN.COM" -VirtualizationHost @("VDI-HOST01.DOMAIN.COM","VDI-HOST02.DOMAIN.COM")
I get this error:
Unable to install RD Connection Broker role service on server VDI-HOST01.DOMAIN.COM
+ CategoryInfo : InvalidResult: (:) [], RDManagementException
+ FullyQualifiedErrorId : JobStateFailed
+ PSComputerName : localhost
All servers are a member of the same domain and in the same OU. The user account that I am using is a member of both Domain Admins and the local Adminstrators group on each server.
Each Hyper-V server is a member of the local "RDS Management Servers", "RDS Endpoint Servers", and "RDS Remote Access Servers" groups on each machine.
Uninstalling Windows Internal Database, renaming to WID_OLD, and reinstalling RDCB does not fix the issue.
I tried enabling and collecting logs as suggested here: https://docs.microsoft.com/en-US/troubleshoot/windows-server/remote/log-files-to-troubleshoot-rds-issues but no logs were created. As they both have UI in their names, maybe I can't properly enable them without a GUI.
WinRM connection settings are just fine. I'm able to PSRemote into each server from each server and run all commands except for this RDS deployment one.
Am I missing something here? Any help would be appreciated, because I am absolutely stumped.