Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 6689

Creating Automated Ghost Disk

$
0
0
I need a solution

Hello Everyone,

 

I've been racking my brain all day trying to figure out why a certain command line will not work for ghost.  

What I'mempting to create is a WINPE 4.0 disk which will have a batch file that allows little to no interaction past a double click to re-image a users computer.  Here's what i have so far:

@echo off
SET /P AREYOUSURE=Are you SURE that you want to RESET This PC?                                    Type YES to proceed, otherwise press Enter.

IF NOT "%AREYOUSURE%" == "YES" GOTO ESCAPE

set path=%path%;d:\Apps\

d:

CD Ghost

START /WAIT GHOST32.EXE -QUIET -RB -BATCH -SURE -CLONE,MODE=RESTORE,SRC=F:\Images\image.GHO,DST=1 

 

What's happening is that the -BATCH command is causing the program to open then close almost instantly.  If i take that command completely out I'mt with having to interact with the prompts (partitions correct and proceed.)  The -BATCH command is the only command in the script that is causing the issues.  I have gone flag by flag and every other command works (except for the -sure command, i believe that is suppose to stop that partition question) and found that -BATCH is the culprit that causes the entire ghost console to open for a quick second than shutdown almost immediately after opening.  

 

Also I'mging from a partitioned travel hard drive. The winpe, all the portable apps, and ghost are on one partition and the images are on another.  Like i stated before i can get this to work ONLY if the -BATCH switch isn't included, but that's the main part of the automation.

 

What am i doing wrong in this sequence, everything works except for the main part which is needed for an almost complete NO TOUCH imaging process.

 

Thank You in Advance.


Viewing all articles
Browse latest Browse all 6689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>