ProLiant Servers (ML,DL,SL)
1753274 Members
5039 Online
108792 Solutions
New Discussion юеВ

WinPE 2.0 - ScriptToolkit 1.7 - HPDiscovery.exe

 
Bryan_Lucas
Occasional Advisor

WinPE 2.0 - ScriptToolkit 1.7 - HPDiscovery.exe

I am able to boot DL380G5 with winpe 2.0 and manaually load NIC drivers and all inf from Win2008 beta PSP. (Need help on adding to offline image plus edit startnet.cmd)

HPDiscovery -f hwdisc.xml returns:
hpdisc_plugin_basesys.dll: plugin returned -1
hpdisc_plugin_nic.dll: plugin returned -1

hwdisc.xml is created, but does not capture everything like systemname, serial number. (PCI devices are captured as with hwdiscovery)
Anyone gotten HPDiscovery to work?
Anyone have the winpe 2.0 offline syntax for drivers and file editing?
3 REPLIES 3
tbone72
Frequent Advisor

Re: WinPE 2.0 - ScriptToolkit 1.7 - HPDiscovery.exe

These two plugins require the WMI package to be installed under WinPE 2.0. To do that you need to apply your image using "imagex" and then install the WMI package using "peimg". For detailed information on using WinPE 2.0 see the Windows Preinstallation Environment User's Guide (WinPE.chm) contained in the Windows Automated Installation Kit (Windows AIK).

Hope this helps.

Tom
Bryan_Lucas
Occasional Advisor

Re: WinPE 2.0 - ScriptToolkit 1.7 - HPDiscovery.exe


Betterer: (Careful of the wordwraps in this post)

cd /d "c:\program files\windows aik\tools\petools"

copype.cmd amd64 d:\new
cd ..
cd (x86) or (amd64)

imagex /mountrw d:\new\winpe.wim 1 d:\new\mount

peimg /install=*WMI* d:\new\mount\windows
peimg /install=*HTA* d:\new\mount\windows
peimg /install=*MDAC* d:\new\mount\windows
peimg /install=*Scripting* d:\new\mount\windows
peimg /install=*XML* d:\new\mount\windows
:: peimg /install=WinPE-SRT-Package d:\new\mount\windows

:: DL Windows 2008 PSP and extract all to d:\2008 folder

peimg /inf=d:\2008\bxnd.inf d:\new\mount\windows
peimg /inf=d:\2008\bxvbd.inf d:\new\mount\windows
peimg /inf=d:\2008\cpqasm2.inf d:\new\mount\windows
peimg /inf=d:\2008\CpqCiDrv.inf d:\new\mount\windows
peimg /inf=d:\2008\cpqcisse.inf d:\new\mount\windows
peimg /inf=d:\2008\cpqfcac.inf d:\new\mount\windows
peimg /inf=d:\2008\hpcisss.inf d:\new\mount\windows
peimg /inf=d:\2008\hpcissx2.inf d:\new\mount\windows
peimg /inf=d:\2008\hpqilo2.inf d:\new\mount\windows
peimg /inf=d:\2008\lsi_sas.inf d:\new\mount\windows
peimg /inf=d:\2008\lsi_scsi.inf d:\new\mount\windows
peimg /inf=d:\2008\prlntss.inf d:\new\mount\windows

copy "c:\program files\windows aik\tools\amd64\imagex.exe" d:\new\iso

echo d | xcopy "c:\program files\windows aik\tools\amd64\servicing" d:\new\iso\servicing /s
:: get 64bit msxml dll's
copy msxml6*.dll d:\new\iso\servicing

:: edit startnet.cmd
notepad d:\new\mount\windows\system32\startnet.cmd

drvload x:\windows\system32\driverstore\filerepository\bxnd.inf_919e20b9\bxnd.inf
drvload x:\windows\system32\driverstore\filerepository\bxvbd.inf_cdb5c2ee\bxvbd.inf

:again
ipconfig/renew
net use u: \\10.10.10.2\share "" /user:server\user
if errorlevel 1 goto again

u:
cd tools
StartDeploy.cmd
-eof-

peimg /prep d:\new\mount\windows
(yes)

imagex /unmount d:\new\mount /commit

echo Y | copy d:\new\winpe.wim d:\new\iso\sources\boot.wim

:: USB
diskpart
select disk 1
clean
create partition primary
select partition 1
active
format fs=fat32 quick
assign
exit

:: if USB drive is G:\
echo a | xcopy d:\new\iso\*.* /s /e /f g:\
Bryan_Lucas
Occasional Advisor

Re: WinPE 2.0 - ScriptToolkit 1.7 - HPDiscovery.exe

Follow up:
after running winnt32.exe on DL380G5:
"disk read error occurred. please ctrl+alt+del" to restart"

Add this to WINPE2.0 registry before you partition with DISKPART:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vds\Alignment]
@="Alignment Settings in Bytes"
"Between4_8GB"=dword:00000000
"Between8_32GB"=dword:00000000
"GreaterThan32GB"=dword:00000000
"LessThan4GB"=dword:00000000

After DISKPART:
bootsect.exe /nt52 c: (from windows AIK petools)

Then run winnt32.exe
:-)