Hi Guys
I have compiled a nicely working offlinesysprep'd universal image injected with sata drivers using base etc + Offlinesysprep and thought i was on the money until i tested it today on 2 sata machines and got infinite reboots before it reaches mini setup after deployment.
Here is my full process:
Bartpe Preparation and Driver preparation/Integration
----------------------------------------------------------------------
1.Downloads:
OfflineSysprep: http://www.911cd.net/forums//index.php?showtopic=22064 - Latest as of 4/11/2010
Driverpacks: http://driverpacks.net/downloads - I am using the latest as of 4/11/2010
----------------------------------------------------------------------
2. BARTPE Prep
1.Prepare normal Bartpe using any guide on the internet
2.Add Offlinesysprep plugin to Bartpe build
3.Copy Sysprep files to C:\BarttPE\plugin\OfflineSysPrep\sysprep folder. Ensure you use 5.1.2600.0
4.Add Devcon.exe to C:\BarttPE\plugin\OfflineSysPrep\tools
5.Go into C:\BarttPE\plugin\OfflineSysPrep\sysprep and open sysprep.inf. The contents will be different depending on company and requirements but the entries in bold are important to all Hardware Independent situations in this scenario
;SetupMgrTag
[Unattended]
InstallFilesPath=C:\sysprep\i386
UpdateInstalledDrivers=Yes
DriverSigningPolicy=Ignore
[GuiUnattended]
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=85
[UserData]
FullName="Seventeen Group Staff"
OrgName="Seventeen Group Limited"
[TapiLocation]
CountryCode=44
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
InputLocale=0809:00000809
[SetupMgr]
DistFolder=C:\sysprep\i386
DistShare=windist
[GuiRunOnce]
Command0="c:\DP_Install_Tool.cmd"
Command0="\\10.1.20.3\klshare\Packages\NetAgent 8.0.2090\lsexec.exe"
[Identification]
JoinDomain=atlgroup
[Networking]
InstallDefaultComponents=Yes
----------------------------------------------------------------------
3. BASE/MassStorage Plugin preparation/integration
1.Extract contents of DriverPacks Base Program not to your plugins folder C:\DPsBase\
2.Download MassStorage Driver Pack and place this directly in your C:\DPsBase\Driverpacks folder
3.Run c:\DPsBase\DPs_Base.exe and select language and use arrow for next stage
4.Program will detect version of driver packs and look like this
5.Hi the arrow and select BartPE for the platform
6.Browse the plugin folder: C:\BarttPE\plugin
7.Ensure at the next stage that DriverPack MassStorage text mode is selected and hit the next arrow
8.Now chose slipstream
9.Run PEBuilder-Plugins and you will notice 2 new plugins
a.Driverpacks.net base should be set to enabled NO. Press config to finish setup
b.Driverpacks.net MassStorage should be set to yes
10.Now go into C:\BarttPE\plugin\OfflineSysPrep and run:
11.CreateMassStorageData.exe. This will create the folder DriverPacks-MassStorage for offline sysprep to use and inject
12.Now build the bartpe ISO and burn to CD
Source: http://users.telenet.be/jtdoom/basetute/Ba...PE_HelpFile.htm
----------------------------------------------------------------------
4. SAD Method 1 Driver Pack Preparation/Integration
1.Ensure no other driverpacks are in the C:\DPsBase\DriverPacks folder
2.Copy the CPU driverpack in its original compressed form to the driverpack folder
3.Run C:\DPsBase DPs_BASE.exe
4.This time select Stand Alone Drivers (SAD) as the location and browse to the desired path
5.Select the driverpack to slipstream (CPU and ensure that text mode is not selected this time)
6.Chose method 1 for the slipstream method and then hit slipstream
7.You will now have a folder created in the browse location you identified in step 4.
8.Now go into the D (Drivers) folder. You will see the P folder (Processor – created from slipstream method 1 with CPU driver pack). Also in this folder is DPINST.exe. Simply get all the other driverpacks and extract them into the D folder.
9.Then extract Devpath.exe from DriverPacks BASE\bin\wnt5_x86-32\M2.7z and copy to the DriverPacks.net folder. Esnure the .ini files for each pack are also present.
10.Now copy NTLDR acquired from XP 64 bit SP into the DriverPacks folder. This is necessary to extend the amount of information the file can contain when integrating the drivers to registry.
11.The folder should look like this with D populated with all driver packs:
12.This folder is now ready to copy to sysprep machine
----------------------------------------------------------------------
5. Final preparation of Workstation being sysprep’d
1.Copy prepared files/folders to route of C of machine to be sysprep’d
2.Overwrite NTLDR previous version. Change view of NTLDR to hidden.
3.Update anti virus with latest signatures and double check nothing is in the admin local temp folder.
4.Now right click – edit - c:\ dp_Inst_tool.cmd.
a.Find line: Echo DPsRootDel = "false" >> %DPFL%
b.Change to: REM Echo DPsRootDel = "false" >> %DPFL% (This will ensure all relevant files are deleted!)
5.Now reboot computer (Not necessary but good practice)
6.Now open command prompt and type the following: c:\devpath.exe C:\D and hit enter. Wait 5 minutes for this to complete. You can look in task manager but be sure not to interrupt the process.
7.Once it is complete go into regedit and check that the following registry key is populated accordingly:
a.HKLM\Software\Microsoft\Windows\CurrentVersion,DevicePath'
b.%SystemRoot%\Inf;C:\D\C\A1;C:\D\C\A2;C:\D\C\AM2;C:\D\C\AM4;C:\D\C\AM5;C:\D………..
8.Once confirmed delete devpath.exe
9.Ensure Show hidden files and folders is turned off in windows.
10.Delete all cache (customize classic start menu) Clear
11.Ensure recycling bin is empty and everything is CLEAN!
----------------------------------------------------------------------
6. Offline Sysprep and Sysprep finalising
1.Reboot computer with BARTPE CD in and boot from CD (Normally automatic)
2.Fire up Offlinsysprep and ensure the Auto config is set for hal
NOTE: See image for advanced settings
Click to view attachment
3.Now hit apply and click ok to Start Services request
4.OK for Warning! Some modifications……
5.Click OK to Sysprep Start
6.Ensure Sysprep has the final settings and hit reseal
7.Now Ghost the machine whilst still in Bartpe
Can anyone see anything obvious that im doing wrong. Does the 'Inject HWID's setting need to be ticked for massstorage sata injection (The reason i unticked this was because if ticked once the image loaded on a IDE computer, the processor in device manager would show up with a yellow exclamation mark)? Should i still be including MassStorage as a driver pack in Devpath or as they are being injected is it better practice to leave out of devpath?
