There is a bug in ztiuserstate.wsf that prevents a MDT integrated Task Sequence from connecting to the SMP (State Migration Point) to upload the .mig file.  The chances of running into this are pretty slim since most newer hardware has fairly large hard drives.  This is something I usually test for though, I like to cover all the situations that might happen. You can use a dummy file creator to fill the hard drive up in order to test for this situation, or use a VM and give it a small hard drive and lots of user state data. 

When you force the process to try and use the SMP (by not having enough local space to store the data), you will see the following error in the logs and the task sequence will error out.

“User state capture not possible, insufficient local space and no network path (UDShare, UDDir) specified.”  Obviously you shouldn’t need a UDShare and UDDir because we want to use the SMP. Uh-oh.

Here is a sample log entry.

clip_image002

If you look in ZTIUserState.wsf for these lines:

If sNetworkStorePath = "" then                                                oLogging.ReportFailure "User state capture not possible, insufficient local space and no network path (UDShare, UDDir) specified.", 9702

End if

You need to change them to be:

If sNetworkStorePath = "" and oEnvironment.Item("DeploymentMethod") <> "SCCM" then oLogging.ReportFailure "User state capture not possible, insufficient local space and no network path (UDShare, UDDir) specified.", 9702

End if

Make sure to save the changes, and then update your toolkit files package.

You should know be able to upload the user data to the SMP without any issues.