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

Author: shauncassells

Shaun Cassells, Senior Solutions Engineer, 1E Shaun is a Microsoft MVP Windows Insider MVP and executive at Central Texas Systems Management User Group (CTSMUG). Shaun is a frequent speaker at conferences like MMS, Gartner, TechEd Europe, TechEd North America, IT Dev Connections, System Center Rallies, and Systems Management User Groups (SMUGs). Shaun is an award winning blogger syndicated from www.shauncassells.com. Shaun specializes in analysis, optimization, and design of Tactical Solutions to Strategic Business Goals. Prior to joining 1E in 2010, he worked for a Global 100 company as the Configuration Manager Service Owner and Architect. Recently as a Principle Consultant at 1E, he accomplished design, review, and improvements to a variety of Configuration Manager environments from the very small to sites with a half million seats. He provided leadership that created a patented automated application rationalization and usage based OSD mapping solution in use by multiple fortune 500 companies. These days you can find Shaun traveling to help discover, review, and improve business productivity across the world.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s