I have been doing OS captures with SCCM created capture CD for ages and it always has been an error prone process, but that's not true with Windows 10.
In this situation there was necessary to create additional local user account in the captured image, which was the problematic part in the end.
I did everything as usual - prepared the image, inserted capture CD and let the process capture the WIM image. But syspreping the image failed with error 0x00004005.
Further digging into c:\System32\Sysprep\Panther\setuperr.log revealed error 0x80073cf2 and error message that some modern apps like Twitter, Candy Crush, BingNews "was installed for a user, but not provisioned for all users".
At first I tried to remove these apps, but there always appeared new appp which was installed for a user, but not provisioned for all users". I didn't want to remove all apps. So after little bit of playing around I was able to avoid the error when doing capture with built-in administrator account and deleting all other user profiles before capture.