The simplest path to upgrade PCs currently running Windows 7, Windows 8, or Windows 8.1 to Windows 10 is through an in-place upgrade.
You can use a System Center Configuration Manager task sequence to completely automate the process.
Prerequisites: SCCM 2012 R2 SP1 Cu1
Follow the Technet guide below:
If you try upgrading a freshly installed Pc you might encounter the following error:
This happens because of what I prefer to call an “Engineer glitch”.
In the log it resolves to the following:
The function Set-SchTask i Presetup.ps1 stops the Config Manager Client Health tasks.
If the Set-SchTask fails in one of the three calls, Presetup.ps1 returns an error code 1 to the Task Sequence.
Since this error only occur when attempting to stop a service that doesn’t exist yet. Therefore a simple clear of the error code does the trick.
Edit the Presetup.ps1 script as shown below (remember to update the package on your DP’s).