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

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/

 

Advertisements

Windows Insider: 14946 doesn’t like 3rd party antivirus or encryption

1471524244-4735Heads up

Released this morning on Oct 13th 2016 if you have any of the following a very strong chance of in place upgrade trying then rolling back.  Surprised I don’t see McAfee a

  • Bitdefender, Kaspersky Antivirus, F-Secure Antivirus and Malwarebytes installed on your PC