Skip to content
Steam

Steam "Disk write error": the cause depends on when it fails

Steam shows "An error occurred while installing/updating (disk write error)". The cause changes with the moment: right at the start, halfway, in one game or in all of them. A table to pin it down and fixes in order: download cache, 0 KB file, antivirus, permissions and the drive itself.

4 minHow we make our guides

Fix it step by step
Quick answer

Steam can't write to the game's folder. Try in this order: Steam → Settings → Downloads → Clear Download Cache; then Settings → Storage → ⋯ → Repair Folder; if it persists, delete the 0 KB file in the game folder and verify the files. If you use an antivirus or "Controlled folder access", add Steam as an exception.

Illustration of the problem: Steam disk write error
GlitchFix illustration: what this problem usually looks like.

When does the error appear?

Diagram: a downloading file, a shield with a red X blocking it and a drive with an almost full space bar; below, 0 KB
Something gets between the download and the drive: an antivirus, a half-written 0 KB file, permissions, or a full or faulty drive.
When it failsMost likely causeTry first
Right as the download starts, in every gameSteam folder permissions or antivirusFixes 2 and 3
Halfway, always at the same percentageA specific blocked or damaged fileFix 1 (0 KB file)
Only one game, when updatingThat game's files are in use or damagedFix 1
Every game on one drive but not on anotherThat drive has errors, is full or is read-onlyFix 4
After a power cut or a hard shutdownFile system errorsFix 4 (chkdsk)

Fix 0: the usual two clicks

  1. Steam → Settings → Downloads → Clear Download Cache. Steam restarts and asks you to sign in.
  2. Settings → Storage, pick the drive, click the three dots ⋯ → Repair Folder.

Fix 1: the 0 KB file

When a download gets cut, it sometimes leaves an empty file that blocks the next ones.

  1. Go to Steam\steamapps\common\ and open the game's folder.
  2. In Details view, sort by Size. If there's a 0 KB file, delete it.
  3. In Steam: right-click the game → Properties → Installed Files → Verify integrity of game files.

Fix 2: antivirus and "Controlled folder access"

  • Windows Security → Virus & threat protection → Manage ransomware protection. If Controlled folder access is on, click "Allow an app" and add steam.exe.
  • If you use another antivirus (Avast, AVG, Norton, McAfee…), add the Steam folder to its exclusions or disable it only while downloading.

Fix 3: folder permissions

  1. Close Steam. Right-click the Steam folder → Properties.
  2. If Read-only is ticked (actually ticked, not just grey), untick it and apply to all subfolders.
  3. Right-click Steam → Run as administrator once and try the download.

Fix 4: the drive

Silver external hard drive connected by cable to a laptop on a desk
If your games are on an external drive, a loose cable or an underpowered port can also cause write errors.
  • Space: Steam needs the game's size plus extra room to unpack. If the drive is tight, see how to free up space.
  • Errors: Command Prompt as administrator → chkdsk D: /f (replace D: with the drive letter). If it's C:, it runs on the next restart.
  • External drive: plug it into a rear port on the PC, no hub. If it sometimes disappears, see external drive not recognised.
  • Move the game: create a library folder on another drive (Settings → Storage → Add Drive) and move the game there. If it works on the other drive, the first one has a problem.

If chkdsk finds bad sectors or the drive makes noises, copy your important files as soon as possible: the drive may be failing.

Frequently asked questions

Do I need to reinstall Steam?

Hardly ever. If you do, don't delete the steamapps folder: that's where your games are.

Is it the same as error E87?

No. E87 is a sign-in error. It has its own guide: Steam error E87.

The drive is at 100% while downloading. Is that normal?

For a while, yes, because Steam unpacks files. If it stays at 100% even without downloading, see 100% disk usage.

If nothing works, tell us the game, which drive it's on and when the error appears via the contact page.

Still not fixed?

Email us at glitchfixesp@gmail.com with your device model, the exact error message and what you have already tried from this guide. We reply personally (in English or Spanish) and, if the issue keeps coming up, we add the new fix to the guide.

Send us your error

Related guides

See all Video games guides