Disk cleanup problem

JW 0 Reputation points
2026-12-04T17:42:33.2466667+00:00

Disk cleanup will not clean device driver packages or windows update cleanup. About a month ago it would. Help

Windows for home | Windows 11 | Windows update
0 comments No comments

2 answers

Sort by: Most helpful
  1. Hendrix-V 21,825 Reputation points Microsoft External Staff Moderator
    2026-12-05T01:46:17.0333333+00:00

    Hi JW,

    I can see why this looks unusual if those same Disk Cleanup categories were being cleared normally until recently.

    Before trying additional cleanup methods, I suggest checking what Windows servicing itself reports. Open Command Prompt as administrator and run: DISM /Online /Cleanup-Image /AnalyzeComponentStore

    At the end, check Component Store Cleanup Recommended and Number of Reclaimable Packages.

    If cleanup is not recommended or there are 0 reclaimable packages, Disk Cleanup may still be displaying an estimated category size even though Windows does not currently consider those files eligible for removal.

    Please also avoid manually deleting files from the Windows driver store, as some older-looking driver packages can still be required.

    If you post the DISM analysis results here, I’ll be happy to help interpret them and determine the next appropriate step.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-12-04T17:43:24.13+00:00

    Run the supported DISM component cleanup to remove superseded Windows Update components, and treat device-driver packages separately rather than repeatedly running Disk Cleanup.

    1. Clean Windows Update components with DISM

    1. Search for Command Prompt.
    2. Right-click it and select Run as administrator.
    3. Run:
    Dism.exe /Online /Cleanup-Image /StartComponentCleanup
    
    1. Let the command finish, then restart Windows and check the free space under File Explorer → This PC.

    This cleans superseded components immediately rather than waiting for the scheduled cleanup task’s grace period. Do not manually delete anything from C:\Windows\WinSxS; Microsoft warns that doing so can prevent Windows from starting or receiving updates. ^1^

    Avoid adding /ResetBase initially. That option prevents all currently installed update packages from being uninstalled after cleanup.

    2. If DISM fails or the Windows Update amount remains unchanged

    Repair the component store and protected system files:

    1. Open Command Prompt as administrator.
    2. Run these commands in order:
    DISM.exe /Online /Cleanup-Image /RestoreHealth
    sfc /scannow
    Dism.exe /Online /Cleanup-Image /StartComponentCleanup
    

    Wait for each command to complete before starting the next. sfc /scannow should reach 100%. Microsoft documents RestoreHealth followed by SFC for repairing Windows servicing files. ^2^

    If the commands complete successfully but little or no space is recovered, Windows may not currently have removable superseded components. Windows automatically retains some older components temporarily for rollback and later removes them through servicing. ^1^

    3. Handle device-driver packages cautiously

    Do not remove driver packages merely because Disk Cleanup lists them. Removing an active package can leave hardware without a working driver.

    If there is a specific old device or driver you no longer use:

    1. Disconnect that device, if external.
    2. Search for and open Device Manager.
    3. Select View → Show hidden devices.
    4. Expand the relevant hardware category.
    5. Right-click the unused device and select Uninstall device.
    6. Select Delete the driver software for this device if that option appears, then select OK.
    7. Restart Windows.

    Administrator rights are required, and the deletion option might not appear if the package is still required or permissions are insufficient. Windows can also rediscover a connected device and reinstall its driver. ^3^

    Do not use pnputil /delete-driver unless the exact published driver name has been identified and a replacement driver is available; deleting the wrong package can stop the associated device from functioning.

    Alternative Windows 11 cleanup view

    To see whether Windows identifies other removable files, open:

    Start → Settings → System → Storage → Cleanup recommendations

    Review Temporary files and other categories, select only files you no longer need, and choose Clean up. Windows shows the estimated recoverable space before removal. ^4^


    References

    1. Clean Up the WinSxS Folder
    2. [Windows 11](https://support.microsoft.com/windows/deployment/updates-lifecycle/troubleshoot-problems-updating-windows#repair-hard-drive-errors)
    3. Using Device Manager to uninstall devices and driver packages
    4. Free up drive space in Windows | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.