Creating image that automatically joins the domain

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5953
    klittlejohn1
    Member
    • Total Post: 2
    • Newbie

    I have created a master image and pulled it to WDM. We are using V90Ls. I downloaded the join domain script and that works perfectly. I want to be able to push the image and then have the join domain script run immediately after so it is on the domain. My question is how can I script this so it works? Do I just add the package script info to the master image package? Thanks in advance.

    K

    #18494
    ConfGen
    Keymaster
    • Total Post: 11485
    • Jedi Master
    • ★★★★★★★

    Yes, add it to the master image.
    You can use the setup.bat file in the windows/setup/ folder. After you have finished your image, add the needed files to that folder and modify the setup.bat in the way you need it. (Just add your commands before the shutdown script and replace the PING and XPEtest commands.).
    Then run prep4man.bat and after the unit was shutdown extract the image.
    After the first boot sysprep will now run and after the initial boot your AddDomain script runs.

    CG

    #18522
    klittlejohn1
    Member
    • Total Post: 2
    • Newbie

    thanks for the response. OK. So I will basically create new If exists statements referencing the files that I move over to join to the domain and then run the prep4man.bat? Sorry I am kind of new to this.

    #18526
    ConfGen
    Keymaster
    • Total Post: 11485
    • Jedi Master
    • ★★★★★★★

    Yes, you can do it like this.

    CG

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.