Jump to content
DeployCentral

Application packs / scripts


nerdynerd
 Share

Recommended Posts

Do "Script" Application packs run before or after the domain is joined? 

Do they run as the user that's entered in the answer file or is it ran as some built in user like SYSTEM?

I'm hoping to run a batch file or a powershell script after the imaging is complete to call our to our software deployment system for some packages. I have a working script so I'm just trying to integrate that with SmartDeploy and understand when and by whom it's going to run.

Link to comment
Share on other sites

Depends on the phase.

PREIMAGE and POSTIMAGE:
These occur in WindowsPE, before and after the image is applied, respectively.

SPECIALIZE:
These occur after reboot, during the Sysprep SPECIALIZE phase (executed essentially by the Sysprep process itself - they are written into the Sysprep Unattend.xml files). For your specific question, domain join occurs after these tasks would be executed, so if they are domain-join dependent, you'll want to run them during...

FIRSTBOOT:
First Boot as System. These occur behind the Windows login screen, and are executed by the service that is just called "SmartDeploy" (not to be confused with the SmartDeploy Client Service), under the authority of the LOCALSYSTEM account, which has admin-equivalent permissions, more or less, and can be used to install software as long as you're using a silent/unattended command line for the installation.

FIRSTLOGON:
First Logon as User. These are written into the RunOnce area in the Windows Registry, and are executed under the authority of whichever user logs in first. This can be combined with Autologon if that's useful.

We have some examples here, if that's helpful:
Answer File Tasks

If you there's anything specific you're trying to accomplish and it isn't working as expected, go ahead and open a support ticket and we'll assist however we can.

Glenn
SmartDeploy Support
(support@smartdeploy.com)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...