7 deployment of a disk volume and mbr, 8 command-line mode and scripting under winpe, Deployment of a disk volume and mbr – Acronis Snap Deploy 5 - User Guide User Manual

Page 11: Command-line mode and scripting under winpe

Advertising
background image

11

Copyright © Acronis International GmbH, 2002-2014

messes up the machine (for example, deletes a file or changes configuration), the student can
choose a self-restore option from the boot menu.

1.4.7 Deployment of a disk volume and MBR

You do not necessarily have to deploy the entire disk. Provided that the master and the target disks
have a similar partitioning scheme, you can image and deploy only the system volume or only the
data, depending on your needs.

When deploying a system volume, Acronis Snap Deploy 5 will automatically repair the bootability of
the deployed system.

1.4.8 Command-line mode and scripting under WinPE

Acronis Snap Deploy 5 provides a command-line utility that can be added to a bootable media based
on Windows Preinstallation Environment (WinPE). The administrator can create such media on a
physical drive or place it to the PXE server.

Having booted a machine into Windows Preinstallation Environment, the administrator can perform
imaging or deployment in the command-line mode or execute scripts.

Scenarios

Scenario 1

The administrator needs to deploy a different image to each machine on the network.
The administrator writes a deployment script that can read the target machine’s MAC address
(for example, 01-02-03-04-05-06) and pull an image whose name matches the MAC address (for
example, image-01-02-03-04-05-06.tib) The image can be located in any convenient location,
such as a network share.
The administrator then runs the script on any number of target machines to deploy the
corresponding image to each of them.

Scenario 2

The administrator needs to start imaging or deployment automatically each time a machine
boots from the PXE server.
The administrator creates an imaging or deployment script, adds the script to the PE and includes
the script in the startnet.cmd file. On booting into the PE, the operation will be performed
automatically.

Scenario 3

The administrator needs to automatically execute pre-deployment operations (disk partitioning,
for example) on the machines on the network.
The administrator creates a script that performs pre-deployment operations, adds the script
along with deployment script to the PE and includes both scripts in the startnet.cmd file. On
booting into the PE, both operations will be performed automatically.

Advertising