You want to know which switches I can use with the GhostCast Server.
You can run the Symantec GhostCast Server from the command line by including switches with C:\Program Files\Symantec\Ghost\ghostsrv.exe. Use a batch file or third-party scheduler application to start the server.
The syntax for running GhostCast Server is as follows: ghostsrv filename session [options]
Below you find the available switches for the GhostCast Server.
Please note that the variable within the brackets has to be replaced with the desired number rather than being added to the command.
Example: If you want to set the GhostCast Server to wait for 10 clients, it would be -N10 and not -Ncount10!
||Starts the GhostCast transmission after N count clients have joined the session.|
|-T||Starts sending to a session automatically after a specified time (24-hour hh:mm format) with a maximum of 24 hours.|
||Starts transmission minutes after the last client connection.|
||Creates a log file specifying log level E, S, W, I, or A.
The log level X can be E (errors), S (statistics), W (warnings), I (information), or A (all) in increasing order of logging detail.
||Specifies log file name for the -L option and is by default, Ghostlog.txt.|
|-C||Closes ghostsrv application after GhostCast session completion.|
|-D||Uses create from client mode. Restore to client is the default.|
|-R||Restarts the GhostCast session on completion and waits for client connections again after GhostCasting is complete.|
|-P||Specifies partition mode operation. If restoring to clients, the partition number must be given. If creating an image from client, no partition number is required.|
|-U||Forces the multicast mode, as follows:
||Sets the multicast address to xxx.xxx.xxx.xxx. Addresses between 22.214.171.124 - 126.96.36.199 are valid.|
||Specifies a range of multicast addresses. The address is chosen from within this range. Addresses between 188.8.131.52 - 184.108.40.206 are valid.|
||Specifies the client disk number to which to restore or create the image file.|
||Specifies the client partition number to which to restore or create the image file.|
||Specifies switches to include in the command line and those used by the Ghost application.|
||Sets the maximum amount of bandwidth consumed while restoring an image, where xxx is the number of megabytes per minute.|
||Sets the maximum amount of bandwidth consumed while creating an image, where xxx is the number of megabytes per minute.|
||Sets the multicasting time to live.|
Example 1. Launches GhostCast Server session 123 to restore image.gho to disk one of a machine after 3 machines connect to session 123.
ghostsrv.exe c:\image.gho 123 -Disk1 -N3
Example 2. Launches GhostCast Server session 124 to create an image named image.gho of disk 1 when a machine connects to session 124.
ghostsrv.exe c:\image.gho 124 -Disk1 -D
Rate this Article