Configuration Manager 2007 – Configuring USMT To Use A UNC Path
The below guide will cover configuring Task Sequence’s for allowing USMT data to be stored to and from a UNC path. This will utilize a folder named after the computer (utilizing the %OSDCOMPUTERNAME% variable) in the specified server share path, and by simply renaming the folder you can control if the data is restored to another machine. This behavior is very similar to how USMT functioned previously to ConfigMgr and the use of the SMP (State Migration Point), and something I’ve found a lot of people wish was still present. This will also cover modifying your “Refresh” Task Sequence to allow for the data to be stored to the UNC path and then restored to the computer after the refresh has been completed. The first 2 Task Sequences covered with be used for manually capturing and restoring USMT data onto machines, from Run Advertised Programs, or through a mandatory advertisement. These could be used to do a bulk capture and/or restore. If you are using MDT integrated Task Sequences, then the standard client TS template covers both the new computer/bare metal and refresh scenarios. If you are using a TS based upon the client template, then if you do a new computer/bare metal deployment, as long as there is a matching folder in the UNC path, USMT data will be restored to the bare metal machine without having to create an association prior to imaging that new computer.
This guide currently only covers USMT 3, several community members have reported success with USMT4, however I haven’t had time to test this configuration with USMT 4 yet**.**
You can download the Task Sequence templates here.
Task Sequence for Capturing USMT
Packages needed:
USMT3 x86 or x64
MDT Scripts (Toolkit files)
Settings package (contains customsettings.ini)
[image unavailable]
Overall view of the Task Sequence steps:
[image unavailable]
Point the first step to your MDT scripts package:
[image unavailable]
Point the Gather step to your Settings package:
[image unavailable]
Next, we need a run command line step to create our folder:
[image unavailable]
Next we need to set the Task Sequence variable to the path we want:
[image unavailable]
Select your USMT Package:
[image unavailable]
Configure your capture options as needed:
[image unavailable]
Configure your additional options as needed:
[image unavailable]
Task Sequence for Restoring USMT
Packages needed:
USMT3 x86 or x64
MDT Scripts (Toolkit files)
Settings package (contains customsettings.ini)
[image unavailable]
Overall Task Sequence steps:
[image unavailable]
Set the first step to your MDT scripts package:
[image unavailable]
Point the Gather step to your Settings package:
[image unavailable]
Configure the Task Sequence variable to the path you want:
[image unavailable]
Configure your USMT package:
[image unavailable]
Configure your Restore options as needed:
[image unavailable]
Configure your additional Restore options as needed:
[image unavailable]
Task Sequence for a Refresh (OS to OS)
Delete or disable the following steps, as they will no longer be needed:
[image unavailable] [image unavailable]
Be sure to catch the “Move State Store” step in the “Gather Logs and StateStore on Failure”:
[image unavailable]
Add the following steps to the Stare Capture phase:
[image unavailable]
[image unavailable]
Add the following step to the State Restore phase:
[image unavailable]
You will now be able to refresh an existing machine and USMT will be captured to the UNC path you’ve specified. If you use this Task Sequence for a new computer/bare metal build, it will restore USMT data if there is a matching folder in the server share.