Jun 19 2019 03:20 PM
Hi,
We’re migrating from Win7SP1 to Win10 Ent. 1803/1809 in our corporate environment. Strange thing noticed is migration TS always breaks on Latitude E7470 after ‘Upgrade Operating System’ task. Other models (E7440, E7450, E6440, O7010, O9020, T7910, etc.) don't have such issue at large. Almost 50 nos. of E7470 is tried and all of them got the same issue. Currently migration on this particular model is on hold. Didn’t see anyone mentioning the same issue anywhere.
TS screenshot as well as last few lines from smsts.log is copied below. As you can see there is no error reported by the task. But a reboot is initiated somehow, which breaks Task Sequence and then it doesn’t go further. In general, what are the reasons why such error occur?!
Process completed with exit code 0 TSManager 19/06/2019 18:55:23 7816 (0x1E88) !--------------------------------------------------------------------------------------------! TSManager 19/06/2019 18:55:23 7816 (0x1E88) Successfully completed the action (Upgrade Operating System) with the exit win32 code 0 TSManager 19/06/2019 18:55:23 7816 (0x1E88) Not in SSL TSManager 19/06/2019 18:55:24 7816 (0x1E88) Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 19/06/2019 18:55:24 7816 (0x1E88) Set a global environment variable _SMSTSLastActionName=Upgrade Operating System TSManager 19/06/2019 18:55:24 7816 (0x1E88) Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 19/06/2019 18:55:24 7816 (0x1E88) Clear local default environment TSManager 19/06/2019 18:55:24 7816 (0x1E88) The action (Upgrade Operating System) requested a retry TSManager 19/06/2019 18:55:24 7816 (0x1E88) Created volatile registry entry for pending reboot initiated by this task sequence TSManager 19/06/2019 18:55:24 7816 (0x1E88) Executing command line: "bcdedit.exe" with options (0, 0) TSManager 19/06/2019 18:55:24 7816 (0x1E88) Process completed with exit code 0 TSManager 19/06/2019 18:55:24 7816 (0x1E88) TSUEFIDrive: TSManager 19/06/2019 18:55:24 7816 (0x1E88) Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 19/06/2019 18:55:24 7816 (0x1E88) Updated security on object D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 19/06/2019 18:55:24 7816 (0x1E88) Updated security on object C:\_SMSTaskSequence. TSManager 19/06/2019 18:55:24 7816 (0x1E88) Set a global environment variable _SMSTSNextInstructionPointer=64 TSManager 19/06/2019 18:55:24 7816 (0x1E88) Set a TS execution environment variable _SMSTSNextInstructionPointer=64 TSManager 19/06/2019 18:55:24 7816 (0x1E88) Set a global environment variable _SMSTSInstructionStackString=27 TSManager 19/06/2019 18:55:24 7816 (0x1E88) Set a TS execution environment variable _SMSTSInstructionStackString=27 TSManager 19/06/2019 18:55:24 7816 (0x1E88) Save the current environment block TSManager 19/06/2019 18:55:24 7816 (0x1E88) Expand a string: %_SMSTSMDataPath%\Logs TSManager 19/06/2019 18:55:24 7816 (0x1E88) _SMSTSReturnToGINA variable set to: TSManager 19/06/2019 18:55:54 7816 (0x1E88) SMSTSUninstallCCMClient variable set to false TSManager 19/06/2019 18:55:54 7816 (0x1E88) _SMSTSCaptureMedia variable set to false TSManager 19/06/2019 18:55:54 7816 (0x1E88) The action (Upgrade Operating System) initiated a reboot request TSManager 19/06/2019 18:55:54 7816 (0x1E88) Not in SSL TSManager 19/06/2019 18:55:54 7816 (0x1E88) **************************************************************************** TSManager 19/06/2019 18:55:54 7816 (0x1E88) Execution engine result code: Reboot (2) TSManager 19/06/2019 18:55:54 7816 (0x1E88) Task Sequence Manager ServiceMain finished execution. TSManager 19/06/2019 18:55:54 7816 (0x1E88) Task Sequence Manager execution terminated as system shutdown is in progress. Code 0x00000000 TSManager 19/06/2019 18:55:54 7816 (0x1E88) RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 19/06/2019 18:55:54 7816 (0x1E88) GetTsRegValue() is unsuccessful. 0x80070002. TSManager 19/06/2019 18:55:54 7816 (0x1E88) End program: TSManager 19/06/2019 18:55:54 7816 (0x1E88) Stopping Task Sequence Manager service TSManager 19/06/2019 18:55:54 7816 (0x1E88) RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 19/06/2019 18:55:54 4588 (0x11EC) GetTsRegValue() is unsuccessful. 0x80070002. TSManager 19/06/2019 18:55:54 4588 (0x11EC) End program: TSManager 19/06/2019 18:55:54 4588 (0x11EC)
Jul 03 2019 06:00 AM
@gafoorgk most likely a staged driver is killing it. You may want to image one with Windows 10, and build the driver package old school.
http://itopsreborn.com/2016/08/sccm-driver-package-best-practice/
Jul 03 2019 06:54 AM
@Ascent_TKYup, I thought of that. One of the driver is forcing this unplanned restart. I'll give this old school method a try and let you know the result.
Thanks.
Jul 07 2019 06:23 AM
@Ascent_TK Old school method didn't help either. All trials seems to have been exhausted to find the root cause. Following are already tried;
It must be one of the drivers. Only solution left is to create a post upgrade task sequence for this particular model.
Jul 10 2019 12:18 PM
@gafoorgk Have a look at the following site. In my experience the SMSTS.log file doesn't tell you much about the upgrade process. Post logs if you can.
https://www.ghacks.net/2018/02/06/windows-10-upgrade-log-files-list/
Jul 15 2019 05:52 AM
@Ascent_TK Thanks. I already stumbled on this site.
Decided going through logs and finding out root cause is going to take more effort and time than building a post upgrade task sequence. So, created a Task Sequence only for model E7470 with all tasks, which wouldn't run through original Task Sequence.
But, sure I'm going to find out the root cause once project is finished before set date. 🙂
Jun 05 2020 02:13 PM
@gafoorgk I was wondering if you ever found the root cause to this issue. I am working on an in place upgrade to 1909 of Win10 machines that have either 1709, 1803, or 1809 installed. So far I haven't seen many issues but came across one that appears to be the same as to what you have.. Just like what you saw, the smsts log shows everything was fine and states the Upgrade Operating System step completed successfully but then I see "The action (Upgrade Operating System) requested a retry" in the prior to the reboot. The log shows the reboot was called but did not happen. The machines have been rebooted manually many times since and the software center shows the upgrade TS is still "installing" but nothing is happening.
Have you found a cause for this and also what did you do for any machines that were stuck in this state? I thought of excluding these machines from the update deployment to try and have the TS fail and disappear from the software center, then add them back to the deployment and try running it.
Jun 09 2020 03:04 PM
On machines that I've had the TS hang like that, I've got a script for clearing things out and resetting them. I've put a portion of it on github, which should be enough to do what you're hoping to clear out the "installing" TS.
https://github.com/gwblok/garytown/blob/master/ResetTSlite.ps1
Typically I've seen this behavior when:
Machine is rebooted PRIOR to the first reboot created by the Setup Engine (End User, or other process that reboots the process while the TS has kicked off and the Setup Engine is in Phase 1.)
If you're using the latest 1809 media and CM 1910, most of the times I've seen this have been resolved. More details HERE: https://www.recastsoftware.com/blog/windows-10-rollback-setuprollback-cmd-and-configmgr
Good luck with your upgrades!
Jun 09 2020 03:16 PM
Thanks for this. I will check this out and see what I get. Incidentally I am using the latest 1909 ISO and running SCCM 1906. Do you know or heard if the rollback feature has issues in 1909? Thanks.