- C:
- Windows
- SoftwareDistribution
- Download
FolderRisk: Safe
Download C:\Windows\SoftwareDistribution\Download
Cache of update files downloaded by Windows Update; can be emptied (services stopped) to repair a stuck update.
What it’s for
Windows Update drops update files here before installing them. It is the first folder to inspect, or empty, when an update fails or gets stuck, for example with error 0x80070005 (access denied).
What it contains
- Subfolders named by identifiers (hashes) that hold the downloaded packages, often
.cab,.msuor.esdfiles. - Partially downloaded files, which a new download replaces.
- Its size follows the pending updates, and unneeded files can remain after installation.
Risks and best practices
- The content is a cache: Windows Update downloads again whatever is missing, so emptying it is harmless. Stop the Windows Update (
wuauserv) and BITS services first, otherwise files are locked. - Do not empty it while an update is installing or just before a pending restart.
- Touch only this folder: its neighbor
DataStoreholds the update history.
Useful commands
# Approximate folder size, in MB(Get-ChildItem "$env:windir\SoftwareDistribution\Download" -Recurse -Force -ErrorAction SilentlyContinue | Measure-Object Length -Sum).Sum / 1MB
# Empty the cache (as administrator; -WhatIf to simulate)Stop-Service -Name wuauserv, bits -WhatIfGet-ChildItem "$env:windir\SoftwareDistribution\Download" -Force | Remove-Item -Recurse -Force -WhatIfStart-Service -Name bits, wuauserv -WhatIf
# Service stateGet-Service wuauserv, bits | Select-Object Name, Status