Login to participate
Endpoint Management & Virtualization ArticlesRSS

Deployment Solution 7.0 Automation Check

CondorMan's picture

Deployment Solution 7.0 provides the capability to boot a managed computer into WinPE to run maintenance tasks while Production Windows is offline. When the Deployment Agent is installed, a boot folder is installed with it and Windows is configured to dual-boot into the WinPE .wim that exists in the boot folder.

The Reboot To task can be used to boot a computer into Automation. However, there is no method to verify that the client computer is actually in Automation before running the next task. If the client computer is for some reason unable to boot into Automation, the next task will be run in Production Windows, which could be problematic.

I have designed a task which you can use in place of the Reboot To task to reboot a computer into Automation. This task will boot a computer into Automation and make sure the computer is actually in Automation before continuing to the next task. It will attempt to boot into Automation three times before quitting with a failure.

To create a "Reboot To Automation" task, follow these steps:

  1. Select a folder to create this job in. Right-click the folder and choose New > Job or Task.
  2. From the list of task types, select "Client Job"
  3. At the top of the right-hand pane, you can rename "Client Job" to "Reboot To Automation".
  4. In the right-hand pane, click New > Task.
  5. From the list of task types, select "Reboot To"
  6. Make sure the boot environment is set to Automation and click OK.
  7. Click New > Task.
  8. From the list of task types, select "Run Script"
  9. Make sure the script type is set to "Command Script"
  10. Copy and paste the following into the text field for the Run Script Task: IF %ALTIRS_BOOTTYPE%==AUTOMATION (exit 0) ELSE (exit 1)
  11. Change the title "Run Script" to "Automation Check 1" and click OK.
  12. Click New > Condition.
  13. Set the condition to "Automation Check 1 - Return Value equals 1" and click OK.
  14. Repeat steps 4 through 13 once, replacing "Automation Check 1" with "Automation Check 2".
  15. Repeat steps 4 through 11 once, replacing "Automation Check 1" with "Automation Check 3". This will cause the agent to attempt to reboot into automation three times before reporting failure. If three retries is too many or too few, adjust the number of repeats to something that suits you better. Just remember that the last Automation Check should not have a condition following it.
  16. Click OK.
  17. You should now have a task that looks like this:

    imagebrowser image

  18. Now, you can use this in place of the standard "Reboot To" task in any of your client jobs. This task will make sure the computer is actually in Automation before continuing.
    1. In your Client Job, click Add Existing.
    2. Select "Reboot To Automation" and click OK.
    3. You can either enable the "Fail Job if any Task fails or add a Condition to fail the job if the Reboot To Automation task fails.
    4. Add the rest of the tasks that you need for this job.
haim96's picture

question about deploy 7

 does it capable to install all OS (like server 2003/2008) or only vista and XP?
can i use it instead  of deploy 6.9?

arjain's picture

currently i dont think that

currently i dont think that DS 7.0 can install OS, it for deploying sysprep images.
also it can distribute personalities, backup and restore images.
using Apply System Configuration you can chnage name, ipaddress, and other administrative tasks remotely.

Regards,
arjain
www.syspanacea.com

Pascal.KOTTE's picture

Except on another disk drive ? (perhaps)

If we create automation preboot partitition, we should be able to deploy OS, using GHOST script. If using a preboot in embeded file/folder, for sure, it will not be easy to overwrite himself...  :-)
In theory: we can start a ghostcastserver on a "master" machine, and start multiple "ghost" clients (same subnet or multicast network ready) to download a single image to multiple clients using multicasting...
Any body do that already? I will be very interested such a topic !
I will probably build such a LAB myself to see !

~~PaKo @ www.BeMore.ch (Sorry for the Bad English, did you speak French ? Join us https://www-secure.symantec.com/connect/groups/gro... )

Pascal.KOTTE's picture

Ghost multicasting will be supported in DS7 later in 2009

Hi - I just got this new: DS 7 should support Ghost multicast "natively" in next release later in 2009 (ok not very precise, it is all I know...)

~~PaKo @ www.BeMore.ch (Sorry for the Bad English, did you speak French ? Join us https://www-secure.symantec.com/connect/groups/gro... )

jamesmax's picture

DS 6.9 SP2

Interesting article. I haven't tried DS 7, but from what I had heard DS 6.9 SP2 has way more functionality than DS 7 as of June 2009. We use DS 6.9 SP 2 and it works really well. You may want to try it if you cannot do everything you want.