Tag Archives: Upgrade

Command Line to Test Windows 10 Upgrade Compatibility

To test to see if a device has any blockers for updating to a newer release of Windows 10 without actually attempting an upgrade, you can run the following commands by mounting an ISO for the target Windows 10 version via File Explorer and then running the following commands from an Administrator Command Prompt:

start /wait SETUP.EXE /Auto Upgrade /Quiet /NoReboot /DynamicUpdate Enable /Compat ScanOnly
echo %errorlevel%

This will run the Windows 10 setup engine (downloading any updated setup components – this can be disabled by replacing ‘Enable’ with ‘Disable’ in the command) and will produce a return code to say if there are any issues which would block the upgrade.

More details on the return codes can be found at the following link:

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-command-line-options#compat

In the example below the code returned is “-1047526896”.

Covert that from Decimal to Hex (use Windows Calculator in ‘Programmer’ mode) and the result is “0xC1900208” which equates to not finding any compatibility issues:

This means my device is good to go for updating to the new release of Windows 10 πŸ™‚

/ JC