Windows error

0x80070070 – 0x50011 / 0x50012 / 0x60000

The Windows upgrade failed because the PC does not have enough free disk space.

Checked Official source linked
0x80070070 – 0x50011 / 0x50012 / 0x60000

Why it happens

Microsoft says these codes likely mean the PC does not have enough space available to install the upgrade.

Where you see it, and what it affects

Windows Setup or Windows Update reports these codes when a feature update or an upgrade to Windows 11 cannot be installed. For a failed update, find the code under Settings > Windows Update > Update history. The extend code after the dash tells you the setup phase and which log file to read. Do not turn off the PC while Setup undoes its changes. The PC then stays on its current version.

How to fix it

  1. 1

    Step 1

    In File Explorer, open This PC and check free space on the system drive.

  2. 2

    Step 2

    Free space: empty the Recycle Bin, remove unused apps and run Disk Cleanup, including system files. Move large personal files to OneDrive or external storage.

  3. 3

    Step 3

    Run the upgrade again.

cleanmgr /sageset:1
cleanmgr /sagerun:1

Check that it is fixed

  • In File Explorer under This PC, the system drive shows enough free space for the upgrade.
  • Run the upgrade again and confirm it completes, with no new failure in Update history.

Sources

Full guide: Windows 10 end of support: upgrade to Windows 11 or enrol in ESU →