Help Center/ Workspace/ FAQs/ FAQs for Administrators/ Identity Authentication and AD Configuration/ What If a Cloud Desktop Fails to Be Added to a Domain?
Updated on 2026-11-02 GMT+08:00

What If a Cloud Desktop Fails to Be Added to a Domain?

Scenario

A cloud desktop may fail to be added to a domain due to various reasons. Select a solution based on the actual failure cause. If no solution is matched, submit a service ticket and provide the ticket information to obtain technical support.

Error Message "2732" Is Displayed

The AD domain already has a computer account that has the same name but does not belong to the user to be added to the domain. Therefore, the AD domain policy prevents the desktop from being added to the domain.

Method 1: Delete the old account.

  1. Log in to the AD server using an account with domain administrator permissions and its password.
  2. Press Win+R. In the displayed Run dialog box, enter dsa.msc. The Active Directory Users and Computers page is displayed.
  3. Click View in the upper part and select Advanced Features.
  4. Right-click the domain name and choose Find from the shortcut menu.
  5. Set Name to the name of the computer to be added to the domain and click Find Now.
  6. In the search result, right-click the computer name and choose Delete from the shortcut menu. Then click yes.
  7. Add the computer to the domain again.

Method 2: Configure a group policy whitelist.

  1. Log in to the AD server using an account with domain administrator permissions and its password.
  2. Press Win+R. In the displayed Run dialog box, enter gpmc.msc to open the Group Policy Management page.
  3. In the navigation pane, choose Forest > Domains > Your domain name > Domain Controllers, right-click Default Domain Controllers Policy, and choose Edit from the shortcut menu.
  4. Choose Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > Security Options.
  5. On the right of the Security Options page, right-click Domain controller: Allow computer account reuse during domain join, choose Properties from the shortcut menu, select Enabled for this policy, and add the security group that allows domain joining.

Error Message "1909" Is Displayed

The domain account used to add the desktop to the domain has been locked.

  1. Log in to the AD server using an account with domain administrator permissions and its password.
  2. Press Win+R. In the displayed Run dialog box, enter dsa.msc. The Active Directory Users and Computers page is displayed.
  3. Click View in the upper part and select Advanced Features.
  4. Right-click the domain name and choose Find from the shortcut menu.
  5. Set Name to the domain account and click Find Now.
  6. In the search result, right-click the found domain account and choose Properties from the shortcut menu.
  7. Click the Account tab and check the Unlock account box.
  8. Click OK.

Error Message "8647" Is Displayed

Duplicate service principal names (SPNs) exist in the AD domain.

  1. Search for Windows PowerShell in the Start menu of the AD server and click Run as administrator to open the Windows PowerShell window.
  2. Run the following commands in sequence to search for conflicting SPNs.

    For example, if the name of the failed computer is User01, run the following commands:

    setspn -F -Q HOST/User01

    setspn -F -Q HOST/User01.vdesktop.huawei.com

    setspn -F -Q RestrictedKrbHost/User01

    setspn -F -Q RestrictedKrbHost/User01.vdesktop.huawei.com

  3. After the commands are run, the system lists the AD accounts (which may be one or more old computer objects or service accounts) that are associated with the SPN.

    • Case 1: An old desktop account is abandoned and occupies the SPN.
      1. Press Win+R. In the displayed Run dialog box, enter dsa.msc. The Active Directory Users and Computers page is displayed.
      2. Click View in the upper part and select Advanced Features.
      3. Right-click the domain name and choose Find from the shortcut menu.
      4. Set Name to the name of the computer to be added to the domain and click Find Now.
      5. In the search result, right-click the computer name and choose Delete from the shortcut menu. Then click yes.
    • Case 2: A service account or a normal desktop is bound to the SPN.

      For example, if User02 is bound to the SPN of User01, run the following commands to delete the conflicting object:

      setspn -D HOST/User01 User02

      setspn -D HOST/User01.vdesktop.huawei.com User02

      setspn -D RestrictedKrbHost/User01 User02

      setspn -D RestrictedKrbHost/User01.vdesktop.huawei.com User02

  4. Run commands in 2 again. If the corresponding SPN is not found, the SPN has been cleared.
  5. Add the computer to the domain again.