Tuesday, November 3, 2015

Doing a Windows 10 upgrade with ConfigMgr 2012 R2 SP1

Recently I did a Windows 10 upgrade with ConfigMgr 2012 R2. I used the new Windows 10 upgrade task sequence in ConfigMgr Technical Preview 3 before, but this one was new for me. Looking at Microsoft Technet there is a task sequence and multiple scripts available to do the job. With these components you can start an in-place Windows 10 upgrade right away, without the need to wait several weeks (or months) before ConfigMgr vNext is released.

On Microsoft TechNet the following posts are found:
How to upgrade to Windows 10 using the task sequence in System Center 2012 R2 Configuration Manager
and
Revised content for the Windows 10 in-place upgrade via task sequence for Configuration Manager
Within these posts the upgrade path can be found with the files (task sequence and scripts) needed.

Just create a deployment on the task sequence, and choose Install. In this case I choose an available deployment, so users can start the deployment when needed.

Before Windows 10 installation a Presetup takes place. This runs a corresponding Windows PowerShell script (PreSetup.ps1) to perform a variety of necessary actions prior to running Windows Setup.

This is where setup is actually run from the media package to automatically upgrade Windows. Both Windows media and scripts will be downloaded in the _SMSTaskSequence folder.

Windows restarts into a low-level mode to perform the upgrade and there are two possible outcomes: Upgrade completes successfully or Upgrade encounters a problem and rolls back the system to the down-level operating system.

In my case the Upgrade completes successfully. It was done in around 50 minutes. Additional steps can be added to this group as needed, such as Install Applications or Run PowerShell Script. The Install Software Updates step is provided as an example. The Cleanup step just removes the local staging directory.

Just great to have this functionality in ConfigMgr 2012 R2 too!

2 comments:

  1. hi Henk,
    i keep haveing issues upgrade my winds 8.1 to windows 10 it keeps given me errors "Failed to run the last action: Recover from Setup Failure. Execution of task sequence failed.
    Unknown error (Error: 00000A58; Source: Unknown) TSManager 4/13/2016 10:38:09 AM 1304 (0x0518)"
    i dont know what to do have tried everything. please help.

    ReplyDelete
    Replies
    1. I got to the bottom of this one today I think. The OSD error (0x00000A58) seems to correlate to a Windows 10 setup log error (0xC1900208) which indicates "incompatible software found". I removed McAfee DLP (not officially supported yet in Windows 10) and tried the upgrade again via SCCM and it completed successfully. I was able to upgrade all 3 machines that were previously exhibiting the same error ;-)

      https://social.technet.microsoft.com/Forums/en-US/43d2135f-d697-427c-bc4f-da6688fd01c3/windows-10-inplace-upgrade-failed-with-error-code-0x00000a58?forum=configmanagerosd

      Delete