Restarting a Computer as part of a Job
Im new to Symantec Management Platform and Deployment Solution and Im currently putting together an imaging solution to replace Ghost Solution Suite.
Im running DS 7.5 with the expectation that most of the deployment jobs we will run will be multicast. At a high level all I really want to know is how to sucessfully restart a computer as part of a job AND have the console not fail the task or any subsequent tasks.
Here my deployment job (currently using the default sysprep answer file)
1) Boot to Automation
2) Deploy Windows 7 x64 image using ghost
3) Use DISM in a script to source and inject correct drivers for the computer model
4) Copy various files to mounted image
5) Boot to production
6) Apply an "Always on" power scheme
7) Script to copy various installers, set registry keys and various other windows customisations
8) Apply a system configuration to set the computer name as the computer serial number
9) Restart the computer
10) Final Shutdown
Essentially all Im trying to achive to is have the job sucessfully restart the computer after step 7. I need this to complete as Im setting the RunOnceEx registry key run the application installers I have copied in this step.
I have tried
a) Completely baffeled myslef as to why step 8 didnt restart the computer, before eventually coming to the conclusion that as the computer is known to DS and there is inventory information on a machine, DS was appliyng the correct computer name to it during step 5 and mini setup.
b) Setup a simple batch script using "shutdown -r", but found that this creates a failure when I run the task on multiple computer models
c) Using the "Power Control" task, but find this sometimes does not restart the machine and when it does can still fail the job.
Each of the steps above will work when I run a single task on single machine, but have inconistencies when run as part of a job.
Can anyone help please?