Windows 11 Template Active Directory Domain Join Error

Prev Next

 

Issue: The admin is attempting to create a new Windows 11 template (WIN11TEST) for cloud Desktop Pools. During the creation process, they encounter an error: Domain join failed with error code 1326. Desktops created from the new Windows 11 template are failing to provision due to a domain join error. 

A screenshot of a computer

AI-generated content may be incorrect., Picture 

 

Cause: The error code 1326 indicates a domain join configuration mismatch. This suggests that the domain join settings in the template may be incorrect or require further verification. 

Please refer the KB article for the error code 1326: Workspot Agent Issues & Troubleshooting 

Please refer the KB article for Domain join failed issues: Troubleshooting Domain Joined Failed Errors 

Steps to Resolve the Issue: 

  1. Move the Template Back to the Draft State: 

  • The first step is to move the template back to the draft state to allow for reconfiguration. 

  1. Connect to the Template VM: 

  • Access the template VM and review the domain join settings to ensure the domain join configuration is accurate.  

  1. Reconfigure Domain Join Settings: 
    In Template, run the “WorkspotConfigEditor.exe” from “C:\ProgramData\WorkspotAgent\Config” location, provide domain details to join the Virtual Desktop to the Domain and run “Test Secure Credentials” to validate details provided are correct. 

A screenshot of a computer screen

Description automatically generated, Picture 

 

  1. Transition the Template to Preview State: 

  • After reconfiguring the domain join settings, move the template back to the preview state. This allows you to test the provisioning of VMs to ensure that the domain join error is resolved. 

A screenshot of a computer

AI-generated content may be incorrect., Picture 

 

Recommendation: If encountering domain join errors during template creation, ensure that the domain join settings are correctly configured and tested. Always verify credentials and domain information before transitioning the template to production or preview states.