USMT Estimate when really small should be set to a value of 1 during an SCCM OSD TS

No comments

Problem: USMT Estimate tool rounds to a value of Zero if the value is less than 1 meg

Background

I have been playing with the User State Migration Tool (USMT) Estimate switch recently.   USMT Estimate has been around since 2008 at least.   I found a scenario where the size returned may be less than 1 meg but above zero.  However, the USMT estimate return apparently rounds down to zero and may cause issues.

SCCM TS

During an OSD TS in SCCM you run a variation of the following command line

ZTIUserStateEstimate.wsf /USMTMigFiles001:MigApp.xml /USMTMigFile002:MigUser.xml

This populates a SCCM TS variable

%USMTEstimate%

Check out the free 1E.com tool called TSEnv2.exe to read and modify variables on the fly (even hidden or protected ones)

Solution

Add a Set Taks Sequence Variable step to the TS just after the USMT Estimate step

usmt-estimate-step

  1. Task Sequence Variable = USMTEstimate
  2. Value = 1

usmt-estimate-step

On the Options Tab create a quick logic test.

  1. Add Condition
  2. Task Sequence Variable
  3. Variable = USMTEstimate
  4. Less than
  5. Value = 1

usmt-estimate-step

This will sort the issue of very small USMT data being dropped.  True it does force every machine to have at least one bit of backed up data but that is a minor concern if you have 1E Nomad Peer backup Assistant or SCCM State Migration Points everywhere.

 

Great Reference

Great script from Jason Sandys to add it to your HINV – http://blog.configmgrftw.com/collecting-usmt-estimates-using-configmgr/

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s