Jump to content
DeployCentral

Post-Image Restart


tghowe
 Share

Recommended Posts

We just upgraded to version 2.0.2010 and we've been experimenting with unattended deployments.  We have several domain GPOs that load when SmartDeploy places the client on our domain, but they don't take affect until the client gets restarted.  At this point we would normally log into a client and restart it manually.

What we'd like to do is have the client restart after all other deployment steps are completed and we're staring at the domain login prompt.  This would allow true unattended deployment without user interaction.....such as a lab environment and/or after hours.

I've tried modifying the answer file by adding "tasks" under the "advanced options", but it did not trigger at the right time.  Any ideas on how we can make this work?

 

Thanx in advance!

Link to comment
Share on other sites

Hello,

Attached is a VBScript that will update the Windows Unattend.xml that will get used. Run this as a post image task. I.e. open Deploy Wizard, Advanced, Tasks, add “after image is applied” task…

 

 

Wscript.exe C:\scripts\autoadmin.vbs (This assumes the .vbs is sitting in this path on your image).

 

Edit the script for the correct user name and password. (Replace “demo” and “pass@word1”.).

 

Create another task at first logon with the following command:

 

cmd.exe /c shutdown.exe /r

Thanks,

SmartDeploy Support

autoadmin.txt

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