A Custom vbScript to Restore and Capture User Data using USMT 4.

By | January 31, 2014
Share

The reason for a custom script, is that the customer wanted to see a prompt displaying how large the backup .MIG file would be before initiating the backup.

The script was used in an SCCM 2012/MDT 2012U1 UDI Task Sequence.  I kicked off the script using a “Run a Command Line” step and used the “ServiceUI.exe” application, because the script displays a prompt that needs to be visible to the user.  The prompt displays an estimate on how large the .MIG file will be, if the file is too large, the deployment technician can skip the User Capture.

The process is split in 2 scripts (CaptureUserState.vbs and RestoreUserState.vbs):
 CaptureUserState.vbs:

 RestoreUserState.vbs:

/BG

2 thoughts on “A Custom vbScript to Restore and Capture User Data using USMT 4.

  1. Tuan

    Brian,

    Do you an instruction of how to run these scripts?

    Thank you!

    Reply
    1. Brian Gonzalez Post author

      Tuan, At this time with the script improvements with MDT 2013, I would suggest not using these scripts and using the built-in USMT capture and restore.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*