Inplace Upgrade Windows 10 LTSB 2016 (1607) Machines to 21H2 via Altiris

Nathan Blasac
Nathan Blasac - Notes from the Field
1 min readAug 21, 2022

--

Long story short, how can we upgrade machines from Windows 10 LTSB 2016 (1607) to Semi Annual Channel? These are machines that also have many user profiles that need to be preserved. Also, the apps that are currently installed need to remain.

First we need to cleanup the user profiles on the machine, which were causing upgrades to fail. We used delprof2with the following command lines:

DelProf2.exe /d:30 /q /id:local.admin1 /id:local.admin2

This deleted all accounts older than 30 days (not logged in), and specifically deletes the above accounts if found.

Now that we have profile cleanup figured out, we can actually upgrade Windows.

Here is our windows setup command line structure.

setup.exe /Auto Upgrade /quiet /DynamicUpdate disable /compat IgnoreWarning /ShowOOBE None /copylogs "C:\temp" /Bitlocker TryKeepActive /NoReboot /pkey xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /Telemetry Disable

This works with any scripted delivery engine. This specific case was using Altiris. Until next time.

--

--

Consultant working mainly on System Center, Azure/EMS, Systems Management and Windows Deployment.