Ghost Solution Suite

 View Only
  • 1.  Adding audio/video drivers to a ghost image of Win7 and Windows XP

    Posted May 06, 2010 04:11 AM
    Hello guys,

    I have created a ghost image from a laptop and successfully restored it to another laptop but some drivers are missing from the OS like video, and biometric device.
    Since I want to create an image that will work to 10 different models, I was wondering if there is any way to import drivers directly to the OS in order to find the drivers automatically.
    I am not using Microsoft AIK or anything else except the Ghost 2.5.
    Sysprep is working fine, workstation can be automatically joined to domain... but.. no drivers...


    Any ideas?

    Thanks in advance,
    Nikos


  • 2.  RE: Adding audio/video drivers to a ghost image of Win7 and Windows XP

    Posted May 06, 2010 02:44 PM
    Hi Nikos,

    In this respect Ghost isnt really the greatest at what you are trying to achieve. You would be better downloading the WAIK for Windows 7 and take an image of the Disk via imagex in WIM Format.

    Once you have the image in WIM format you can then inject drivers via DISM to your image, when windows starts up it will install all the drivers that can be installed without supplemental software.



  • 3.  RE: Adding audio/video drivers to a ghost image of Win7 and Windows XP

    Posted May 07, 2010 07:42 AM
    Well,

    I have managed to add some drivers on the image by creating a folder "Drivers" under the root of the primary disk and there copy the driver folders.
    On some workstations, this worked ok (As far as I can see from Device Manager) but on an older machine, the audio drivers (AC97 something) are not installed. This probably happens because these drivers are unsigned (I figured it out when trying to manual install the driver on the target machine).
    The unattend.xml that I use is the following:



    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
       <settings pass="oobeSystem">
          <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
             <OOBE>
                <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                    <SkipMachineOOBE>true</SkipMachineOOBE>
                    <SkipUserOOBE>true</SkipUserOOBE>
             </OOBE>
              <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>60</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
             </Display>
                <RegisteredOwner>Template</RegisteredOwner>
                <RegisteredOrganization>Company</RegisteredOrganization>
                <TimeZone>GTB Standard Time</TimeZone>
       </component>
            <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SystemLocale>en-US</SystemLocale>
                <UserLocale>en-US</UserLocale>
            </component>
       </settings>
       <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ProductKey>XXXXX-XXXXX-XXXXX</ProductKey>
                <ComputerName>*</ComputerName>        
            </component>
            <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <Identification>
                    <JoinWorkgroup>Domain</JoinWorkgroup>
                </Identification>
            </component>
        </settings>
        <settings pass="generalize">
            <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
            </component>
            <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipRearm>1</SkipRearm>
            </component>
        </settings>
    <settings pass="offlineServicing">
            <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DriverPaths>
                  <PathAndCredentials wcm:action="add" wcm:keyValue="1">
                     <Path>c:\drivers</Path>
                  </PathAndCredentials>
                </DriverPaths>
            </component>
        </settings>
       <cpi:offlineImage cpi:source="wim:c:/vista/x86/image.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi"/>
    </unattend>


    I have found a way to override this problem for unsigned drivers but only for the sysprep version of windows XP.

    Any Ideas?


  • 4.  RE: Adding audio/video drivers to a ghost image of Win7 and Windows XP

    Posted May 10, 2010 10:45 AM
    Nia,
    Why have you decided not to use WAIK or another Microsoft technologies? Microsoft does have an official Windows 7 Support Forum located here http://tinyurl.com/9fhdl5 . It is supported by product specialists as well as engineers and support teams. You may want to also check the threads available there for additional ideas and support.
    Jessica
    Microsoft Windows Client Team


  • 5.  RE: Adding audio/video drivers to a ghost image of Win7 and Windows XP

    Posted May 10, 2010 12:18 PM
    Maybe because we want to sell 15.000 licenses of ghost? cool

    Actually Ghost on win 7 works fine (as it seems) with the procedure I posted earlier. Now working on the XP image for the same issue.

    I will keep you posted.

    Regards,


  • 6.  RE: Adding audio/video drivers to a ghost image of Win7 and Windows XP

    Posted May 10, 2010 02:11 PM
    If I recall correctly, your need to include the path to each driver set's INF file in your sysprep.inf file, separated by ;  (semicolon).
    Not all drivers will install using plug and play, which then means having some scripts that run post sysprep which install these drivers using a silent install command line.
    You don't need to use the WAIK for this, but the WAIK documentation is worth reading through for your particular operating system(s) to make sure you are using all the options supported natively by the operating system build process.
    Each new version of WAIK brings additional functionality, so I would endorse the opinions expressed earlier in this thread, that if you are working with Windows 7, it would be sensible to start with the WAIK and then tailor it to your specific requirements.


  • 7.  RE: Adding audio/video drivers to a ghost image of Win7 and Windows XP

    Posted May 14, 2010 06:53 AM
    I managed to get it worked to Win XP to...

    Here is how I got it:

    1. Install XP on source Machine
    2. Apply all drivers and new MS patches
    3. Create a folder C:\Drivers that contain all drivers for target machines
    4. run the spdrvscn.exe tool from http://www.vernalex.com/tools/spdrvscn/index.shtml (great tool that you can avoid time on typing)
    5. Create a sysprep conf from Ghost console that contains the following:


    [Data]
    MsDosInitiated = 0
    UnattendedInstall = Yes
     
    [Unattended]
    UnattendMode = FullUnattended
    OemSkipEula = Yes
    NoWaitAfterTextMode = 1
    NoWaitAfterGUIMode = 1
    TargetPath = \WINDOWS
    Repartition = Yes
    Unattendswitch = Yes
    UpdateInstalledDrivers = Yes
    WaitForReboot = No
    DriverSigningPolicy = Ignore
    UPDATEUPHAL = Yes
    UPDATEUPHAL = ACPIPIC_UP,C:\WINDOWS\INF\HAL.INF
    UPDATEUPHAL = ACPIAPIC_UP,C:\WINDOWS\INF\HAL.INF
    UPDATEUPHAL = MPS_UP,C:\WINDOWS\INF\HAL.INF

    [GuiUnattended]
    OEMSkipRegional = 1
    OemSkipWelcome = 1
    AdminPassword = "xxx"
    TimeZone = 110
    EncryptedAdminPassword = No
    AutoLogon = Yes
    AutoLogonCount = 99
     
    [Display]
    Vrefresh = 60
    Xresolution = 1024
    Yresolution = 768
     
    [RegionalSettings]
    Language = 00000409
    LanguageGroup = 1
     
    [Sysprep]
    BuildMassStorageSection = No
     
    [SysprepMassStorage]
    pci\ven_10b9&dev_5243 = c:\windows\inf\machine.inf
    pci\ven_10b9&dev_5247 = c:\windows\inf\machine.inf
    pci\ven_10b9&dev_7101 = c:\windows\inf\machine.inf
    .....many more lines here
    pcmcia\sony-memorystick(_32m)-1766 = c:\windows\inf\mshdc.inf
    pcmcia\sony-memorystick(_64m)-8c2c = c:\windows\inf\mshdc.inf
    pci\ven_1055&dev_9130 = c:\windows\inf\mshdc.inf
    pcmcia\micron-mtcf____-392d = c:\windows\inf\mshdc.inf
    pci\ven_1179&dev_0105 = c:\windows\inf\mshdc.inf
     
    [UserData]
    FullName, product key etc
     
    [data]
    UnattendedInstall = Yes
     
    [Identification]
    JoinWorkgroup = domain
     
    [Networking]
    InstallDefaultComponents = Yes
     
    [Branding]
    BrandIEUsingUnattended = Yes
     

    5. Create a task for image capture
    6. You are ready to roll !!!!!!!!!

    I have managed by this way to capture an image from Thinkpad T41 to Lenovo X60.
    This way we do not have BSOD (but with compatibility mode on sata from BIOS on X60)

    Hope that helps...


  • 8.  RE: Adding audio/video drivers to a ghost image of Win7 and Windows XP

    Posted Jul 08, 2010 02:46 PM

    For windwos xp you dont need any extra work. all you need to do add the OEM drivers info into sysprep and you are all set.
    I have 15 different models with one image . I use Altiris DS and use single image . The sysprep file include all the drivers inf path.