Every now and then you need to refresh a machine into a known state, and the MDT Lite Touch Computer Refresh scenario does just that. The default behavior of that scenario is using USMT to capture user data and settings, but what if you simply want the refresh to happen without the USMT backup and restore kicking in? Well simply disable those actions – or a bit more elegant and dynamic – put a condition on those actions and use a variable in the CustomSettings.ini to toggle the backup on and off.
Below you find configuration samples for both these options.
Option #1 – Disable Capture and Restore User State Actions in the Task Sequence
A quick way to disable USMT is to simply disable the Capture User State and Restore User State actions in the task sequence. See below screenshot.
Option #2 – Disable Capture and Restore User State Actions via Conditions
A more elegant and dynamic option is to put an extra condition on the Capture User State and Restore User State actions, so that you can toggle USMT by setting a variable in your CustomSettings.ini file. In this example I created a custom variable named DisableUSMT, and I'm using this as condition.
[Settings] Priority=Default Properties=DisableUSMT [Default] DisableUSMT=TRUE
After configuring the custom variable, you need to modify the task sequence to act on it. First step is to modify the options for the Capture User State and Restore User State actions. See below screenshots: