Domain Join, Code 2 - Universal Image


  • Hello,

    i have a problem with Domain Join - universal image project.
    Could you tell me, what does it mean?

    2023-02-28 15:39:28,108 DEBUG [17] ApiRequest - ProvisionedComm/Policy/GetScript/
    2023-02-28 15:39:28,202 INFO [17] PolicyCacher - Finished Caching Policy 9aff4a1a-26d0-4568-b897-25108e600b8d (Join Domain)
    2023-02-28 15:39:28,202 INFO [17] PolicyCacher - Caching Policy 3aeed15e-e91c-43a0-9a05-ba264e850b8c (Image Prep Cleanup)
    2023-02-28 15:39:28,202 INFO [17] PolicyCacher - Finished Caching Policy 3aeed15e-e91c-43a0-9a05-ba264e850b8c (Image Prep Cleanup)
    2023-02-28 15:39:28,202 INFO [17] PolicyCacher - Caching Policy 35bfa91b-b6df-4086-902b-5448e7d05298 (Collect Inventory)
    2023-02-28 15:39:28,217 INFO [17] PolicyCacher - Finished Caching Policy 35bfa91b-b6df-4086-902b-5448e7d05298 (Collect Inventory)
    2023-02-28 15:39:28,217 DEBUG [17] PolicyRunner - Releasing The Download Connection.
    2023-02-28 15:39:28,217 DEBUG [17] ApiRequest - Policy/RemoveDownloadConnection/
    2023-02-28 15:39:28,248 INFO [17] PolicyExecutor - Executing Policy 9aff4a1a-26d0-4568-b897-25108e600b8d (Join Domain)
    2023-02-28 15:39:28,264 DEBUG [17] PolicyExecutor - Evaluating Conditions For Join Domain
    2023-02-28 15:39:28,264 INFO [17] ModuleScriptManager - Running Script Module: Sysprep Setup Completed
    2023-02-28 15:39:28,264 DEBUG [17] ServiceProcess - Starting Command: Powershell.exe  -ExecutionPolicy Bypass -NoProfile -File  "C:\Program Files\Toec\AppData\f79019c0-3b7f-46b1-8809-f29f548dff86\f79019c0-3b7f-46b1-8809-f29f548dff86.ps1" 
    2023-02-28 15:39:28,702 INFO [17] ModuleScriptManager - {"ExitCode":-1,"StandardError":"","StandardOut":""}
    2023-02-28 15:39:28,717 INFO [17] ModuleScriptManager - Script Module: Sysprep Setup Completed Finished
    2023-02-28 15:39:28,717 DEBUG [17] PolicyExecutor - Condition Evaluation Completed Successfully
    2023-02-28 15:39:28,733 DEBUG [17] ApiRequest - ProvisionedComm/Policy/GetDomainJoinCredentials/
    2023-02-28 15:39:28,874 INFO [17] ServiceDomain - Joining Domain theopenem.lokal
    2023-02-28 15:39:28,889 DEBUG [17] ServiceDomain - Username: theopenem\toem_domain
    2023-02-28 15:39:28,889 DEBUG [17] ServiceDomain - OU: CN=Computers,DC=theopenem,DC=lokal
    2023-02-28 15:39:30,467 ERROR [17] ServiceDomain - Domain Join Failed.
    2023-02-28 15:39:30,467 INFO [17] ServiceDomain - Domain Join Result: 2
    2023-02-28 15:39:30,467 ERROR [17] PolicyRunner - Aborting All Remaining Policies
    2023-02-28 15:39:30,467 INFO [17] PolicyRunner - Policies Complete.  Starting Policy Cleanup.
    2023-02-28 15:39:30,467 INFO [17] PolicyRunner - Submitting Policy Results
    2023-02-28 15:39:30,483 DEBUG [17] ApiRequest - ProvisionedComm/Policy/AddHistory/
    2023-02-28 15:39:30,577 INFO [17] PolicyRunner - Completed Submitting Policy Results
    2023-02-28 15:39:30,577 INFO [17] PolicyRunner - Cleaning Policy Cache
    2023-02-28 15:39:30,577 INFO [17] ServiceTriggerAction - Trigger Action: Checkin. Complete.
    

  • @godfather said in Domain Join, Code 2 - Universal Image:

    CN=Computers,DC=theopenem,DC=lokal

    That is not an OU. If you want to use the computers container, leave the ou blank.


  • Thank you for your answer.
    I did it and now i have other problem:

    2023-02-28 16:24:35,418 INFO [17] ServiceDomain - Joining Domain theopenem.lokal
    2023-02-28 16:24:35,418 DEBUG [17] ServiceDomain - Username: theopenem\toem_domain
    2023-02-28 16:24:35,418 DEBUG [17] ServiceDomain - OU: 
    2023-02-28 16:24:36,434 ERROR [17] ServiceDomain - Domain Join Failed.
    2023-02-28 16:24:36,434 INFO [17] ServiceDomain - Domain Join Result: 1355
    2023-02-28 16:24:36,451 ERROR [17] PolicyRunner - Aborting All Remaining Policies
    2023-02-28 16:24:36,451 INFO [17] PolicyRunner - Policies Complete.  Starting Policy Cleanup.
    2023-02-28 16:24:36,451 INFO [17] PolicyRunner - Submitting Policy Results
    2023-02-28 16:24:36,467 DEBUG [17] ApiRequest - ProvisionedComm/Policy/AddHistory/
    2023-02-28 16:24:36,582 INFO [17] PolicyRunner - Completed Submitting Policy Results
    2023-02-28 16:24:36,582 INFO [17] PolicyRunner - Cleaning Policy Cache
    2023-02-28 16:24:36,582 INFO [17] ServiceTriggerAction - Trigger Action: Checkin. Complete.
    

  • 1355 error is domain doesn't exist. Are you sure the domain is correct and can be contacted?


  • Sometimes we need only be patient... It works today!

    I changed nothing else... Only remove OU from "Join Domain" Policy.

    Thank you very much.