Deployment Solution

 View Only
  • 1.  Vista HII Deployment

    Posted Apr 01, 2009 09:15 AM
    Hello everyone,

    i created Vista Hardware Independent Image. The Image works fine. But i have a problem during the deployment.
    The Image was created with sysprep.exe /audit /generalize. When i deploy the image it will boot into audit mode and install the drivers for the machine. After that i have an AutoLogon in Audit Mode and the logged on user will then start syspre.exe /oobe /reboot . The problem is, that at this point the DAgent connects to the DS and the DS starts the configuration part (rename machine and put in AD). But this is not good at this time, because oobe pass has not run at this time. How can i tell the DAgent to run the configuration after sysprep has finished completely?
    One other Problem is, that the audit driver installation pass takes so long. I see a black screen and mouse cursor for about 30-40min until it continues.
    I hope anyone can help. :-)

    thanks


  • 2.  RE: Vista HII Deployment

    Posted Apr 01, 2009 10:03 AM

    I would suggest stopping using the configuration task in the imaging (if you are using that) and put in a pause script (a script that uses the pause command).  The only problem is that will take away from the automation and require a manual input.  I also know vista has some problems with scripts.  Another choice would be a wait script. 
    I found this one somewhere online and it has worked for me in XP but you will need to know how long the oobe pass runs or have a general time frame.  This is a direct copy from a Run Script task I have:
    [code]
    'Wait for 5 seconds
    'vbscript
    Option Explicit

    Dim continue, wait, secs

    continue = 1
    secs = 5

    'While continue < 2

    wait_function(secs)

    'continue = MsgBox("your reminder message", 1, "reminder")

    'Wend

    Private Sub wait_function(secs)
    Dim enter_time, leave_time

    enter_time = Timer
    leave_time = Timer

    While (enter_time + secs > leave_time)
    leave_time = Timer
    Wend
    End Sub
    [/code]
    As for the audit drive installation, I haven't had the chance to make a Vista HII or deploy one, so can't help you there.



  • 3.  RE: Vista HII Deployment

    Posted Apr 01, 2009 10:09 AM
    In your sysprep.inf file there should be a RunOnce area.  You can use that to customize post image installations.  We use that to remove certain applications for example.


  • 4.  RE: Vista HII Deployment
    Best Answer

    Posted Apr 02, 2009 05:52 AM
    thank you all.
    I found a solution for that problem.
    I added these 2 command to the specialize pass in the unattend.xml

    cmd /c sc stop "Altiris Deployment Agent"
    cmd /c sc config "Altiris Deployment Agent" start= disabled


    The Service is now stopped and will not run during sysprep/audit pass.

    In the OOBE Pass the service will be enabled in this way:

    cmd /c sc config "Altiris Deployment Agent" start= auto
    cmd /c sc start "Altiris Deployment Agent"