Virtual Desktops Appear as "Not Registered" in the Console

Virtual Desktops Appear as "Not Registered" in the Console

book

Article ID: CTX117449

calendar_today

Updated On:

Description

When creating a desktop group in the Management Console, the virtual desktops appear as Not Registered. 

This article applies to deployments using OU-based VDA registration.  Registry-based VDA registration is the modern standard.

Other symptoms for this issue include the following:

  • The Application event log (Event ID 1208) on the Virtual Desktop
    “Ping request was rejected by the Citrix Desktop Delivery Controller Service. It may be unable to contact this machine. Check that there is not a firewall blocking connection”.
  • The Application event log (Event ID 1123) on the Desktop Delivery Controller:
    “Failed to apply settings on the Virtual Desktop Agent on machine <SID – Reference Number>. Reason: The caller was not authenticated by the service”.

    Resolution

    To resolve the issue, grant the logon right, Access this computer from the network to the Delivery Controller machine account(s). 

    This can be modified directly on the VDA (recommended for testing):

    1. To edit the policy directly on the VDA, use Local Computer Policy editor (MMC, then add the Snap-In Local Computer Policy.)
    2. The policy is located in Computer Configuration -->Windows Settings -->Policies -->Security Settings -->Local Policies -->User Rights Assignment
    3. Locate "Access this computer from the network"
    4. Click 'Add User or Group'.   Change the Object Types to include "Computers".
    5. Type the names of the Delivery Controller(s).  Click 'Check Names'.  Click OK to save the change.  There will be several warnings.

    Once this is determined to resolve the OU-based registration issue, policy can be applied to all the VDA's by completing one of the following tasks:

    • Apply a group policy from the domain controller either to the domain as a whole or to an Organizational Unit containing the Virtual Desktops for the XenDesktop farm.
    User-added image
     

    Problem Cause

    • ​This issue is typically caused if the virtual desktop computer does not allow the Desktop Delivery Controller (DDC) computer to access the computer from the network. In other words, the “Access this computer from the network” option or logon right is not specified for the Delivery Controller.
    • This issue occurs if the logon right has not been granted to the Delivery Controller from the Group Policy, Active Directory, or locally on the virtual desktop computer.

    • This article applies to OU-based registration.  Registry-based registration is recommended for most modern XenDesktop deployments. 

      Issue/Introduction

      This article provides a resolution to the following issue in the Management Console with error: "Not Registered."

      Additional Information

      Error "Failed to remove the Citrix Service on Controller<SID>" on running DDC evict script.

      The following events were obtained by Changing the Controllers Security Group to a Distribution Group.

                 User Message in a Browser Window

      • YourDesktopGroupName is currently unavailable.
      • An error occurred while starting YourDesktopGroupName
        User-added image

      Virtual Desktop Agent Events

      Event ID 1223
      "The Citrix Desktop Service failed to register with any delivery controller.
      The service will retry registering with controllers after a period of up to 10 minutes.
      Ensure that at least one delivery controller is available for Virtual Desktop Agents to register with. Refer to Citrix Knowledge Center article CTX136668 - How to Troubleshoot Virtual Delivery Agent (VDA) Registration issues for further information."
      Event ID 1221

      "The Citrix Desktop Service cannot connect to the delivery controller 'http://computer.PVS.com:8080/Citrix/CdsController/IRegistrar' (IP Address '10.x.x.x')

      Check that the system clock is in sync between this machine and the delivery controller. If this does not resolve the problem, refer to Citrix Knowledge Center article CTX136668 - How to Troubleshoot Virtual Delivery Agent (VDA) Registration issues for further information.
      Error Details:
      Exception 'Could not connect to http://ftlrdrinxd4.pvs.com:8080/Citrix/CdsController/IRegistrar. TCP error code 10061: No connection could be made because the target machine actively refused it 10.x.x.x:8080.' of type 'System.ServiceModel.EndpointNotFoundException'."

      Event ID 1207
      "The Citrix Desktop Service lost contact with the Citrix Desktop Delivery Controller Service on server 'computer.pvs.com'. The service will now attempt to register again.
      Error details:
      Exception 'Could not connect to http://computer.pvs.com:8080/Citrix/CdsController/IRegistrar. TCP error code 10061: No connection could be made because the target machine actively refused it 10.x.x.x:8080.' of type System.ServiceModel.EndpointNotFoundException'"

       

      DDC/Web Interface Events

       
      Event ID: 1508
      Event Type: Warning Event Source: Citrix Pool Management Service Event Category: None Event ID: 1508 Date: 3/19/2012 Time: 5:47:37 PM User: N/A Computer: Description: The Citrix Desktop Delivery Pool Management service detected that a virtual desktop machine 'Windows 7 (PVS) 32bit VDA - 39.64/dhcp' in desktop group 'Happy' has not established connection with delivery controller. A start or resume operation on a virtual desktop machine has not resulted in that machine contacting the delivery controller within a reasonable period. The hosting server address for that virtual desktop machine is 'http://10....'.
      Ensure that the virtual desktop machine is running and that the guest OS has successfully started. Refer to Citrix Knowledge Center article CTX136668 - How to Troubleshoot Virtual Delivery Agent (VDA) Registration issues  for further information relating to registration problems.
      Event ID: 1300
      Event Type: Warning Event Source: Citrix Desktop Delivery Controller Event Category: None Event ID: 1300 Date: 3/19/2012 Time: 5:47:49 PM User: N/A Computer: Description: The delivery controller failed to broker a connection for user 'reguser' to desktop group 'Happy'.
      If the problem persists, refer to Citrix Knowledge Center article CTX119738 - Troubleshooting XenDesktop Launch Issues for further information.
      Event ID: 30110
      Error details: Failure code: '0x80000001' Event Type: Error Event Source: Citrix Web Interface Event Category: None Event ID: 30110 Date: 3/19/2012 Time: 5:47:49 PM User: N/A Computer: FTLRDRINXD4 Description: Site path: c:\inetpub\wwwroot\Citrix\DesktopWeb. An error of type IMA with an error ID of 0x80000001 was reported from the Citrix XML Service at address http://localhost:80/scripts/wpnbr.dll [com.citrix.xml.NFuseProtocol.RequestAddress]. Depending on the server running the XML Service, more information may be available in the server's event log. This Citrix XML Service transaction failed, but the XML Service has not been removed from the list of active services. [Unique Log ID: d2c8bf5]

      For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp

      Event ID: 31003
      Event Type: Error Event Source: Citrix Web Interface Event Category: None Event ID: 31003 Date: 3/19/2012 Time: 5:47:49 PM User: N/A Computer: FTLRDRINXD4 Description: Site path: c:\inetpub\wwwroot\Citrix\DesktopWeb. All the Citrix XML Services configured for farm Farm1 failed to respond to this XML Service transaction. [Unique Log ID: 957a268d]
      For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
      Event ID: 1301
      Event Type: Warning Event Source: Citrix Desktop Delivery Controller Event Category: None Event ID: 1301 Date: 3/19/2012 Time: 5:58:53 PM User: N/A Computer: FTLRDRINXD4 Description: The delivery controller failed to broker a connection for user 'reguser' to desktop group 'Happy'. The delivery controller cannot find any available virtual desktops.
      Add more virtual desktops to the desktop group. If the problem is because of existing virtual desktops not becoming available, refer to Citrix Knowledge Center article CTX136668 - How to Troubleshoot Virtual Delivery Agent (VDA) Registration issues  for further information.
      Event ID: 30112
      Event Type: Error Event Source: Citrix Web Interface Event Category: None Event ID: 30112 Date: 3/19/2012 Time: 5:58:53 PM User: N/A Computer: FTLRDRINXD4 Description: Site path: c:\inetpub\wwwroot\Citrix\DesktopWeb. No available resource found for user pvs\reguser when accessing desktop group Happy. This message was reported from the Citrix XML Service at address http://localhost:80 [com.citrix.xml.NFuseProtocol.RequestAddress]. [Unique Log ID: 8943dafd]
      For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
      Event ID: 1301
      Event Type: Warning Event Source: Citrix Desktop Delivery Controller Event Category: None Event ID: 1301 Date: 3/19/2012 Time: 5:59:06 PM User: N/A Computer: FTLRDRINXD4 Description: The delivery controller failed to broker a connection for user 'reguser' to desktop group 'Happy'. The delivery controller cannot find any available virtual desktops.
      Add more virtual desktops to the desktop group. If the problem is because of existing virtual desktops not becoming available, refer to Citrix Knowledge Center article CTX136668 - How to Troubleshoot Virtual Delivery Agent (VDA) Registration issues for further information.
      Event ID: 30112
      Event Type: Error Event Source: Citrix Web Interface Event Category: None Event ID: 30112 Date: 3/19/2012 Time: 5:59:06 PM User: N/A Computer: FTLRDRINXD4 Description: Site path: c:\inetpub\wwwroot\Citrix\DesktopWeb. No available resource found for user pvs\reguser when accessing desktop group Happy. This message was reported from the Citrix XML Service at address http://localhost:80 [com.citrix.xml.NFuseProtocol.RequestAddress]. [Unique Log ID: 71ec68a]
      For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp