Starting with Commander 9.4.0, the built-in Join Domain workflow step was deprecated due to Microsoft’s DCOM hardening. Instead, Flexera introduced a WinRM-based Join Domain module. This article addresses the following error sometimes encountered with the new module:
Computer 'MachineName' failed to join the domain 'DomainName' from its current workgroup 'WorkgroupName' with the message: A specified logon session does not exist. It may have already been terminated.
-
Confirm the error in vcommander.log
and check the target VM’s Event Viewer for Event ID 1497 with error code 1312 stating:
"The machine MachineName attempted to join the domain DomainName but failed. The error code was 1312." -
The cause may be the DomainAdmin credentials not saved in UPN format.
- Correct format:
username@domain.com - Incorrect format:
DOMAIN\username
- Correct format:
-
To fix this:
- Log in to the Commander admin portal.
- Navigate to Configuration > Credentials.
- Select the DomainAdmin credential and click Edit.
- Update the username to UPN format (
user@domain.com). - Click OK to save changes.
-
Retry the failed workflow step. The VM should successfully join the domain using the WinRM module.
Outcome
Modifying the DomainAdmin credentials ensures proper authentication for domain join operations, resolving the session error and completing the workflow successfully.
Related Articles
Beacon task scheduler error: “A specified logon session does not exist” after installation 10Number of Views Manual scan results in error: "bonding_masters" does not exist 34Number of Views Capture web session traffic in a HAR file for troubleshooting 495Number of Views ?ERROR - JRE Source does not exist? on Mac OS X 7Number of Views Message Displays When Uninstalling: Error opening installation log file. Verify that the specified location exists and is … 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago