beautypg.com

HP WS460C G6 User Manual

Page 38

background image

Performing an unattended installation of Windows XP 38

rem Completed HP Proliant iLO Management Interface install
rem Starting System Management Homepage install

echo.

echo Starting Management Homepage install

cd %systemdrive%\Drivers\HP_System_Management_Homepage

cpqsetup.exe /s

rem Completed Management Homepage install
rem Starting firewall.cmd to punch holes in firewall (see Appendix C in this

whitepaper)

echo.

echo Starting firewall.cmd

start %systemdrive%\HP_Install\firewall\firewall.cmd
echo firewall.cmd Started
rem Complete firewall.cmd
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

shutdown -r -t 300 -f
echo.
echo HP Install Script Complete
exit
Example firewall punch holes script (firewall.cmd)
netsh firewall add portopening TCP 2381 "HP SMH Secure Web Server (TCP 2381)"
netsh firewall add portopening TCP 5988 "WBEM/WMI Mapper (TCP 5988)"
netsh firewall add portopening TCP 5989 "WBEM/WMI Mapper Secure (TCP 5989)"
netsh firewall add portopening TCP 22 "SSH port (TCP 22)"
netsh firewall add portopening TCP 161 "SNMP port 161 (TCP 161)"
netsh firewall add portopening TCP 162 "SNMP port 162 (TCP 162)"
netsh firewall add portopening TCP 53 "DNS (TCP/UDP 53)"
netsh firewall add portopening TCP 67 "DHCP Request (TCP 67)"
netsh firewall add portopening TCP 68 "DHCP Reply (TCP 68)"
netsh firewall add portopening TCP 69 "M-TFTP (TCP 69)"