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.
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.
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.