ProLiant Deployment and Provisioning
1825559 Members
3131 Online
109681 Solutions
New Discussion

Sample script from win32 toolkit not working?

 
Daniel_355
Occasional Contributor

Sample script from win32 toolkit not working?

hi,
I have the win32 toolkit and I have a winpe disc with all the hp drivers on.
this boots ups and i get network support.
I am using two ML310's with 641 raid cards in.
This is the script that I run....
@echo off
REM
REM This is the first Script called from Startnet.cmd stub in the WinPE
REM

REM Make sure that the network is fully started... Sometimes it requires a bit of time
ipconfig

REM Map a drive to the share you are working from.
REM If none ignore this step and set the drive letter in
REM the following statements to appropriate drive
net use s: \\test\hp
password /user:administrator
set Tools=s:\HP\Tools
set MSTools=z:\i386\system32
set GlobalData=s:\HP\Data\Global
set MSDistribution=s:\w2k3ent
set HPQFlatFiles=s:\FlatDrivers
set SystemScripts=s:\HP\DeploymentScripts

REM Call the first Script
call %SystemScripts%\ServerDetect.cmd

echo Done!
now I know it sets the above but when it tries to call the serverdetect.cmd it states is not recognized as an internal external command operable program of batch file.
I have no experiance with scripting (But I am learning quick)
I just want a server to hold the tools and scripts and drivers and boot winpe cd on the server I want to build.
I am trying to partitian a drive on the new server so that it has raid 1 with 2 partitons c:,d: and raid 5 as drive g: I then want to copy over the i386 to the d: drive and install from the d: drive
if some one can help out I be so gratfull
target servers will be ML370,ML310,ML330 and DL380.
The toolkit provides sample scripts but they are not working for me :-( (Or more than likly I am not working with them)
Daniel