I am testing various old builds to upgrade to 20H2. I have couple of test machines not actually upgrading, but they completes the Task Sequence fine which worries me the most. This time I attempted 1607 build to upgrade to 20H2 and it ran TS until the end.
It might be related to my previous post: https://docs.microsoft.com/en-us/answers/questions/358701/in-place-upgrade-unable-to-read-windows-setup-prog.html
And the text from OS Upgrade itself:
The task sequence execution engine successfully completed the action (Upgrade Windows 10 to 20H2) in the group (Upgrade the Operating System) with exit code 0
Action output: ... C:_SMSTaskSequence\Packages\WRT003BB\SETUP.EXE" /ImageIndex 1 /auto Upgrade /quiet /noreboot /postoobe "C:\WINDOWS\SMSTSPostUpgrade\SetupComplete.cmd" /postrollback "C:\WINDOWS\SMSTSPostUpgrade\SetupRollback.cmd" /postrollbackcontext system /Dynamicpdate Disable /compat IgnoreWarning with options (0, 0)
Unable to read Windows Setup progress value 'SetupProgress' at key 'HKLM\SYSTEM\Setup\MoSetup\Volatile'. Will not update progress UI. Error1 = 0x80070002. Error2 = 0x80070002.
Waiting for Windows Upgrade Setup process to return ...
Process completed with exit code 0
ExecuteWithTimeout returned Windows Setup process hexadecimal exit code 0x00000000 (decimal 0)
Wait for event returned 0
Windows setup completed with exit code hexadecimal 0x00000000 (decimal 0)
Saving exit code of Windows upgrade - hexadecimal 0x00000000 (decimal 0) - to Task sequence environment variable '_SMSTSOSUpgradeActionReturnCode', as decimal string
Windows Setup completed successfully!
Exiting with code 0x00000000.