Link to home
Start Free TrialLog in
Avatar of shoris
shoris

asked on

Ghost Imaging - Sysprep XP (HELP)

I have this sysprep done.. and it works like a charm for all my desktops.. but my laptops.. none of them are still picking up the drivers.. Can someone please please verify the sysprep.inf.. and give me some insight..

;SetupMgrTag
[Unattended]
    OemSkipEula=Yes
    ExtendOemPartition=1
    InstallFilesPath=C:\sysprep\i386
    DriverSigningPolicy=Ignore
    OemPreInstall=Yes
    OemPnPDriversPath=Drivers\GX260\audio\SMAXWDM\W2K_XP;Drivers\GX260\nic;Drivers\GX260\video;Drivers\GX260\usb;Drivers\GX260\IntelINF;Drivers\GX270\audio\SMAXWDM\W2K_XP;Drivers\GX270\nic;Drivers\GX270\video;Drivers\GX270\IntelINF;Drivers\GX280\audio\SMAXWDM\W2K_XP;Drivers\GX280\nic;Drivers\GX280\video\Driver\2KXP_INF;Drivers\GX280\IntelINF;Drivers\GX620\audio\SMAXWDM\W2K_XP;Drivers\GX620\nic;Drivers\GX620\video;Drivers\GX620\IntelINF;Drivers\GX620\cdr;Driverss\c640\audio\;Drivers\c640\nic;Drivers\c640\video\driver\XP_INF;Drivers\c640\touchpad;Drivers\c640\IntelINF;Drivers\modem;Drivers\D400\audio\WDM\;Drivers\D400\nic;Drivers\D400\video;Drivers\D400\IntelINF;Drivers\D400\input;Drivers\D400\modem;Drivers\D600\audio\WDM\;Drivers\D600\nic;Drivers\D600\video\Driver\2KXP_INF;Drivers\D600\IntelINF;Drivers\D600\wireless;Drivers\D600\input;Drivers\D600\modem;Drivers\D610\audio\WDM;Drivers\D610\nic;Drivers\D610\video\2KXP_INF;Drivers\D610\IntelINF;Drivers\D610\wireless;Drivers\D610\Texas;Drivers\M50\audio;Drivers\M50\nic;Drivers\M50\video;Drivers\M50\IntelINF;Drivers\M50\modem;Drivers\M50\input


[GuiUnattended]
    AdminPassword="xxxx"
    EncryptedAdminPassword=NO
    OEMSkipRegional=1
    OEMDuplicatorstring="Dell_Ver 1.1.3"
    TimeZone=35
    OemSkipWelcome=1

[UserData]
    ProductKey=xxxxxxxxxxxxxxxxxxxxxxxxx
    FullName="xxxx"
    OrgName="xxxxxx"
;ComputerName=xxxxxx

[Display]
    BitsPerPel=32
    Xresolution=1024
    YResolution=768
    Vrefresh=60

[SetupMgr]
    DistFolder=C:\sysprep\i386
    DistShare=windist

[Identification]
    JoinDomain=xxxxx
    DomainAdmin=administrator
    DomainAdminPassword=xxxx

[Networking]
    InstallDefaultComponents=Yes

[SysPrep]
BuildMassStorageSection=Yes

[SysprepMassStorage]

Avatar of shoris
shoris

ASKER

Ok.. i'm reading alot about desktop and laptop image not working.

However.. can someone help me with the laptop portion.. For some reason.. None of the drivers of the laptops are working.. My base image is from Dell D610...

At least the desktop portion works.. :)
Avatar of Adam Leinss
What OS is this?

What is the exact sysprep command you are running?  Are you passing options to it?
Nevermind, I see you have XP.  Are you using the -pnp option for sysprep?
Avatar of shoris

ASKER

I just run the sysprep.exe and just click on Mini-setup Reseal and quit.. no other commands..

Avatar of shoris

ASKER

No.. -pnp option.. i tried that and it didn't work on the first time when i doing the images for desktops.. Now that i don't run the -pnp.. it worked for desktops..

Avatar of shoris

ASKER

Does anyone have a site maybe for all the correct drivers in the right format to use.. and placed int he folders..

Hmmm.. now wouldn't that be easy for everyone.. :)
I currently have an image that works on a Dell D610, D600, GX280 and GX620. -pnp will force PnP re-enumeration.  If you state that is not working when you try to put it on the desktops then it probably isn't searching for the drivers, but just using what is already in the image.  Are you extracting and simpliying the drivers?  Take a look here: http://stealth.kirenet.com/~aleinss/w2ktips.htm.  The instructions are for Windows 2000, but can be used for Windows XP as well.
Avatar of shoris

ASKER

Ok.. I will try that extension..

So basically.. what is the command line.. to run sysprep with the pnp switch?
Avatar of shoris

ASKER

Do I need to uninstall all the drivers like the NIC, VIDEO, etc.. then run the sysprep.exe?

Also.. I like the fact that when i run sysprep.. I check the mini-setup and choose quit vs. reboot so that i can take the image from the console vs.. booting up with a diskette..

So what would be the command with that and the -pnp swithc.. Again.. thanks Aleiness for helping me out..
No, you shouldn't have to uninstall the drivers.

I use sysprep -pnp -mini -reseal

Also, check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DevicePath in the registry.  Is this key really long?  Are there duplicates in it?  sysprep appends the OEMPnPDrivers path in sysprep.inf to this key EVERYTIME you run sysprep, so we may have to clean that out (there is a 2,048 byte limitation on this path I believe)
Avatar of shoris

ASKER

Thank you again.. Do you happen to know what the command also to make sure the computer doesn't reboot after sysprep?

Ok.. Aleinss.. if i do have several entries in the path.. do i just delete them?
Avatar of shoris

ASKER

Ok.. Check this out.. This is what i have int he Device Path..

So i do i still need to do the -pnp?

Does this look correct that it took all the drivers.. and it should work when loading on D610?



Device Path

%SystemRoot%\inf;%SystemDrive%\"Drivers\c640\audio\;%SystemDrive%\Drivers\c640\nic;%SystemDrive%\Drivers\c640\video\driver\XP_INF;%SystemDrive%\Drivers\c640\touchpad;%SystemDrive%\Drivers\c640\IntelINF;%SystemDrive%\Drivers\modem;%SystemDrive%\Drivers\D400\audio\WDM\;%SystemDrive%\Drivers\D400\nic;%SystemDrive%\Drivers\D400\video;%SystemDrive%\Drivers\D400\IntelINF;%SystemDrive%\Drivers\D400\input;%SystemDrive%\Drivers\D400\modem;%SystemDrive%\Drivers\D600\audio\WDM\;%SystemDrive%\Drivers\D600\nic;%SystemDrive%\Drivers\D600\video\Driver\2KXP_INF;%SystemDrive%\Drivers\D600\IntelINF;%SystemDrive%\Drivers\D600\wireless;%SystemDrive%\Drivers\D600\input;%SystemDrive%\Drivers\D600\modem;%SystemDrive%\Drivers\D610\audio\WDM;%SystemDrive%\Drivers\D610\nic;%SystemDrive%\Drivers\D610\video\2KXP_INF;%SystemDrive%\Drivers\D610\IntelINF;%SystemDrive%\Drivers\D610\wireless;%SystemDrive%\Drivers\D610\Texas;%SystemDrive%\Drivers\M50\audio;%SystemDrive%\Drivers\M50\nic;%SystemDrive%\Drivers\M50\video;%SystemDrive%\Drivers\M50\IntelINF;%SystemDrive%\Drivers\M50\modem;%SystemDrive%\Drivers\M50\input;%SystemDrive%\Drivers\GX260\audio\SMAXWDM\W2K_XP;%SystemDrive%\Drivers\GX260\nic;%SystemDrive%\Drivers\GX260\video;%SystemDrive%\Drivers\GX260\usb;%SystemDrive%\Drivers\GX260\IntelINF;%SystemDrive%\Drivers\GX270\audio\SMAXWDM\W2K_XP;%SystemDrive%\Drivers\GX270\nic;%SystemDrive%\Drivers\GX270\video;%SystemDrive%\Drivers\GX270\IntelINF;%SystemDrive%\Drivers\GX280\audio\SMAXWDM\W2K_XP;%SystemDrive%\Drivers\GX280\nic;%SystemDrive%\Drivers\GX280\video\Driver\2KXP_INF;%SystemDrive%\Drivers\GX280\IntelINF;%SystemDrive%\Drivers\GX620\audio\SMAXWDM\W2K_XP;%SystemDrive%\Drivers\GX620\nic;%SystemDrive%\Drivers\GX620\video;%SystemDrive%\Drivers\GX620\IntelINF;%SystemDrive%\Drivers\GX620\cdr
If you use the option -noreboot it should cause sysprep not to reboot the PC.

That path looks OK, you extracted everything that was defined by that key?

Just for fun, this is what my sysprep looks like (and works with the D600/D610):


[UserData]
FullName="XXX"                   
OrgName="XXX"
ProductID="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

[Unattended]
; Install drivers even if they are not signed by Microsoft
DriverSigningPolicy=Ignore       
; Indicates that you want the cmdlines.txt file processed
OEMPreinstall=Yes            
; Point sysprep to the location of the OEM files
; OEMFilesPath="C:\install"
; Accept the EULA automatically    
OEMSkipEula=Yes                   
; Extend NTFS partition if disk size is larger then image partition
ExtendOemPartition=1              
; Set OEM driver path to correct place
OEMPnPDriversPath=install\i386;install\driver\dell\gx280\audio;install\driver\dell\gx280\chip;install\driver\dell\gx280\nic;install\driver\dell\gx280\video;install\driver\gateway\600ygr\modem;install\driver\gateway\600ygr\video;install\driver\dell\d610\video;install\driver\dell\d610\audio;install\driver\dell\d610\nic;install\driver\dell\d610\chip;install\driver\gateway\500xl\audio;install\driver\gateway\500xl\nic;install\driver\gateway\500xl\video;install\driver\dell\d600\audio;install\driver\dell\d600\ide;install\driver\dell\d600\video;install\driver\dell\d600\modem;install\driver\dell\gx620\audio
; Overwrite existing installed drivers from the ones on the source disk
UpdateInstalledDrivers=Yes
; Points to Windows install files
InstallFilesPath="C:\sysprep"
; Force HAL to be "Advanced Configuration and Power Interface (ACPI) PC" so it works on Dell laptops
UpdateUPHAL=ACPIPIC_UP,C:\Windows\Inf\Hal.inf

[GuiUnattended]
; Skips prompt about whether the PC should autologin or not
AutoLogonAccountCreation=No
;US Central Time Zone
TimeZone=20                     
; Skip regional options page
OEMSkipRegional=1
;Bypass Welcome screen            
OEMSkipWelcome=1              

[Display]
; Set display to 1024X768, 32 bit color depth
BitsPerPel=32
Xresolution=1024      
YResolution=768
Vrefresh=72

[TapiLocation]
CountryCode=1
Dialing=Tone
AreaCode=262

[Identification]
; Automatically join a workgroup during the sysprep
JoinWorkgroup=XXX

[Networking]
InstallDefaultComponents=Yes

[GuiRunOnce]
; After you sysprep a computer, it resets the timeout to 30 seconds.  This
; script sets it back to 3 seconds
Command0=c:\install\temp\bootini.cmd
; Clean up any files created by driver installations
Command1=c:\install\temp\cleanup.cmd
; Clean up any registry entries created by driver installations
Command2="regedit /s C:\install\temp\autorun.reg"
; Set crash and dump options
Command3="regedit /s c:\install\temp\crash.reg"

;The following section is only supported by Sysprep v1.1 and later
;This section allows a SYSPREP image to install on a machine
;with any of the drive controller types matching the
;plug and play IDs of the lines below.
;
;Format of this section is:
;   PlugAndPlayID = location of supporting *.INF file
;
;Any lines ending in MSHDC.INF are for IDE
;Any lines ending in SCSI.INF are for SCSI

[SysprepMassStorage]

;IDE chipset drivers for Dell Optiplex 280
PCI\VEN_8086&DEV_266F=C:\install\driver\dell\gx280\chip\ich6ide.inf
;IDE chipset drivers for Gateway 600YGR
PCI\VEN_8086&DEV_248A=C:\windows\inf\mshdc.inf
;IDE chipset drivers for Dell Latitude D610
PCI\VEN_8086&DEV_2653=C:\windows\inf\mshdc.inf
;IDE chipset driver for Gateway ESX 500L
PCI\VEN_8086&DEV_24CB=C:\install\driver\gateway\500xl\chip\ich4ide.inf
;IDE chipset driver for Dell Latitude D600
PCI\VEN_8086&DEV_24CA=C:\install\driver\gateway\500xl\chip\ich4ide.inf
;IDE chipset driver for Dell GX620
PCI\VEN_8086&DEV_27C0=C:\install\driver\dell\gx620\chip\ich7ide.inf
PCI\VEN_8086&DEV_27DF=C:\install\driver\dell\gx620\chip\ich7ide.inf

Avatar of shoris

ASKER

Wow.. your are so awesome.. Tomorrow.. I have to work.. and I will definitely use this..  Looking at your sysprep.. I just have a couple of questions.

; Points to Windows install files
InstallFilesPath="C:\sysprep"

(IS IT NECESSARY TO HAVE QUOTATIONS OR NOT "C:\syspre".. does it make a difference?)


; Force HAL to be "Advanced Configuration and Power Interface (ACPI) PC" so it works on Dell laptops
UpdateUPHAL=ACPIPIC_UP,C:\Windows\Inf\Hal.inf

(HAL.INF.. IF YOU BASED YOUR IMAGE ON THE GX280.. YOU DON'T HAVE TO CHANGE YOUR HAL.INF.. JUST HAVE THAT COMMAND LINE THAT YOU UP TO DIFFERENTIATE ACPI FOR DELL LAPTOPS.. CORRECT? IS THERE SOMETHING IN ADDITION I HAVE TO DO WITH THE HAL.INF?

IDE chipset driver for Dell Latitude D600
PCI\VEN_8086&DEV_24CA=C:\install\driver\gateway\500xl\chip\ich4ide.inf

(I KNOW HOW TO EXTRACT TO INF.. BUT HOW DO YOU KNOW WHICH CHIP IN THE EXTRACTED FILES BELONG TO THAT MACHINE?) i GUESS I AM ASKING.. BECAUSE YOU'VE IDENTIFIED THE D600, D610.. BUT NOW I'M TRYING TO FIND THE C640, M60, D400.  I KNOW THE SWITCH USED.. BUT OMG.. IT EXTRACTS TO ICHIDE4, ICHIDE... ETC.. I'M JUST CONFUSED HOW YOU KNOW WHICH ONE BELONGS ARE IS THE CORRECT .INF?

(IN ADDITION, IF I UNDERSTOOD CORRECTLY, YOU HAVE MANUALLY TYPED THE ABOVE CHIPSETS SO THAT IN CASE THE SYSPREP DOES NOT COMPILE THE DRIVERS? IS THAT CORRECT.

I am definitely going to follow your method.. i am going to try this tomorrow.. that's awesome that you are communicating with me on this.




ASKER CERTIFIED SOLUTION
Avatar of Adam Leinss
Adam Leinss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial