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:\syspre p\i386
DriverSigningPolicy=Ignore
OemPreInstall=Yes
OemPnPDriversPath=Drivers\ GX260\audi o\SMAXWDM\ W2K_XP;Dri vers\GX260 \nic;Drive rs\GX260\v ideo;Drive rs\GX260\u sb;Drivers \GX260\Int elINF;Driv ers\GX270\ audio\SMAX WDM\W2K_XP ;Drivers\G X270\nic;D rivers\GX2 70\video;D rivers\GX2 70\IntelIN F;Drivers\ GX280\audi o\SMAXWDM\ W2K_XP;Dri vers\GX280 \nic;Drive rs\GX280\v ideo\Drive r\2KXP_INF ;Drivers\G X280\Intel INF;Driver s\GX620\au dio\SMAXWD M\W2K_XP;D rivers\GX6 20\nic;Dri vers\GX620 \video;Dri vers\GX620 \IntelINF; Drivers\GX 620\cdr;Dr iverss\c64 0\audio\;D rivers\c64 0\nic;Driv ers\c640\v ideo\drive r\XP_INF;D rivers\c64 0\touchpad ;Drivers\c 640\IntelI NF;Drivers \modem;Dri vers\D400\ audio\WDM\ ;Drivers\D 400\nic;Dr ivers\D400 \video;Dri vers\D400\ IntelINF;D rivers\D40 0\input;Dr ivers\D400 \modem;Dri vers\D600\ audio\WDM\ ;Drivers\D 600\nic;Dr ivers\D600 \video\Dri ver\2KXP_I NF;Drivers \D600\Inte lINF;Drive rs\D600\wi reless;Dri vers\D600\ input;Driv ers\D600\m odem;Drive rs\D610\au dio\WDM;Dr ivers\D610 \nic;Drive rs\D610\vi deo\2KXP_I NF;Drivers \D610\Inte lINF;Drive rs\D610\wi reless;Dri vers\D610\ Texas;Driv ers\M50\au dio;Driver s\M50\nic; Drivers\M5 0\video;Dr ivers\M50\ IntelINF;D rivers\M50 \modem;Dri vers\M50\i nput
[GuiUnattended]
AdminPassword="xxxx"
EncryptedAdminPassword=NO
OEMSkipRegional=1
OEMDuplicatorstring="Dell_ Ver 1.1.3"
TimeZone=35
OemSkipWelcome=1
[UserData]
ProductKey=xxxxxxxxxxxxxxx xxxxxxxxxx
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=Y es
[SysPrep]
BuildMassStorageSection=Ye s
[SysprepMassStorage]
;SetupMgrTag
[Unattended]
OemSkipEula=Yes
ExtendOemPartition=1
InstallFilesPath=C:\syspre
DriverSigningPolicy=Ignore
OemPreInstall=Yes
OemPnPDriversPath=Drivers\
[GuiUnattended]
AdminPassword="xxxx"
EncryptedAdminPassword=NO
OEMSkipRegional=1
OEMDuplicatorstring="Dell_
TimeZone=35
OemSkipWelcome=1
[UserData]
ProductKey=xxxxxxxxxxxxxxx
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=Y
[SysPrep]
BuildMassStorageSection=Ye
[SysprepMassStorage]
What OS is this?
What is the exact sysprep command you are running? Are you passing options to it?
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?
ASKER
I just run the sysprep.exe and just click on Mini-setup Reseal and quit.. no other commands..
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..
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.. :)
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.
ASKER
Ok.. I will try that extension..
So basically.. what is the command line.. to run sysprep with the pnp switch?
So basically.. what is the command line.. to run sysprep with the pnp switch?
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..
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\SOFTWAR E\Microsof t\Windows\ CurrentVer sion\Devic ePath 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)
I use sysprep -pnp -mini -reseal
Also, check HKEY_LOCAL_MACHINE\SOFTWAR
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?
Ok.. Aleinss.. if i do have several entries in the path.. do i just delete them?
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;%SystemDr ive%\"Driv ers\c640\a udio\;%Sys temDrive%\ Drivers\c6 40\nic;%Sy stemDrive% \Drivers\c 640\video\ driver\XP_ INF;%Syste mDrive%\Dr ivers\c640 \touchpad; %SystemDri ve%\Driver s\c640\Int elINF;%Sys temDrive%\ Drivers\mo dem;%Syste mDrive%\Dr ivers\D400 \audio\WDM \;%SystemD rive%\Driv ers\D400\n ic;%System Drive%\Dri vers\D400\ video;%Sys temDrive%\ Drivers\D4 00\IntelIN F;%SystemD rive%\Driv ers\D400\i nput;%Syst emDrive%\D rivers\D40 0\modem;%S ystemDrive %\Drivers\ D600\audio \WDM\;%Sys temDrive%\ Drivers\D6 00\nic;%Sy stemDrive% \Drivers\D 600\video\ Driver\2KX P_INF;%Sys temDrive%\ Drivers\D6 00\IntelIN F;%SystemD rive%\Driv ers\D600\w ireless;%S ystemDrive %\Drivers\ D600\input ;%SystemDr ive%\Drive rs\D600\mo dem;%Syste mDrive%\Dr ivers\D610 \audio\WDM ;%SystemDr ive%\Drive rs\D610\ni c;%SystemD rive%\Driv ers\D610\v ideo\2KXP_ INF;%Syste mDrive%\Dr ivers\D610 \IntelINF; %SystemDri ve%\Driver s\D610\wir eless;%Sys temDrive%\ Drivers\D6 10\Texas;% SystemDriv e%\Drivers \M50\audio ;%SystemDr ive%\Drive rs\M50\nic ;%SystemDr ive%\Drive rs\M50\vid eo;%System Drive%\Dri vers\M50\I ntelINF;%S ystemDrive %\Drivers\ M50\modem; %SystemDri ve%\Driver s\M50\inpu t;%SystemD rive%\Driv ers\GX260\ audio\SMAX WDM\W2K_XP ;%SystemDr ive%\Drive rs\GX260\n ic;%System Drive%\Dri vers\GX260 \video;%Sy stemDrive% \Drivers\G X260\usb;% SystemDriv e%\Drivers \GX260\Int elINF;%Sys temDrive%\ Drivers\GX 270\audio\ SMAXWDM\W2 K_XP;%Syst emDrive%\D rivers\GX2 70\nic;%Sy stemDrive% \Drivers\G X270\video ;%SystemDr ive%\Drive rs\GX270\I ntelINF;%S ystemDrive %\Drivers\ GX280\audi o\SMAXWDM\ W2K_XP;%Sy stemDrive% \Drivers\G X280\nic;% SystemDriv e%\Drivers \GX280\vid eo\Driver\ 2KXP_INF;% SystemDriv e%\Drivers \GX280\Int elINF;%Sys temDrive%\ Drivers\GX 620\audio\ SMAXWDM\W2 K_XP;%Syst emDrive%\D rivers\GX6 20\nic;%Sy stemDrive% \Drivers\G X620\video ;%SystemDr ive%\Drive rs\GX620\I ntelINF;%S ystemDrive %\Drivers\ GX620\cdr
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;%SystemDr
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-XXX XX-XXXXX-X XXXX"
[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;insta ll\driver\ dell\gx280 \audio;ins tall\drive r\dell\gx2 80\chip;in stall\driv er\dell\gx 280\nic;in stall\driv er\dell\gx 280\video; install\dr iver\gatew ay\600ygr\ modem;inst all\driver \gateway\6 00ygr\vide o;install\ driver\del l\d610\vid eo;install \driver\de ll\d610\au dio;instal l\driver\d ell\d610\n ic;install \driver\de ll\d610\ch ip;install \driver\ga teway\500x l\audio;in stall\driv er\gateway \500xl\nic ;install\d river\gate way\500xl\ video;inst all\driver \dell\d600 \audio;ins tall\drive r\dell\d60 0\ide;inst all\driver \dell\d600 \video;ins tall\drive r\dell\d60 0\modem;in stall\driv er\dell\gx 620\audio
; Overwrite existing installed drivers from the ones on the source disk
UpdateInstalledDrivers=Yes
; Points to Windows install files
InstallFilesPath="C:\syspr ep"
; Force HAL to be "Advanced Configuration and Power Interface (ACPI) PC" so it works on Dell laptops
UpdateUPHAL=ACPIPIC_UP,C:\ Windows\In f\Hal.inf
[GuiUnattended]
; Skips prompt about whether the PC should autologin or not
AutoLogonAccountCreation=N o
;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=Y es
[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\b ootini.cmd
; Clean up any files created by driver installations
Command1=c:\install\temp\c leanup.cmd
; Clean up any registry entries created by driver installations
Command2="regedit /s C:\install\temp\autorun.re g"
; 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:\i nstall\dri ver\dell\g x280\chip\ ich6ide.in f
;IDE chipset drivers for Gateway 600YGR
PCI\VEN_8086&DEV_248A=C:\w indows\inf \mshdc.inf
;IDE chipset drivers for Dell Latitude D610
PCI\VEN_8086&DEV_2653=C:\w indows\inf \mshdc.inf
;IDE chipset driver for Gateway ESX 500L
PCI\VEN_8086&DEV_24CB=C:\i nstall\dri ver\gatewa y\500xl\ch ip\ich4ide .inf
;IDE chipset driver for Dell Latitude D600
PCI\VEN_8086&DEV_24CA=C:\i nstall\dri ver\gatewa y\500xl\ch ip\ich4ide .inf
;IDE chipset driver for Dell GX620
PCI\VEN_8086&DEV_27C0=C:\i nstall\dri ver\dell\g x620\chip\ ich7ide.in f
PCI\VEN_8086&DEV_27DF=C:\i nstall\dri ver\dell\g x620\chip\ ich7ide.in f
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-XXX
[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\
; Overwrite existing installed drivers from the ones on the source disk
UpdateInstalledDrivers=Yes
; Points to Windows install files
InstallFilesPath="C:\syspr
; Force HAL to be "Advanced Configuration and Power Interface (ACPI) PC" so it works on Dell laptops
UpdateUPHAL=ACPIPIC_UP,C:\
[GuiUnattended]
; Skips prompt about whether the PC should autologin or not
AutoLogonAccountCreation=N
;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=Y
[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\b
; Clean up any files created by driver installations
Command1=c:\install\temp\c
; Clean up any registry entries created by driver installations
Command2="regedit /s C:\install\temp\autorun.re
; 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:\i
;IDE chipset drivers for Gateway 600YGR
PCI\VEN_8086&DEV_248A=C:\w
;IDE chipset drivers for Dell Latitude D610
PCI\VEN_8086&DEV_2653=C:\w
;IDE chipset driver for Gateway ESX 500L
PCI\VEN_8086&DEV_24CB=C:\i
;IDE chipset driver for Dell Latitude D600
PCI\VEN_8086&DEV_24CA=C:\i
;IDE chipset driver for Dell GX620
PCI\VEN_8086&DEV_27C0=C:\i
PCI\VEN_8086&DEV_27DF=C:\i
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:\syspr ep"
(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\In f\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:\i nstall\dri ver\gatewa y\500xl\ch ip\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.
; Points to Windows install files
InstallFilesPath="C:\syspr
(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:\
(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:\i
(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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.. :)