I've been trying to do this for the better part of two days and all I seem to be accomplishing is wasting bandwidth.
I am using Ghost Cast Server as a part of GSS Version 1 (I know, I know) and a bootable floppy disk using a USB floppy drive to boot each machine into the Ghostcast session. I adapted the logon script to automatically connect to the session using the clone switches, but I cannot get ghost walker to automatically launch after the ghost cloning process is complete.
If I enter the following in the batch file:
net use y: \\imgsrv\newghost
net use z: \\imgsrv\ghost
y:
ghost.exe -clone,mode=restore,src=@mcClonePC,dst=1 -sure
ghstwalk.exe -sure
After the new machine is cloned I am returned to DOS and I see "Bad Command or File Name". I can enter the last line of code and ghost walker will start up, run, and complete without any more intervention.
If I enter the following in the batch file:
net use y: \\imgsrv\newghost
net use z: \\imgsrv\ghost
y:
ghost.exe -clone,mode=restore,src=@mcClonePC,dst=1 -sure
ghstwalk.exe
After the new machine is cloned, ghost walker starts up, but requires the end user to press Enter a few times to accept the defaults and start creating the new SID.
Why will ghost walker fail when using switches in the batch file? What am I doing wrong? Is there a workaround (such as calling yet another batch file which will just launch ghost walker)?
Thanks.