Good morning,
After following the webinar, I tested a Windows 10 Pro deployment and I get this error on both a VM and a PC:
Nothing under c:\windows\temp\joi-......
I tried creating the computer account in the OU, but it didn't change anything. The PC doesn't go into deployment waiting mode
Any ideas you'd like to suggest?
THANKS
[RESOLVED] OS Domain Junction Code 1326
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
- dcardon
- WAPT Expert
- Messages: 1929
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello bruno67,
error code 1326 indicates an authentication problem. I assume you entered the correct password, so the problem lies elsewhere. In the console, the credentials are used to perform local privilege escalation to run the djoin command. There may be encoding issues during the credentials transfer for privilege escalation:
* What login format did you use? `identifier` and `identifier@mydomain.lan` work, but `MYDOMAIN\identifier` is buggy (to be fixed in a future version)?
* Does the domain have anything unusual (connection to a RODC, trust relationship, etc.)?
* Do you have an unusual special character in your password? (We've already had conversion problems between local machine encodings and UTF-8)
Best regards,
Denis
error code 1326 indicates an authentication problem. I assume you entered the correct password, so the problem lies elsewhere. In the console, the credentials are used to perform local privilege escalation to run the djoin command. There may be encoding issues during the credentials transfer for privilege escalation:
* What login format did you use? `identifier` and `identifier@mydomain.lan` work, but `MYDOMAIN\identifier` is buggy (to be fixed in a future version)?
* Does the domain have anything unusual (connection to a RODC, trust relationship, etc.)?
* Do you have an unusual special character in your password? (We've already had conversion problems between local machine encodings and UTF-8)
Best regards,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Good morning,
Watching the webinar, I thought I understood that offline join didn't require entering an account and password in the XML file as long as the computer account existed in Active Directory. I must have misunderstood.
For the password, nothing special.
What I find strange is that during DJOIN, when choosing the OU, only one appears: 'test-gpo' while I have dozens of OUs above
I also used this procedure:
https://www.it-connect.fr/comment-deplo ... -wapt-2-2/
without further success
I just deleted the configuration to be applied (Win10-conf) and created a new one offline, and I get this message: "one or more required elements are empty"
Best regards
Bruno
Watching the webinar, I thought I understood that offline join didn't require entering an account and password in the XML file as long as the computer account existed in Active Directory. I must have misunderstood.
For the password, nothing special.
What I find strange is that during DJOIN, when choosing the OU, only one appears: 'test-gpo' while I have dozens of OUs above
I also used this procedure:
https://www.it-connect.fr/comment-deplo ... -wapt-2-2/
without further success
I just deleted the configuration to be applied (Win10-conf) and created a new one offline, and I get this message: "one or more required elements are empty"
Best regards
Bruno
- dcardon
- WAPT Expert
- Messages: 1929
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello bruno67,
The djoin function allows you to avoid putting the password in the unattend.xml file. The djoin is a blob that contains the client machine's join information (i.e., the machine's FQDN and its password in AD; a machine joined via djoin changes its password upon the first contact with AD, normally after the first reboot if on the corporate network).
So either we choose:
Sincerely,
Denis
The djoin function allows you to avoid putting the password in the unattend.xml file. The djoin is a blob that contains the client machine's join information (i.e., the machine's FQDN and its password in AD; a machine joined via djoin changes its password upon the first contact with AD, normally after the first reboot if on the corporate network).
So either we choose:
- either an unattend.xml online template and we put the login/password of an account that has the right to make the join,
* or an unattend.xml offline/djoin template which will contain the djoin blob and which is automatically added to the xml file.
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
-
florian777
- Messages: 32
- Registration: Apr 13, 2022 - 09:53
I'm bringing this up again because I'm encountering the same error.


Wapt version: 2.2.1.11899 rev 2d82654e
OS: Windows 2016


Wapt version: 2.2.1.11899 rev 2d82654e
OS: Windows 2016
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
djoin is a Windows executable, so it's Windows that's returning this code.
It would be interesting to run the command directly in a command prompt to see exactly what Windows says.
Another question: is the console being launched with an account that has the rights to create a computer account in Active Directory?
Simon
It would be interesting to run the command directly in a command prompt to see exactly what Windows says.
Another question: is the console being launched with an account that has the rights to create a computer account in Active Directory?
Simon
-
florian777
- Messages: 32
- Registration: Apr 13, 2022 - 09:53
Here is the command in different "states"
: Console launched with a local administrator account and cmd as a local administrator:

Console launched with a local administrator account and cmd as a domain administrator:

Console launched with a domain administrator account and cmd as a domain administrator:

: Console launched with a local administrator account and cmd as a local administrator:

Console launched with a local administrator account and cmd as a domain administrator:

Console launched with a domain administrator account and cmd as a domain administrator:

- dcardon
- WAPT Expert
- Messages: 1929
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello,
for the first one, that's normal; djoin needs an account with domain privileges to create an account.
For the second one, there's clearly already a machine with the same name, so you need to add /reuse, otherwise it won't work.
The same goes for the third one.
Anyway, for some reason, /reuse doesn't seem very reliable in djoin.exe. We'll suggest deleting the entry before recreating it with djoin in the console; I think that will be simpler.
Regards,
Denis
for the first one, that's normal; djoin needs an account with domain privileges to create an account.
For the second one, there's clearly already a machine with the same name, so you need to add /reuse, otherwise it won't work.
The same goes for the third one.
Anyway, for some reason, /reuse doesn't seem very reliable in djoin.exe. We'll suggest deleting the entry before recreating it with djoin in the console; I think that will be simpler.
Regards,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
-
florian777
- Messages: 32
- Registration: Apr 13, 2022 - 09:53
Hello,
I tried using the /reuse option but it didn't change anything. I tried with a machine name that has never been registered in AD, but I get the same message:

I tried using the /reuse option but it didn't change anything. I tried with a machine name that has never been registered in AD, but I get the same message:

