How to Fix Windows Update Stuck at “Cleaning Up”

The system can get stuck at ‘Cleaning up 0/100% complete’ for various reasons. While corrupted Windows update cache files in the SoftwareDistribution folder are common causes, other issues can include problems with the Windows Update service, system file corruption, disk errors, or lack of disk space.

Malfunctioning update services, corrupted or missing system files, disk errors like bad sectors, and insufficient disk space can all prevent the system from completing the clean-up. Corrupted files can cause the system to get stuck at ‘Cleaning up 0/100% complete’ or show Windows update errors.

Clearing the SoftwareDistribution or Windows.old folder usually resolves this issue, but reboot Windows in safe mode first.

A quick fix is to restart your computer using the power button. Press and hold the Power button until the system shuts down, then press the Power button again. Only do this if you’ve waited more than 4-5 hours.

If the issue persists after restarting, try the methods below.

1. Run Windows in Safe Mode

Safe Mode is a diagnostic mode of Windows. When you boot in Safe Mode, it starts with essential systems and services, which can help troubleshoot and fix issues that aren’t apparent when Windows runs normally. Safe Mode disables non-essential drivers and startup programs that could be causing conflicts or preventing clean-up.

  1. Boot Windows in safe mode by turning off your PC completely.
  2. Turn your PC back on.
  3. When the Windows or manufacturer logo appears, press the Power button to turn off your PC again.
  4. Repeat this process until the Automatic Repair screen appears.
  5. Click Advanced options > Troubleshoot > Startup Settings.
  6. Select Restart.
  7. Press F5 or 5 to enter Safe Mode.
  8. After booting, make necessary changes to your PC.

2. Clear the SoftwareDistribution Folder

The SoftwareDistribution folder stores Windows update files. If these files are corrupted, Disk Cleanup may struggle to delete them, causing the system to get stuck at 100%. Manually deleting these files should resolve the issue.

  1. Press Win and type Command Prompt.
  2. Right-click Command Prompt and select Run as administrator.
  3. Enter these commands to stop the Windows Update service:
    net stop wuauserv
    net stop bits

  4. Ensure the services have stopped successfully by entering:
    sc query wuauserv
    sc query bits

    The status should display STOPPED. If not, attempt stopping them again or check for errors.

  5. Minimize the Command Prompt.
  6. Press Win + R to open Run.
  7. Enter C:\Windows\SoftwareDistribution and click OK.
  8. Delete all content in this folder.
  9. Reopen Command Prompt and enter these commands to start Windows Update services:
    net start wuauserv
    net start bits

  10. Ensure the services have started successfully by entering:
    sc query wuauserv
    sc query bits

    The status should display RUNNING.

  11. Restart your computer. If the issue persists, boot in Safe Mode again.

3. Delete the Windows.old Folder

The Windows.old folder contains files related to Windows updates. Clear this folder if the issue persists after clearing the SoftwareDistribution folder.

    1. Open Command Prompt as an admin by typing it into the Start Menu and right-clicking on it.
    2. In Command Prompt, enter these commands to take ownership and delete the Windows.old folder:
      takeown /F C:\Windows.old* /R /A
      cacls C:\Windows.old*.* /T /grant administrators:F
      rmdir /S /Q C:\Windows.old
      

    3. Restart your computer to complete the process.

4. Perform Disk Cleanup

Disk errors or insufficient disk space can also cause issues. Perform a disk cleanup and check the disk for errors to resolve this.

  1. Press Win and type Command Prompt.
  2. Right-click Command Prompt and select Run as administrator.
  3. In the Command Prompt window, type the following command and press Enter:
    chkdsk /f /r C:

  4. You’ll be prompted to schedule the disk check at the next restart. Type Y and press Enter.
  5. Restart your computer to run the disk check. This can take time, so be patient. The disk check will try to find and fix disk errors.
  6. Once complete, review the results on screen. If any errors were found and fixed, they will be listed.
ABOUT THE AUTHOR

Hamza Mohammad Anwar


Hamza Mohammad Anwar is an intermediate JavaScript web developer with a focus on developing high-performance applications using MERN technologies. His skill set includes expertise in ReactJS, MongoDB, Express NodeJS, and other related technologies. Hamza is also a Google IT Certified professional, which highlights his competence in IT support. As an avid problem-solver, he recreates errors on his computer to troubleshoot and find solutions to various technical issues.