HP ProLiant xw2x220c Administrator's Guide for Microsoft Windows on HP ProLian - Page 65

Example Windows XP Pro GuiRunOnce script, rem Complete - Change Registry Entree for RGS

Page 65 highlights

Example Windows XP Pro GuiRunOnce script The GuiRunOnce script installs the needed software and drivers in the proper order, and runs after the first boot. A sample version of this script is included in the "HP Blade Workstation Unattended install support Files" downloaded earlier in step 3a. This script runs after first boot. Create the following script and name it "Driver_Software_Install.cmd" and copy it to "$OEM$\$1\HP_Install" directory (see [GuiRunOnce], step 5e). Modify as needed. rem @echo off title HP Driver and Software Install Script rem Starting - Change Registry Entree for RGS regedt32.exe /s %systemdrive%\HP_Install\forceguest.reg regedt32.exe /s %systemdrive%\HP_Install\FastUserSwitching.reg rem Complete - Change Registry Entree for RGS rem Starting XPUnsignOK2.exe to automatically push accept button for Unsigned ATI driver echo. echo Starting XPUnsignOK2.exe start %systemdrive%\HP_Install\unsignok\XPUnsignOK2.exe echo XPUnsignOK2.exe Started rem Starting ATI driver install echo. echo Starting ATI driver install cd %systemdrive%\HP_Install\Drivers\graphics\ATI cpqsetup.exe /s rem Completed ATI driver install rem Starting NVIDIA driver install echo. echo Starting NVIDIA driver install cd %systemdrive%\HP_Install\Drivers\graphics\nvidia setup.exe -s -i rem Completed NVIDIA driver install echo Installing RGS cd %systemdrive%\HP_Install\RGS\ setup.exe /s /f1"%systemdrive%\HP_Install\RGS\ReceiverInstall.iss" echo Completed Installing RGS rem Starting Management Agent install echo. echo Starting Management Agent install cd %systemdrive%\HP_Install\Drivers\management\IMA agents_32.msi /quiet rem Completed Management Agent install rem Starting Management Homepage install echo. echo Starting Management Homepage install cd %systemdrive%\HP_Install\Drivers\management\SMH sp36105.exe /s rem Completed Management Homepage install rem Changing to USER mode, next reboot) rem Options on this command includes : rem -fsetup.dat : change system to setup mode rem -fuser.dat : change to user mode rem - fadmin.dat : change system to admin mode echo. echo Starting Management Homepage install cd %systemdrive%\HP_Install\conrep conrep.exe -l -fuser.dat -xconrep.xml rem Completed Changing to USER mode, next reboot echo. echo HP Install Script Complete echo. echo Init Reboot start shutdown -r -t 30 exit Performing an unattended installation of Windows XP-32 and Windows XP-64 65

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105

Performing an unattended installation of Windows XP-32 and Windows XP-64
65
Example Windows XP Pro GuiRunOnce script
The GuiRunOnce script installs the needed software and drivers in the proper order, and runs after the first boot. A sample
version of this script is included in the “HP Blade Workstation Unattended install support Files” downloaded earlier in step
3a. This script runs after first boot. Create the following script and name it “Driver_Software_Install.cmd” and copy it to
“$OEM$\$1\HP_Install” directory (see [GuiRunOnce], step 5e).
Modify as needed.
rem @echo off
title HP Driver and Software Install Script
rem Starting - Change Registry Entree for RGS
regedt32.exe /s %systemdrive%\HP_Install\forceguest.reg
regedt32.exe /s %systemdrive%\HP_Install\FastUserSwitching.reg
rem Complete - Change Registry Entree for RGS
rem Starting XPUnsignOK2.exe to automatically push accept button for Unsigned ATI driver
echo.
echo Starting XPUnsignOK2.exe
start %systemdrive%\HP_Install\unsignok\XPUnsignOK2.exe
echo XPUnsignOK2.exe Started
rem Starting ATI driver install
echo.
echo Starting ATI driver install
cd %systemdrive%\HP_Install\Drivers\graphics\ATI
cpqsetup.exe /s
rem Completed ATI driver install
rem Starting NVIDIA driver install
echo.
echo Starting NVIDIA driver install
cd %systemdrive%\HP_Install\Drivers\graphics\nvidia
setup.exe -s -i
rem Completed NVIDIA driver install
echo Installing RGS
cd %systemdrive%\HP_Install\RGS\
setup.exe /s /f1"%systemdrive%\HP_Install\RGS\ReceiverInstall.iss"
echo Completed Installing RGS
rem Starting Management Agent install
echo.
echo Starting Management Agent install
cd %systemdrive%\HP_Install\Drivers\management\IMA
agents_32.msi /quiet
rem Completed Management Agent install
rem Starting Management Homepage install
echo.
echo Starting Management Homepage install
cd %systemdrive%\HP_Install\Drivers\management\SMH
sp36105.exe /s
rem Completed Management Homepage install
rem Changing to USER mode, next reboot)
rem
Options on this command includes :
rem
-fsetup.dat : change system to setup mode
rem
-fuser.dat : change to user mode
rem
- fadmin.dat : change system to admin mode
echo.
echo Starting Management Homepage install
cd %systemdrive%\HP_Install\conrep
conrep.exe -l -fuser.dat -xconrep.xml
rem Completed Changing to USER mode, next reboot
echo.
echo HP Install Script Complete
echo.
echo Init Reboot
start shutdown -r -t 30
exit