Error: "Failed to initiate Remote Assistance: You have insufficient permissions (Error Code 102)"

Error: "Failed to initiate Remote Assistance: You have insufficient permissions (Error Code 102)"

book

Article ID: CTX131350

calendar_today

Updated On:

Description

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} 

Resolution

To resolve the issue, complete the following steps:
  1. Configure and verify the group policies as per the Knowledge Center article - CTX127388 - How to Enable Remote Assistance for Desktop Director.
  2. Verify that the DCOM is enabled by completing the following steps:
    1. Open Run and type dcomcnfg.
    2. Expand Component Services > Computers.
    3. Right-click My Computer and select Properties.
    4. Under Default Properties, verify Enabled Distributed COM on this computer is selected.
    5. Verify other COM settings.

Problem Cause

This error occurs because either the group policy is not configured or DCOM is not enabled.

Issue/Introduction

This article provides a resolution to the error: "Failed to initiate Remote Assistance: You have insufficient permissions (error code 102)."