When attempting to shadow a XenDesktop session through Desktop Director 2, the following error message is displayed:
“Failed to initiate Remote Assistance: You have insufficient permissions (error code 102). Refer to documentation for Remote Assistance configuration. View server event logs for further information.”
The following events are logged in the Application Event Log:
Event ID 5(CDDS) "Failed to connect to data source 'virtual desktop via WinRM' ('Win7MS2.xendesktop.poc:5985'). Verify that the data source is available. User: 'XENDESKTOP\Administrator' Console operation: 'retrieving desktop hardware information' Additional diagnostics information (error message): 'WinRM timeout. Verify that the desktop is running. Error code: -2144108250'"
EventID 1(CDDS) Access was denied when accessing the data source 'virtual desktop via Remote Assistance DCOM' ('Win7MS2.xendesktop.poc'). Verify that the user has permissions to access this data source. User: 'XENDESKTOP\Administrator' Console operation: 'launching remote assistance for desktop' Systemeventlog: EventID 10006(Distributed COM) DCOM got error "2147942405" from the computer test1.xendesktop.poc when attempting to activate the server: {3C3A70A7-A468-49B9-8ADA-28E11FCCAD5D}
This error occurs because either the group policy is not configured or DCOM is not enabled.