[menu]
SUBMENU=LOCAL, Local: Deploy an image from USB
SUBMENU=NETWORK, Network: Connect to a Ghost server and deploy an image
SUBMENU=WIPE, DoD wipe this PC
SUBMENU=BIOS, BIOS Upgrades
[menu]
SUBMENU=LOCAL, Local: Deploy an image from USB
SUBMENU=NETWORK, Network: Connect to a Ghost server and deploy an image
SUBMENU=WIPE, DoD wipe this PC
SUBMENU=BIOS, BIOS Upgrades
MENUCOLOR=7,1
[NETWORK]
MENUITEM=B57, Broadcom NetExtreme - Precision T3500, T3400, 390, 380, 370
MENUITEM=B57a, Broadcom NetExtreme - Latitude D630, D620, D610, D600
MENUITEM=E100B, Intel 100B/S - Dimension 8300, 8250, 8200, 8100, 4550
MENUITEM=E1000, Intel 1000 - Optiplex 755, 960, 980 Latitude E4200, E6400
SUBMENU=menu, Return to the main menu
MENUCOLOR=7,1
[LOCAL]
MENUITEM=WIN7BASE, Windows 7 Base
MENUITEM=WIN7CAD, Windows 7 CAD
MENUITEM=XPBASE, Windows XP Base
MENUITEM=XPCAD, Windows XP CAD
SUBMENU=menu, Return to the main menu
MENUCOLOR=7,1
[BIOS]
SUBMENU=PRECISION, BIOS upgrades for the Dell Precision PCs
SUBMENU=OPTIPLEX, BIOS upgrades for the Dell Optiplex PCs
SUBMENU=MENU, Return to the main menu
MENUCOLOR=7,1
[PRECISION]
MENUITEM=370_BIOS, BIOS UPGRADE: 370
MENUITEM=380_BIOS, BIOS UPGRADE: 380
MENUITEM=390_BIOS, BIOS UPGRADE: 390
MENUITEM=T3400_BIOS, BIOS UPGRADE: T3400
MENUITEM=T3500_BIOS, BIOS UPGRADE: T3500
SUBMENU=BIOS, Pick a new machine type
SUBMENU=menu, Return to the main menu
MENUCOLOR=7,1
[OPTIPLEX]
MENUITEM=O755_BIOS, BIOS UPGRADE: O755
MENUITEM=O960_BIOS, BIOS UPGRADE: O960
MENUITEM=O980_BIOS, BIOS UPGRADE: O980
SUBMENU=BIOS, Pick a new machine type
SUBMENU=menu, Return to the main menu
MENUCOLOR=7,1
[WIPE]
MENUITEM=DODWIPE, Load CopyWipe to DoD wipe a hard drive
SUBMENU=menu, Return to the main menu
MENUCOLOR=0,4
[COMMON]
LASTDRIVE = Z
[B57]
DEVICE=\B57\protman.dos /I:\B57
DEVICE=\B57\dis_pkt.dos
DEVICE=\B57\B57.dos
[B57a]
DEVICE=\B57\protman.dos /I:\B57
DEVICE=\B57\dis_pkt.dos
DEVICE=\B57\B57.dos
[E100B]
DEVICE=\E100B\protman.dos /I:\E100B
DEVICE=\E100B\dis_pkt.dos
DEVICE=\E100B\E100B.dos
[E1000]
DEVICE=\E1000\protman.dos /I:\E1000
DEVICE=\E1000\dis_pkt.dos
DEVICE=\E1000\E1000.dos
[370_BIOS]
[380_BIOS]
[390_BIOS]
[T3400_BIOS]
[T3500_BIOS]
[O755_BIOS]
[O960_BIOS]
[O980_BIOS]
[WIN7BASE]
[WIN7CAD]
[XPBASE]
[XPCAD]
[DODWIPE]
IF %CONFIG% == 370_BIOS GOTO 370_BIOS
IF %CONFIG% == 380_BIOS GOTO 380_BIOS
IF %CONFIG% == 390_BIOS GOTO 390_BIOS
IF %CONFIG% == T3400_BIOS GOTO T3400_BIOS
IF %CONFIG% == T3500_BIOS GOTO T3500_BIOS
IF %CONFIG% == O755_BIOS GOTO O755_BIOS
IF %CONFIG% == O960_BIOS GOTO O960_BIOS
IF %CONFIG% == O980_BIOS GOTO O980_BIOS
IF %CONFIG% == DODWIPE GOTO DODWIPE
...
:T3400_BIOS
cd BIOS
T3400.exe
GOTO End
:T3500_BIOS
cd BIOS
T3500.exe
GOTO End
:O755_BIOS
cd BIOS
O755.exe
GOTO End
...
IF %CONFIG% == 370_BIOS GOTO 370_BIOS
IF %CONFIG% == 380_BIOS GOTO 380_BIOS
IF %CONFIG% == 390_BIOS GOTO 390_BIOS
IF %CONFIG% == T3400_BIOS GOTO T3400_BIOS
IF %CONFIG% == T3500_BIOS GOTO T3500_BIOS
IF %CONFIG% == O755_BIOS GOTO O755_BIOS
IF %CONFIG% == O960_BIOS GOTO O960_BIOS
IF %CONFIG% == O980_BIOS GOTO O980_BIOS
IF %CONFIG% == D620_BIOS GOTO D620_BIOS
IF %CONFIG% == D630_BIOS GOTO D630_BIOS
IF %CONFIG% == E4200_BIOS GOTO E4200_BIOS
IF %CONFIG% == E6400_BIOS GOTO E6400_BIOS
IF %CONFIG% == E6410_BIOS GOTO E6410_BIOS
IF %CONFIG% == WIN7BASE GOTO WIN7BASE
IF %CONFIG% == DODWIPE GOTO DODWIPE
GOTO GHOST
:GHOST
SET TZ=GHO+06:00
prompt $p$g
\net\netbind.com
echo Loading Ghost...
C:
cd \ghost
GHOST.EXE -nousb
GOTO End
:WIN7BASE
@echo off
SET TZ=GHO+06:00
rem prompt $p$g
rem \net\netbind.com
echo Loading Ghost...
C:
MOUSE.COM
cd \ghost
GHOST.EXE -clone,mode=restore,src=C:\win7b.gho,dst=2 -sure -rb
GOTO End
:370_BIOS
cd BIOS
370.exe
GOTO End
:380_BIOS
cd BIOS
380.exe
GOTO End
:390_BIOS
cd BIOS
390.exe
GOTO End
:T3400_BIOS
cd BIOS
T3400.exe
GOTO End
:T3500_BIOS
cd BIOS
T3500.exe
GOTO End
:O755_BIOS
cd BIOS
O755.exe
GOTO End
:O960_BIOS
cd BIOS
O960.exe
GOTO End
:O980_BIOS
cd BIOS
O980.exe
GOTO End
:D620_BIOS
cd BIOS
D620.exe
GOTO End
:D630_BIOS
cd BIOS
D630.exe
GOTO End
:E4200_BIOS
cd BIOS
E4200.exe
GOTO End
:E6400_BIOS
cd BIOS
E6400.exe
GOTO End
:E6410_BIOS
cd BIOS
E6410.exe
GOTO End
:DODWIPE
echo WARNING!!!
echo.
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
pause
C:
cd \DoDWipe
CopyWipe.EXE
GOTO End
:End
Exit
:WIN7BASE
@echo off
SET TZ=GHO+06:00
rem prompt $p$g
rem \net\netbind.com
echo Loading Ghost...
C:
MOUSE.COM
cd \ghost
GHOST.EXE -clone,mode=restore,src=C:\win7b.gho,dst=2 -sure -rb
GOTO End
The Ghost executable should be located in
USBKeyDriveID
\Ghost. This also assumes that your filename is
win7b.gho
:DODWIPE
echo WARNING!!!
echo.
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
echo Final Warning...DO NOT wipe hard drive 0 - it is the USB stick!!
pause
C:
cd \DoDWipe
CopyWipe.EXE
GOTO End
The final warnings are nice because the drives just show up as Hard Drive 0 and Hard Drive 1. Since you are booting off of the USB key -
it is Hard Drive 0. Dont wipe it! :)
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (1)
Commented:
Well written! You may also consider adding in a minimum size for a drive in order to make this work properly.
Cheers!
Sean