HP,Altiris Group

  • 1.  Scripted OS Install: Win 7 how to add drivers?

    Posted Feb 25, 2011 09:47 AM

    Hello,

    I'm using Altiris DS 6.9 SP4 and I'm trying to do a scripted OS install with Windows 7. I've downloaded some drivers, because Windows 7 needs new drivers to install the hardware (HP Probook 6550b), and placed them in "\\<servername>\eXpress\Deploy\WinOS004\sources\sources\$OEM$\$1\drivers". When the scripted-os-install-job has finished the Windows intallation has been completed but the hardware is not installed.

    The drivers are placed on the machine (c:\drivers\) but it looks like I need to do a second step. After some googling I found the 'Windows system image manager' option "Microsoft-Windows-PnpCustomizationsNonWinPE" ... but this is not making a difference....

     

    What do I do wrong?



  • 2.  RE: Scripted OS Install: Win 7 how to add drivers?

    Posted Mar 16, 2011 08:12 PM

    you could provide your own xml file tha contains the path for the drivers.

    Something else you could use is DeployAnywhere, add the drivers to it and when deploying the image put a checkmark by deployAnywhere.  Once the image is deployed, DeployAnyhwere starts and checks what drivers are needed for the system and take action to copy files.

     

    nelson V.



  • 3.  RE: Scripted OS Install: Win 7 how to add drivers?

    Posted Mar 17, 2011 05:56 AM
      |   view attached

    Hi Nelson,

    Attached is the xml-file which I use for the scripted OS install (passwords has been changed :-) ). The hardware that isn't installed is the network card, because of that Altiris is unable to complete the scripted OS.

    I think that DeployAnywhere isn't an option as long as the network interface card isn''t installed by the scripted OS.

    Attachment(s)

    xml
    Win7_ERS.xml   7 KB 1 version


  • 4.  RE: Scripted OS Install: Win 7 how to add drivers?

    Posted Mar 17, 2011 01:40 PM

    I think u are missing the audit pass. Where all the drivers are collected. You should run sysprep /audit /reboot /unattend:anattededfile.xml  then do the capture image using sysprep with the xml you provided.

    So, run that the audit pass manually in command prompt or create a DS script job that will do that part.

    In summary:

    1. Run sysprep /audit /reboot /unattend:anattededfile.xml to gather drivers to the OS.

    2. Capture image using sysprep and provide your xml file.

    Good Luck,

     

    nelson V



  • 5.  RE: Scripted OS Install: Win 7 how to add drivers?

    Posted Mar 22, 2011 09:38 AM

    Hi Nelson,

    Thanks for your reply. If never used sysprep for this so I'm going to try it.

     

    Edit: Do you know a url to a HOWTO? I've tried to start this sysprep but it broke my installation. Also it's not totally unattended when the scripted OS install needs to install the network card drivers.

    With Windows XP and Altiris DS 6.9 this was no problem....



  • 6.  RE: Scripted OS Install: Win 7 how to add drivers?
    Best Answer

    Posted Mar 22, 2011 01:27 PM

    I imagine there are several ways to accomplish this.  You might also take a look at the MS dism utility (Deployment Image Servicing and Management).  It's in the Windows 7 AIK, which is a free download from MS.  Windows 7 drivers need to be loaded into a protected area called the driver store, which is easily accomplished by script using dism.  In my environment, we call dism (from a network share) in a cmd file using a syntax like this:

    <path to dism>\dism /Image:D /Add-Driver /recurse /Driver:<path to drivers>

    We run dism after applying the image (wim), but before the first reboot.  Since the image was applied it is a live file system and no longer an image, which leads me to believe that it should also work to use dism in a scripted install.  In other words, use "/Image" in the above syntax to point to the drive letter of the drive on which you installed Windows.

    Good Luck!



  • 7.  RE: Scripted OS Install: Win 7 how to add drivers?

    Posted Mar 23, 2011 07:42 AM

    Hi Matt,

    Thanks for your reaction. This is what I'm looking for. With the inserted (network) drivers I'm able to complete the scripted OS install.

    Thanks!

     

    I found more info on:

    http://technet.microsoft.com/en-us/library/dd744355(WS.10).aspx