Processing Multiple Users

Description

Migration Manager can be used to process the user state for multiple users on a computer. This is useful when migrating a computer that is shared by several users.

In most cases many of the settings and files associated with a user are specific for that particular user. Migration Manager fully supports this use case.

Process Examples

Using environment variables and command-line switches a technician can log in to a given workstation and perform an automated extraction and injection of all the users that exist on the computer. For extraction, the technician can use the ALLUSERS parameter to extract all of the users on the computer.

On injection the batch file will combine the ALLUSERS switch and the SOURCE switch to specify and inject the extracted user state data. The SOURCE parameter will be followed by a batch file parameter that will represent the name of the computer where the extraction was performed.

The computer name is specified when the batch file is invoked. The advantage of using this process is the user does not have to be present during the extraction or the injection, and the technician performing the migration does not have to obtain the username and password for any of the users that have profiles on the computer.

Note
To extract or inject a personality containing multiple users, the user that is performing the extraction or injection must have Local Administrator Rights. Migration Manager also requires UAC elevation on Windows if enabled.

Extraction Example (Invoking the Extract.bat file)

This example assumes that Migration Manager is available from \\MyServer\MigrationManager. The technician can invoke the Extract.bat file from an elevated command-prompt by entering the path to where the Extract.bat file resides, or by simply double clicking on the Extract.bat file:

C:\> \\MyServer\MigrationManager\extract.bat

Extract.bat File Example to Extract Multiple Users

This example Extract.bat file performs an automated extraction for all users on the computer. To build this script, simply take the script from Extract.bat File Example, and replace line 3 with the following:

3.   START /w \\MyServer\MigrationManager\MigrationManager.EXE /autoextract /AllUsers
/config \\MyServer\MigrationManager\configuration.xml

Extract.bat File Definition (By Line)
Line 3 - Performs an extraction of all users on the computer where the script is run.

Injection Example (Invoking the Inject.bat file) to Inject Multiple Users

In this example, the inject.bat file is located on the file share \\MyServer\MigrationManager. The technician can invoke the Inject.bat file from an elevated command-prompt by entering the path to where the Inject.bat file resides. The name of the computer where the extraction was performed is specified after the batch file:

C:\> \\MyServer\MigrationManager\inject.bat mycomputer

Inject.bat File Example to Inject Multiple Users

This example assumes that Migration Manager is available from \\MyServer\MigrationManager. This example Inject.bat file performs an automated injection of all the users extracted from the specified computer.

To build this script, simply take the script from Inject.bat File Example, and replace line 3 with the following:

3.   START /w \\MyServer\MigrationManager\MigrationManager.EXE /autoinject /Source %1 /AllUsers
/config \\MyServer\MigrationManager\configuration.xml

Inject.bat File Definition (By Line)
Line 3 - Injects all of the users extracted from the specified computer.