17 January 2009

Hardware Independent Imaging with DeployAnywhere

On the juice site I found this article on using DeployAnywhere

Some other (and same) information comes from the KB articles

How to use DeployAnywhere in Deployment Solution to replace the HAL, NIC driver, and mass storage drivers


DeployAnywhere works by deleting the existing HAL.dll in a Windows* operating system and deploys a NIC driver and mass storage driver to rebuild the HAL.dll on the first reboot.

Requirements

        • Deployment Solution 6.9 SP1
        • Any image created with RapiDeploy, Ghost, or ImageX.
        • Windows PE Automation Enviroment

Steps to complete

  1. Create an image with RapiDeploy, Ghost, or ImageX.
  2. Create a Distribute Image task and check Use DeployAnywhere hardware independent imaging in the Configuration section of the task.
  3. Check Prepare Using Sysprep.
  4. Assign the Image Task with DeployAnywhere settings.

How do I test if the driver database has drivers for a computer?


  1. Boot to Windows PE* 2.1 network enviroment.
  2. Run these commands:
    cd F:\ghost
    ghDplyAw32.exe /target=c:\windows /ddb=F:\DriversDB /eval
  3. This will return a failure or success. (If a failure is returned, it will say what driver is needed.)
  4. Important:
    The previous task only works if the SmeUtil.sys driver is in the
    \Windows\System32\Drivers folder of WinPE. This driver is found in the Ghost folder in your Deployment Share. It can be added to the WinPE automation during the creation or editing process by right-clicking the Drivers folder and selecting Add File.
    As an alternative, the SmeUtil.sys driver can be copied by adding the following command to your run script task:
    Copy %ALTIRIS_SHARE%\Ghost\SmeUtil.sys %SystemRoot%\
    System32\Drivers

NIC and mass storage drivers need to be added to the DeployAnywhere driver database.


  1. Open the Deployment Console.
  2. Click Tools, and then DeployAnywhere Driver Managment.
  3. Click on network for NIC drivers and mass storage tab for mass storage drivers, and click Add New Driver.
  4. In the New Window Driver window browse to your drivers. In the friendly name box, type a name for the driver you are adding. Check the OS that this driver will be applicable for.

To enable Deploy Anywhere logging with Deployment Server do the following:


        • Open the applicable Distribute Disk Image job.
        • Select 'Use DeployAnywhere hardware independent imaging'.  The 'Advanced' button will become active. (not grey)
        • Click on the 'Advanced' button.  In the 'Additional Parameters' box add the '/capturesupportinfo=<path on DS to store the logs>' switch.  E.g. /target=c:\windows /ddb=\driversdb /capturesupportinfo=f:\temp.

    When Deploy Anywhere is ran it will output all logs to the directory specified. 

No comments: