I had 3 VM collections, were working all right! All of a sudden, If I try to create another Virtual collection i get this error with empty reason for failure. (with any Windows version)
If I choose the option to create Profile disks it says it failed to create Profile disks, but when I go in the collection to reconfigure it a red error appears saying there are no rdVH or rdSH. ...but the VMs appear when I create a collection.
The collection is created with no machines in it. If I try to add a machine I get failure again and similar event log.
I have Sql HA, but I don't notice any errors there.
The connection Brokers services are usually crashing, and I need start them manually before I can access the RD server manager... maybe for another ticket.
---------
Log Name: Microsoft-Rdms-UI/Admin
Source: Microsoft-Windows-Rdms-UI
Date: 2/3/2019 12:56:33 PM
Event ID: 8224
Task Category: VDI Add VMs
Level: Error
Keywords:
User: domain\private
Computer: Flex.domain
Description:
win7-8: Adding virtual desktop Win8 failed. Reason:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Rdms-UI" Guid="{FB750AD9-8544-427F-B284-8ED9C6C221AE}" />
<EventID>8224</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>9</Task>
<Opcode>0</Opcode>
<Keywords>0x2000000000000000</Keywords>
<TimeCreated SystemTime="2019-02-03T10:56:33.596682200Z" />
<EventRecordID>24</EventRecordID>
<Correlation ActivityID="{7988E50D-BB27-0002-5720-8B7927BBD401}" />
<Execution ProcessID="7392" ThreadID="7912" />
<Channel>Microsoft-Rdms-UI/Admin</Channel>
<Computer>Flex.domain</Computer>
<Security UserID="S-1-5-21-224794525-14269677-1679037050-1105" />
</System>
<EventData>
<Data Name="arg1">win7-8</Data>
<Data Name="arg2">Win8</Data>
<Data Name="arg3">
</Data>
</EventData>
</Event>
---------
And if I try to restart the rdVH service on the hyperv host the service fails to restart. A reboot will fix. The following error appears for every VM.
--------
Failed to set value of the '0x80070002' Data Exchange integration service item for virtual machine 'tenpro-n': 쾴쮎翶 (The system cannot find the file specified.) (Virtual machine ID 椏d)
---------
If I destroy the collection, remove and reinsert the server, I see errors on Server manager:
RD Virtualization Host Configuration Failed on hypernest.domain With Error: VmHostAgent on 'hypernest.lab.lonblu.pro' could not sync the VM objects to CB:'Scom18.domain'. Exception: System.ArgumentException
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Management.ManagementObjectCollection.get_Count()
at Microsoft.RemoteDesktopServices.Management.Cmdlets.VM.NumberOfObjectsInNamespace(String namespacePath, String query)
at Microsoft.RemoteDesktopServices.Management.Cmdlets.AddRDVirtualizationHostCommand.AddRDVH()
------------------
I tried to remove all collections, reinsert the 2 HyperV hosts, and now I don't see any VM appearing in the list for creating a new collection.