background image

 

88                                                                                                                            © Acronis, Inc 

15.  Command line and scripting under 

Win PE and Bart PE

 

 

 
 

Windows Preinstallation Environment (Win PE) is a minimal Windows system based on the Windows 

XP Professional, the Windows Server 2003 or the Windows Vista kernels. Win PE is commonly used by 

OEMs and corporations for deployment, test, diagnostic and system repair purposes.  

 

Acronis Snap Deploy provides a command line utility that can be added to a Windows Preinstallation 
Environment (Win PE) image. The Acronis Universal Deploy add-on, if installed, will also be included in 

the PE. The administrator can then upload the PE to a PXE server or transfer the PE image onto 

removable media. 

 

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

15.4  Sample scenarios provides 

examples of what you can do in PE. 

 

Limitation: 

 

Acronis Snap Deploy command line utility can generate a new SID but cannot adjust other 
settings on the fly. To change the computer name, domain or workgroup membership and 

other settings, apply the Microsoft System Preparation Tool (Sysprep) to the master system 

and specify the new settings in the Sysprep.inf answer file. 

 

15.1  Adding ASD command line utility to PE 

15.1.1  Acronis Snap Deploy PE Builder 

 

Acronis Snap Deploy PE Builder is a dedicated component for adding Acronis Snap Deploy command 

line utility to PE image. 

 

Acronis Snap Deploy PE Builder is installed with the Acronis Snap Deploy Management Console 

Typical

 or 

Complete

 installation. You can install the PE Builder alone using the 

Custom

 way of 

installation. 

 

Summary of Contents for SNAP DEPLOY 3 - FOR WORKSTATION

Page 1: ......

Page 2: ...vely modified versions of this document is prohibited without the explicit permission of the copyright holder Distribution of this work or derivative work in any standard paper book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS REPRESENTATIONS AND WARRANTIES INCLUDING AN...

Page 3: ...ng 11 1 4 Supported operating systems 11 1 5 License policy 12 1 5 1 Server and workstation licenses 12 1 5 2 Licenses for Acronis Universal Deploy 12 1 5 3 Acronis Snap Deploy trial version 12 1 6 Upgrade to v 3 12 1 6 1 Upgrading licenses 13 1 6 2 Upgrading components 13 1 7 Technical support 13 2 Understanding Acronis Snap Deploy 15 2 1 Terminology 15 2 2 Components 16 2 3 Support for file syst...

Page 4: ...7 5 Creating Acronis bootable media 38 6 Configuring PXE Server 42 7 Taking an image 43 7 1 Preparation of the master OS 43 7 2 Online vs offline imaging 43 7 3 Starting offline imaging 44 7 4 Starting online imaging 46 7 5 Steps of the Master Image Creation Wizard 46 7 5 1 Disks or partitions to image 46 7 5 2 Image name and location 47 7 5 3 Setting options 48 7 5 4 Comments and summary 50 8 Che...

Page 5: ... 88 15 1 Adding ASD command line utility to PE 88 15 1 1 Acronis Snap Deploy PE Builder 88 15 1 2 Adding ASD command line utility to PE 1 0 89 15 1 3 Adding ASD command line utility to PE 2 0 90 15 2 Uploading PE images to Acronis PXE Server 90 15 3 ASD command line syntax 91 15 3 1 Supported commands 91 15 3 2 Common options options common for most asdcmd commands 92 15 3 4 asdcmd usage examples ...

Page 6: ...and software testing labs The enterprise features added to Acronis Snap Deploy v 3 scheduled deployment support for Preinstallation Environment command line and scripting to name a few can help automate the tasks of the IT department in large enterprise environments 1 1 3 Acronis Snap Deploy infrastructure Components of the Acronis infrastructure are installed on Windows computers Centralized imag...

Page 7: ...o into Acronis environment using Acronis bootable media or Acronis PXE Preboot eXecution Environment Server Set up and save parameters of the deployment operation the deployment template Launch the deployment The program multicasts the image to the computers you specified and deploys the system on their hard disks DNS names domain or workgroup membership TCP IP settings user accounts and security ...

Page 8: ...s Preinstallation Environment Win PE image The administrator uploads the customized PE image to a PXE server or transfers the PE image onto removable media Having booted a machine in the Preinstallation Environment the administrator can perform imaging or deployment in the command line mode or execute scripts Using Acronis Snap Deploy in Windows Preinstallation Environment allows a combination of ...

Page 9: ...operating systems or preconfigured systems on test machines A test team leader creates custom bootable media or a PXE package that provides a fixed set of choices on the target side A test team member reboots a test computer and selects what to deploy from the boot menu with one click The deployment starts immediately The choices can be various operating systems various editions of the same operat...

Page 10: ...n or by the PE configured to start deployment upon booting The original data will be lost 1 2 10 Password protection new in v 3 Images taken with Acronis Snap Deploy can be protected with a password to prevent unauthorized deployment Acronis Snap Deploy also supports password protected images created with the Acronis True Image products family To prevent Acronis bootable components from unauthoriz...

Page 11: ...es S MS Windows Server 2003 Service Pack 2 x86 x64 Yes Yes S MS Windows Server 2003 R2 x86 x64 Yes Yes S MS Windows Small Business Server 2003 Yes Yes S MS Windows Storage Server 2003 R2 Yes Yes S MS Windows Server 2003 x64 Editions Yes Yes S MS Windows 2000 Server Yes Yes S MS Windows 2000 Advanced Server Yes Yes S MS Windows 2000 Professional SP4 Yes Yes S MS Windows Vista Home Basic x86 x64 Yes...

Page 12: ...tem is considered as a workstation OS A server license could be used instead of a workstation license automatically or through a prompt 1 5 2 Licenses for Acronis Universal Deploy Acronis Universal Deploy is an add on to Acronis Snap Deploy and has its own serial numbers and license agreement The Acronis Universal Deploy licenses are counted used and upgraded in the same way as the Acronis Snap De...

Page 13: ...ther license is assigned to the computer Host1 by v 1 0 or v 2 0 Import a v 3 upgrade license You will be able to deploy to Host1 with Acronis Snap Deploy 3 5 You have a v 2 0 license that has not yet been used Import a v 3 upgrade license You will be able to deploy to any computer with ASD 3 6 You have a v 2 0 license that is used and assigned to the computer Host1 Import a v 3 upgrade license Yo...

Page 14: ...ut additional charge to other licensees of the Software that are enrolled in Support Upon mutual agreement by both parties Acronis shall i supply code corrections to you to correct Software malfunctions in order to bring such Software into substantial conformity with the published operating specifications for the most current version of the Software unless your unauthorized modifications prohibit ...

Page 15: ...n a computer isolated from a network or included in a network without Acronis Snap Deploy infrastructure Standalone deployment is performed locally using the bootable Acronis Snap Deploy component Target disk The physical disk to be deployed to an internal hard disk of the target computer Target computer Target The hardware to be deployed to Deployment template Template Configuration parameters of...

Page 16: ...akes an image of the master system in Windows environment under the administrator s control through the Acronis Snap Deploy Management Console The administrator can also manage files and execute applications on a remote computer using Acronis Snap Deploy Management Agent 6 Acronis PXE Server allows for network booting computers into Acronis Snap Deploy Agent Acronis Master Image Creator or Preinst...

Page 17: ...The best practice is keeping images on the deploy server hard drive This minimizes network traffic during deployment The image created on removable media has to fit into one media disk To deploy an image spread over several CDs DVDs or other media copy all parts of the image to the same folder on the deploy server or on a network share Acronis Standalone Utility can deploy images located in networ...

Page 18: ...or PE with Acronis Snap Deploy command line utility 4 Do one of the following depending on your choice in step 3 Boot the master computer into Acronis Master Image Creator or PE from bootable media or Boot the master computer into Acronis Master Image Creator or PE from the PXE Server 5 On the master computer follow the Create Image Wizard instructions to configure and launch the imaging operation...

Page 19: ...boot on prompt Once Acronis Snap Deploy Management Agent is installed you can image the master system online without reboot at any time 4 Connect the console to the master system click Create Master Image Next Create master image on a remote computer Follow the Create Image Wizard instructions to configure and launch the imaging operation The image can be saved on a network share detachable or rem...

Page 20: ...om the PXE Server You must have a DHCP server or configure the target computers network settings manually to enable the target computers to connect to Acronis OS Deploy Server 4 Do one of the following depending on whether the agent or the PE is running Connect the console to the Acronis OS Deploy Server Select the Deployment tab Make sure that the target computers IP addresses are displayed on th...

Page 21: ...must be identical on the source and the target computers see Microsoft Knowledge Base articles 302577 and 216915 Acronis Universal Deploy technology provides an efficient solution for hardware independent system deployment by adding the crucial Hardware Abstraction Layer HAL and mass storage device drivers 2 5 2 Acronis Universal Deploy general principles 1 Automatic HAL and mass storage drivers s...

Page 22: ...er you cannot apply it to images of systems prepared with Microsoft System Preparation Tool Sysprep 2 5 4 Getting Acronis Universal Deploy Acronis Universal Deploy is an add on to Acronis Snap Deploy It is purchased separately has its own license and is installed from a separate setup file For more information please visit http www acronis com enterprise products snapdeploy universal deploy html ...

Page 23: ...WS MS Windows Vista Business x86 x64 WS MS Windows Vista Ultimate x86 x64 WS MS Windows XP Home WS MS Windows XP Professional WS MS Windows XP Professional x64 Edition WS MS Windows XP Professional SP2 WS S server license WS workstation license 3 2 Used ports and IP addresses The Acronis OS Deploy Server and the Acronis Snap Deploy Management Console use the following ports and IP addresses for re...

Page 24: ...ronis Standalone Utility Acronis License Server Acronis License Server Acronis License Server Management Console Acronis License Server Management Tool Acronis OS Deploy Server Acronis PXE Server Acronis Snap Deploy Management Agent Acronis WOL Proxy The installation window The Acronis Universal Deploy option installs from its own installation file 3 3 2 Common installation configurations Acronis ...

Page 25: ...all on the same computer On the target computers no Acronis components are required This is the recommended elementary configuration that enables most of the Acronis Snap Deploy functionality In case physical access to the powerful server is limited you can install the console on a separate computer Another common configuration is Workstation Acronis Snap Deploy Management Console custom installat...

Page 26: ...e access to Acronis servers and Acronis Snap Deploy Management Agent Install Acronis Snap Deploy Management Console on any networked computer from which you prefer to operate To install Acronis Snap Deploy Management Console 1 Run the Acronis Snap Deploy setup program 2 Click Install Acronis Snap Deploy Management Console 3 Follow the Install Wizard instructions on the screen Typical and complete ...

Page 27: ...e necessary management instruments To install Acronis License Server 1 Run the Acronis Snap Deploy setup program 2 Click Install Acronis License Server 3 Follow the Install Wizard instructions on the screen 4 Reboot on prompt After installation Acronis License Server launches automatically as Windows service Before installing Acronis OS Deploy Server import serial numbers to Acronis License Server...

Page 28: ...p of Acronis Snap Deploy Agents Before installing Acronis OS Deploy Server you need to install the Acronis License Server and import license numbers to it for more information see the previous section To install Acronis OS Deploy Server 1 Run the Acronis Snap Deploy setup program 2 Click Install Acronis OS Deploy Server 3 Follow the Install Wizard instructions on the screen 4 Reboot on prompt The ...

Page 29: ...E server within a subnet to ensure predictability of the booting computers behavior 3 7 1 Installation of Acronis PXE Server To install Acronis PXE Server 1 Run the Acronis Snap Deploy setup program 2 Click Install Acronis PXE Server 3 Follow the on screen Install Wizard instructions Acronis PXE Server runs as a service immediately after installation Later on it will automatically launch at each s...

Page 30: ...WOL Proxy Server 1 Run the Acronis Snap Deploy setup program 2 Click Acronis WakeOnLAN Proxy 3 Follow the Install Wizard instructions on the screen Acronis WOL Proxy runs as a service immediately after installation Later on it will automatically launch at each system restart You can stop and start this program in the same way as other services 3 9 Installation of Acronis Snap Deploy Management Age...

Page 31: ...all Acronis Universal Deploy remotely extract the setup file msi to a network share see below and install Acronis Universal Deploy in the same way as other Acronis Snap Deploy components see 4 2 Installation and update of Acronis components on remote computers After installation Acronis Universal Deploy automatically plugs in Acronis OS Deploy Server You do not need a license to install Acronis Un...

Page 32: ...ent you from other deployments to the same computer or from managing that computer remotely When installing Acronis OS Deploy Server you have to specify the Acronis License Server Once the Acronis License Server is found the program checks for available licenses on the server and stores its net address to be able to access the Acronis License Server later when deployment is launched When starting ...

Page 33: ...he license is free or Available 0 Used 1 if the license has been allocated 3 To display more information about used licenses select Manage Used Licenses on the sidebar This item does not appear while all licenses are free The Used mode lists all licenses that are allocated Right click on the column headings bar to choose the details to display Product Name Host Name Host Address Serial Number Acqu...

Page 34: ...t found install it by running the Acronis Snap Deploy setup program For more information see 3 5 Installation of Acronis License Server LicenseServerCmdLine exe uses the following syntax LicenseServerCmdLine command option1 option2 LicenseServerCmdLine exe supports the following commands and command options list Displays the list of Acronis License Servers found on the local network status servern...

Page 35: ...ere an Acronis server or Acronis Snap Deploy Management Agent is installed Once connected you can manage the Acronis server or perform operations using the Acronis Snap Deploy Management Agent To connect to any Acronis component you need the administrator s privileges on the remote machine Manage Deployment connect to Acronis OS Deploy Server Create Master Image connect to Acronis Snap Deploy Mana...

Page 36: ...CP port 25001 for a remote installation Make sure this port added to exceptions in your firewall settings Installation 1 Click Install Acronis components 2 Select the installer location from the list Registered Components Search removable media or Specify location The default selection Registered Components will use setup files from the default C Program Files Common Files Acronis RemoteInstall fo...

Page 37: ... select it and click Delete If any step was terminated by an error the corresponding log will be marked with a red circle with a white X inside The right window features the list of steps contained in the selected log The three buttons to the right control message filters the white X in the red circle filters error messages the exclamation sign in a yellow triangle filters warnings and the i in th...

Page 38: ...cronis Snap Deploy Acronis PXE Server with uploaded bootable components can also be thought of as a kind of bootable media That s why you can create bootable media or configure the PXE server using the same wizard To start the bootable media builder select from the start menu Acronis Acronis Snap Deploy Management Console Bootable Media Builder You can also run the Bootable Media Builder from the ...

Page 39: ... that the target computer boots into the deployed OS after the deployment choose the Booting from HDD option when creating the PXE package for the scheduled deployment Acronis Standalone Utility can be placed on a physical media only This component is not designed to boot from a PXE server 2 Acronis Snap Deploy Agent can be configured to connect to a specified deployment server This setting allows...

Page 40: ...diskettes for example Acronis Snap Deploy Agent To write another component start the Bootable Media Builder once again 4 To create physical media insert the blank disk so the program can determine its capacity or attach the flash drive To create a bootable disk ISO image specify the ISO file name and the folder in which to place it To upload the components to a PXE server specify the server and pr...

Page 41: ...arly supplements the driver set with drivers for new devices However there may be a chance of drivers being incompatible with your hardware and the bootable component cannot start hangs or cannot access the necessary device In this case try to elude using Linux drivers by building Bart PE or Win PE media with Acronis Snap Deploy command line utility ...

Page 42: ...when creating Acronis bootable media The previously uploaded components including PE image will be deleted from the PXE server before uploading the newly selected ones Upload PE to PXE Server click to upload the Preinstallation Environment image wim or iso previously created with Acronis Snap Deploy PE builder See details in 15 2 Uploading PE images to Acronis PXE Server Remove products from PXE S...

Page 43: ...ny case except for command line mode Acronis Snap Deploy automatically configures the deployed system using parameters you set in the deployment template Therefore you have the choice of using the functionality of either Sysprep or Acronis Snap Deploy You can download Sysprep from www microsoft com or extract it from deploy cab located on Windows NT 2000 XP Server 2003 installation CD We strongly ...

Page 44: ...tall Acronis Snap Deploy Management Console 2 Do one of the following Create bootable media with Acronis Master Image Creator or Install Acronis PXE Server connect the console to the PXE server and upload Acronis Master Image Creator Make sure that network booting is enabled on the master computer see 3 7 2 Setting up a computer to boot from PXE for details 3 Configure the master system 4 Do one o...

Page 45: ...he prompt click Cancel if there is a DHCP server on the network or the image has to be placed on a local HDD or media Prompt for configuring the master image creator The image creator can be pre configured to apply the default network settings automatically on timeout The manual configuration is needed if auto configuration is not possible no DHCP server on the network or does not succeed To confi...

Page 46: ...Install Acronis Snap Deploy Management Agent on the master system locally or remotely using Acronis Snap Deploy Management Console Reboot on prompt Once Acronis Snap Deploy Management Agent is installed you can image the master system online without reboot at any time 4 Start the Acronis Snap Deploy Management Console 5 Connect to the master computer 6 Select Create Master Image Next Create master...

Page 47: ...mage Creator can save an image on a network share on the master computer internal hard drive on USB and FireWire IEEE 1394 storage devices hard drives flash drives attached to the master computer on DVD R RW DVD R RW CD R RW loaded in the master computer media drive A sizeable image can be split between multiple media automatically Select the image location in the device tree Type the name of the ...

Page 48: ...he image with a password to prevent unauthorized deployment 2 Compression level The preset is Normal The data compression level for the image being created The description field provides estimations for image size and image creation time for each compression level You can select the compression level based on these estimations The default Normal level is recommended in most cases ...

Page 49: ...e program will act as follows When creating an image on a hard disk If the selected disk has enough space and its file system allows the estimated file size the program will create a single image file If the storage disk has enough space but its file system does not allow the estimated file size the image will automatically be split into several files Such might be the case when the image is place...

Page 50: ...it would on a hard disk 5 OPTIONAL Additional settings Validate the image upon operation completion The preset is disabled If enabled the program will check the integrity of the just created image Reboot the computer automatically after imaging is finished The preset is disabled 7 5 4 Comments and summary OPTIONAL It is recommended that you provide a comment for easy identification of the image Ne...

Page 51: ...o a computer where Acronis Snap Deploy Management Agent is installed 2 Select Check master image 3 Follow the wizard s instructions to select the image 4 Click Proceed in the summary window The checking operation starts You can stop the operation if need be by clicking Cancel After the check is complete the program shows the result ...

Page 52: ... custom deployment mode In this mode users can perform one click deployment on their computers without the administrator s assistance To set up this mode the administrator must create the standard deployment templates in advance The saved templates are listed in the Templates tab A template can be viewed edited or deleted from the Acronis OS Deploy Server 9 2 Creating templates 1 Connect the conso...

Page 53: ... deploy images located in network shared folders on USB and FireWire IEEE 1394 storage devices hard drives flash drives attached to the managed computer on DVD R RW DVD R RW CD R RW loaded in the managed computer media drive The image created on removable media has to fit into one media disk To deploy an image spread over several CDs DVDs or other media copy all parts of the image to the same fold...

Page 54: ...newly deployed partition will not become active Therefore deploy an active partition to an active partition if you want to boot from the deployed partition Deploying more than one partition will clear partitioning of the target disk Only the newly deployed partitions will exist on the disk after deployment The Master Boot Record MBR is always deployed from the image regardless of your choice If yo...

Page 55: ...OS as number 1 0Х80 Selecting the target disk Select the target partition to deploy if one partition was selected for deployment By default the partition image will be deployed to partition 1 of the selected hard disk To deploy a single partition to unallocated space or bare metal first create the target partition using a third party partitioning tool such as Microsoft Disk Management or Acronis D...

Page 56: ...n opportunity to add a unified administrator s account to all the systems if needed The Edit and Delete buttons are provided to change the accounts you typed in The password complexity has to meet the password policy set for the master computer To view or edit the password policy on the master computer 1 Run Microsoft Management Console MMC 2 File Open windir system32 secpol msc 3 Select Account P...

Page 57: ...nt1 start2 count2 start1 the first figure in a two figured number count1 increasing quantity of first figures start2 the second figure in a two figured number count2 increasing quantity of second figures 1 3 1 4 This will generate names 11 12 13 14 21 22 23 24 31 32 33 34 1 9 0 10 This will generate names 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 99 Text start1 count1 start2 count2 Computer 2 3...

Page 58: ...ttings to obtain IP addresses automatically from DHCP server or to specify a range of static IP s subnet mask and default gateway in case you network does not have DHCP capability Network settings TCP IP OPTIONAL If you have not selected to preserve the master system settings specify DNS properties as well Otherwise this step is skipped Network settings DNS server ...

Page 59: ...ll target computers after deployment for example installation files The files must be located on a network share Check Execute file if you want to execute the files after deployment 9 2 9 Executing applications OPTIONAL You can specify service applications from the master system image for executing on the target computers after deployment 9 2 10 Using Acronis Universal Deploy OPTIONAL Acronis Univ...

Page 60: ...ority It will be installed with appropriate warnings even if the program finds a better driver 2 OPTIONAL Specify the mass storage driver If the target hardware has a specific mass storage controller such as a SCSI RAID or Fibre Channel adapter for the hard disk explicitly specify the appropriate driver for this controller The driver will be installed in any case bypassing the automatic driver sea...

Page 61: ...e case the settings will be applied only to the current deployment template Alternatively you can edit the default options To do so select Use default options and click Tools Options in the description field Edit the options and click OK Your settings will be saved as the defaults When not creating a template you can access default options through Tools Options in the program menu or on the toolba...

Page 62: ...ording to the proportion of the master and target disk capacities Alternatively if the target disk is larger the program can keep the original partitions size and leave the remaining disk space unallocated Licensing The preset is Stop operation Acronis Snap Deploy uses two types of licenses A license for the server product is needed to deploy a server operating system A license for the workstation...

Page 63: ...divides 128 KB sec among 10 computers therefore the data transfer speed will be 12 8 KB sec for each target machine With Multicast mode the server sends one copy of data to a multicast address and each client will receive data at 128 KB sec speed Multicast configuration has a parameter that specifies the time to live TTL for multicast packets Use this parameter to limit multicast packets distribut...

Page 64: ...addresses you type in Both straight enabling and inverse disabling lists are supported but only one list can be active at any one time The enabling inclusion list has to contain all computers that are allowed to be the deployment targets You can add only one MAC address if a computer has more than one network interface card Deployment through any network interface that is not in the list will be p...

Page 65: ...ltering 9 2 12 Comments and summary OPTIONAL It is recommended that you provide a template name and a comment for easy identification of the template Type in a comment Check your settings in the summary window and click Save ...

Page 66: ...66 Acronis Inc The summary window ...

Page 67: ...ne components to be placed on the bootable media 3 Configure and image the master system Save the image on a network share detachable or removable media because internal hard disks of the target computer cannot be accessed during the standalone deployment 4 Boot the target computer into Acronis Standalone Utility 5 Attach or insert the media if the master image or files to transfer are located on ...

Page 68: ...Inc 6 Configure the deployment operation as described in 9 2 1 9 2 12 Note that the template cannot be saved because the standalone utility does not access the Acronis OS Deploy Server 7 Run the manual deployment ...

Page 69: ...have created a master image so at least the Acronis Snap Deploy Management Console is installed 1 Install Acronis License Server Import licenses to the license server Install Acronis OS Deploy Server 2 Do one of the following Create bootable media with Acronis Snap Deploy Agent or Install Acronis PXE Server connect the console to the PXE server and upload Acronis Snap Deploy Agent 3 Do one of the ...

Page 70: ...work The agent can be pre configured to apply the default settings automatically on timeout To configure the network connections manually click OK in the prompt window You can set up TCP IP settings for each network interface of the target computer Acronis Snap Deploy Agent uses DHCP auto configuration by default The manual configuration is needed if auto configuration is not possible no DHCP serv...

Page 71: ... Agent ready for deployment The progress bar is frozen because the computer is waiting for deployment 11 2 Starting deployment 1 Connect the console to the Acronis OS Deploy Server 2 Select the Deployment tab The tab shows the computers booted into Acronis Snap Deploy Agent and ready for deployment Acronis OS Deploy Server the agent is ready for deployment ...

Page 72: ...e computers to deploy to from the list of the connected computers 5 Select the previously created deployment template or configure the deployment operation as described in 9 2 1 9 2 12 6 Review the deployment operation summary and click Proceed to start the deployment ...

Page 73: ... predefined number of computers For example 10 computers for accountants 10 computers for the marketing department 70 computers for sales and 10 for the managers Steps 1 Install Acronis Snap Deploy Management Console and Acronis License Server Import licenses to the license server Install Acronis OS Deploy Server 2 Create bootable media with Acronis Master Image Creator 3 Configure and image the m...

Page 74: ...nd click Proceed to commit the event driven deployment The Deployment tab will appear like the graphic below Acronis OS Deploy Server is waiting for targets to connect to start event driven deployment 10 Do one of the following Boot the target computer s into Acronis Snap Deploy Agent from bootable media or Boot the target computer s into Acronis Snap Deploy Agent from the PXE Server See details i...

Page 75: ...le the deploy server is waiting you are able to Cancel event driven deployment Start the manual deployment on the available computers click Manual deployment on the sidebar As soon as the triggering condition arises the available computers become engaged in the event driven deployment and move to the lower list Deployment Start by event ...

Page 76: ...ng MAC addresses Media Access Control address MAC address is a 48 bit physical hardware address of a network device In Windows the physical address can be obtained with ipconfig all or by selecting Local Area Connection Status Support Details MAC addresses for bare metal are usually supplied by the hardware manufacturer You can get a MAC address of any PC compatible hardware by entering the networ...

Page 77: ... the license server Install Acronis OS Deploy Server and Acronis PXE Server 2 Make sure that Wake on LAN is enabled on the target computers If you cannot or do not wish to use Wake on LAN on some or all of the target computers you will have to boot them into Acronis Snap Deploy Agent manually before the scheduled time comes 3 Create bootable media with Acronis Master Image Creator 4 Configure and ...

Page 78: ...is PXE server Normally you have only one PXE server in the given subnet Once tuned to the certain OSDS the PXE server remains tuned at this setting unless it is tuned to another OSDS by another scheduled task If this setting has never been configured the woken machine will boot into the component that is configured to start automatically Type in localhost if the PXE server and the deployment serve...

Page 79: ...ke sure that the task is saved 17 When the task is started the connected computers IPs and the task progress will be displayed on the Deployment tab 18 When the task is finished its log will be available in the Acronis OS Deploy Server log 13 3 Scheduled deployment in other subnet Computers in other subnets can be woken through a WOL proxy The WOL Proxy agent is delivered with Acronis Snap Deploy ...

Page 80: ...e that Wake on LAN is enabled on the target computers If you cannot or do not wish to use Wake on LAN on some or all of the target computers you will have to boot them into Acronis Snap Deploy Agent manually before the scheduled time comes 5 Create bootable media with Acronis Master Image Creator 6 Configure and image the master system 7 Create and save a deployment template 8 Configure Acronis PX...

Page 81: ... by one as computers connect to the deploy server or to wait for all computers to connect 15 Select the deployment template 16 Select and set up the deployment schedule One time only Daily or several times a day Weekly Monthly Do not forget that the target computers must be powered off or booted into the Acronis Snap Deploy Agent before the scheduled time comes 17 Review the scheduled task summary...

Page 82: ...ion however the earlier selected options will be set and so you have to enter only the changes Deleting or editing a task does not affect the current task execution A task that has been edited or deleted while running will come to an end without any changes The changes you made will be applied when execution is completed To run a task immediately select the task and click Start Task The task sched...

Page 83: ...of templates and switches on the custom deployment mode Users that need to re deploy their computers boot the computers from bootable media or PXE and select the template by name from the boot menu The deployment starts immediately and proceeds independently on each computer Custom deployment mode a user initiates deployment In software testing labs the choices can be various operating systems var...

Page 84: ...r management operations except for deployment To initiate deployment on the console side the administrator switches off the custom deployment mode 14 2 Considerations and tips When enabling or configuring the custom deployment mode with PXE the program first removes all bootable utilities Acronis Snap Deploy Agent Acronis Master Image Creator PE image from the PXE server since users might be confu...

Page 85: ...he operations are completed 6 Click Switch to Custom Deployment Mode on the sidebar 7 Select the templates to be added to the boot menu Adding templates to the custom boot menu 8 Select Create boot media 9 Select whether you want to create removable media the media ISO or upload the templates to Acronis PXE Server Having saved the media ISO you can create as many media copies as the users need usi...

Page 86: ... moment While the deploy server is in custom deployment mode you are able to change parameters of the custom deployment mode create new media for the custom deployment mode stop the selected operation if need be by selecting Cancel Deployment switch off the custom deployment mode The user that requested deployment sees the following screen while the deployment is progress Custom deployment in prog...

Page 87: ... operations are completed 2 Click Custom Deploy Parameters on the sidebar and repeat steps 6 10 in section 14 3 14 5 Closing the custom deployment mode 1 If some user initiated deployment operations are active either stop the operations or wait until the operations are completed 2 Click Switch off the custom deployment mode on the sidebar 3 In case the custom deployment mode used Acronis PXE Serve...

Page 88: ...t the administrator can perform imaging or deployment in the command line mode or execute scripts Section 15 4 Sample scenarios provides examples of what you can do in PE Limitation Acronis Snap Deploy command line utility can generate a new SID but cannot adjust other settings on the fly To change the computer name domain or workgroup membership and other settings apply the Microsoft System Prepa...

Page 89: ... a flash drive Install the Microsoft NET Framework v 2 0 from this kit NETFXx86 or NETFXx64 depending on your hardware Install Microsoft Core XML MSXML 5 0 or 6 0 Parser from this kit Install Windows AIK from this kit Install Acronis Snap Deploy PE builder 15 1 2 Adding ASD command line utility to PE 1 0 1 Do one of the following Unpack all files of your Win PE 1 0 ISO to a separate folder on the ...

Page 90: ...s the folder Choose WIM if you are going to upload the PE image to the PXE server Choose ISO if you are going to put the PE image on physical media 4 Specify path to storage controller and NIC drivers that you want to add to Windows PE media Click Add and specify the path to the necessary inf file for a corresponding SCSI RAID SATA controller or a network adapter You will have to repeat this proce...

Page 91: ... asdcmd command option1 option2 Commands may be accompanied with options Some options are common for most asdcmd commands while others are specific for individual commands Below is a list of supported commands and compatible options Command Common Options Specific Options create Creates an image of specified disks and partitions filename file name password password net_user username net_password p...

Page 92: ...ename file name password password net_user username net_password password reboot log file name log_net_user remote user log_net_password passwo rd list Lists available drives and partitions With the filename option lists the image contents password password net_user username net_password password filename file name 15 3 2 Common options options common for most asdcmd commands Option Description Im...

Page 93: ...ions their numbers can appear as follows partition 1 1 1 2 1 3 or oss_numbers partition 1 1 1 5 1 6 Any reboot Reboot the computer after the operation is completed Any log file name Create a log file of the current operation with the specified file name Any log_net_user remote user If the log file is created on a network share include the user name for logon to the share Any log_net_password passw...

Page 94: ...ecifies the target partition number for deploying a partition over the existing one If the option is not specified the program assumes that the target partition number is the same as the partition number specified with the partition option start start sector Sets the start sector for restoring a partition to the unallocated space on the hard disk size partition size in sectors Sets the new partiti...

Page 95: ...l be set to logical preserve_mbr When deploying a partition over an existing one the target partition is deleted from the disk along with its entry in the target disk MBR Then with the preserve_mbr option the deployed partition s entry will occupy the upper empty position in the target disk MBR Thus the target disk MBR is preserved If not specified the deployed partition s entry will occupy the sa...

Page 96: ...log will be saved on another share server2 dir Credentials for both shares are provided asdcmd create filename h raw tib partition 1 2 raw log5 txt This will image partition 1 2 sector by sector raw and save the image on partition H asdcmd deploy filename server1 folder 1 tib password qwerty harddisk 2 This will deploy hard disk 2 from the password protected image 1 tib located in the shared folde...

Page 97: ...rates a TIB file name if MAC address is 01 02 03 04 05 06 then the TIB file name must be 01 02 03 04 05 06 tib Searches the shared folder for an image with such name Deploys the image if found OPTIONAL Reboots or shutdowns the target Environment variables SET IMG_PATH path to a shared folder on the deploy server SET TMP_DRV_ mounted drive on target side 15 4 2 Creating images assigned to targets S...

Page 98: ... harddisk 1 compression 8 goto end end echo on net use TMP_DRV_LETTER d wpeutil Reboot endlocal What this script does Mounts the shared folder Retrieves the booted computer s MAC address Generates a TIB file name if MAC address is 01 02 03 04 05 06 then the TIB file name must be 01 02 03 04 05 06 tib Images partition C of the computer to the shared folder using the generated file name OPTIONAL Reb...

Page 99: ...ming deletion 1 Install the Acronis Snap Deploy Management Agent on the managed machine 2 Connect the console to the managed machine 3 Select Manage files from the list of operations 4 Use the toolbar buttons or context menu to perform operations File management Create new text file Select the target folder Create new text document Type in the new file name OK Edit file Select the file Edit The fi...

Page 100: ...achine through Acronis Snap Deploy Management Agent The purpose of running applications is to make changes to the deployed system The applications run silently in the background so please do not try to run applications such as Explorer Notepad or any other application that has the user interface For example you can execute the Movefile bat file which contains the following commands mkdir c Folder ...

Page 101: ...t later One time only the task will be executed once at the specified time and date Upon event Application can be executed on event An application can be executed at system startup or shutdown at user logon or logoff or when free space on any internal hard disk either increases or decreases by the specified value The preset is 20MB ...

Page 102: ...e a week or once in several weeks on the selected day Monthly the task will be executed once a month on the selected day 7 Specify the name of the user who owns the executed task 8 Check your settings in the summary screen and click Finish Once the task is scheduled you can access it at any time in order to edit the task or view the task s results To do so connect to the managed machine and select...

Page 103: ...er selected options will be set so you only have to enter the changes Deleting or editing a task does not affect the current task execution A task that has been edited or deleted while running will come to an end without any changes The changes you made will be applied when execution is completed To run the task immediately click Execute selected task now The task schedule remains valid ...

Reviews: