When testing the User State Migration Tool we found a problem with an windows update. Because it took a long time for me to find a workaround I wanted to post the solution to help others.
When you execute a tast sequence that contains a "Request State Store" action it will always end with an error as below.
The task sequence execution engine failed executing the action (Request State Store) in the group () with the error code 8228 Action output: ==============================[ OSDSMPClient.exe ]============================== Command line: "osdsmpclient.exe" /capture Client joined to the xxxx domain. Client is a member of the xxxx site. GetAdaptersAddressess entry point issupported. DhcpGetOriginalSubnetMask entry point not supported. Adapter {A20F676E-FE24-4A4E-BAED-008A346A4E3D} is DHCP enabled. Checking quarantine status. Loading client certificates. OSDSMPClient finished: 0x00002024 Failed to import the client certificate store (0x80092024) ClientRequestToMP::DoRequest failed (0x80092024). ExecuteCaptureRequestMP failed (0x80092024). ExecuteCaptureRequest failed (0x80092024).. The operating system reported error 8228: The administrative limit for this request was exceeded.
This is caused by windows update KB974571. Uninstalling this update and preventing it from installing again solved it.
2ee6a973-2edc-4777-8c03-190e48104a9b|1|5.0