Skip to content

Check whether an upgrade will work without actually upgrading — via Microsoft Learn

Commandlow riskNeeds adminWindows 11Windows 10

Windows setup can run its compatibility checks and then stop. With /compat scanonly it scans the PC, reports through an exit code whether anything blocks the upgrade, and changes nothing. It's useful before committing to a big feature update.

Takes effect right away

The easy way

  1. Mount the ISO of the version you want to upgrade to and use its drive letter instead of D:.
  2. Run the commands in an elevated Command Prompt and wait. The scan runs silently and can take a while.
  3. Read the exit code. -1047526896 (0xC1900210) means no compatibility issues were found. -1047526904 (0xC1900208) means issues were found.

Command

Run in an administrator Command Prompt / Terminal window.

D:\setup.exe /auto upgrade /quiet /compat scanonly
echo %errorlevel%
To keep the setup logs for a closer look, add /copylogs C:\SetupLogs. Nothing is installed in scan-only mode.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.

setupupgradecompatibilityscanonlyfeature update

More in Setup & Install