How to Fix Steam Disk Write Error on Windows [Fix]

How to Fix Steam Disk Write Error on Windows [Fix]

A Steam disk write error means Steam downloaded game data but could not save it to your drive, so the download or update stops with the message “An error occurred while updating (disk write error)”. The error sounds like your drive is dying, and sometimes it is. Far more often the cause is ordinary: the library folder will not let Steam write to it, the drive is full or has file system errors, or security software is blocking the write.

Fix it in likelihood order: library folder permissions first, then the drive itself, then your antivirus, then the download cache, and only then the game files. Most guides are flat lists of the same fixes in a different order, with no way to tell which one matches your case. This guide orders the fixes by what actually causes the error, with a pass condition on each step.

Work out whether it is one game or one drive

Before changing anything, spend two minutes on the pattern. Try a download for a different game on the same drive, and if you have a second drive with a Steam library, try a download there too. The error follows the broken part, so watch what it follows.

What you seeWhat it most likely meansStart with
Only one game fails, other games on the same drive download fineThat game files are damaged or lockedStep 5, then step 6
Every game on one drive fails, games on another drive workThat drive or its library folder is the problemStep 2, then step 3
Every game fails, whichever game or drive you pickSteam, its permissions, or your security software is blocking writesStep 2, then step 4
The error appears only after a power cut or a hard shutdownFile system errors from the interrupted writeStep 3

Also note when the error appears. If the download fails right at the start, permissions or security software are usually stopping the very first write. If it fails halfway, always near the same percentage, one damaged file is the usual suspect. If it fails near the very end, the drive may have run out of room during unpacking.

Diagram matching the symptom to the cause: one game failing points at that game files, every game on one drive failing points at that drive, and every game failing everywhere points at Steam itself

Step 1: Restart Steam and the PC, and check free space

Valve puts a restart first: another program, or a crashed copy of the game, can hold a file open so Steam cannot overwrite it. A restart releases those locks. Close Steam properly first: open the Steam menu at the top left and select Exit, or right-click the Steam icon in the system tray and select Exit.

  1. Exit Steam fully from the Steam menu or the system tray icon, then restart the PC.
  2. Open Steam, go to the Downloads page, and resume the download or update.
  3. Check the free space on the drive that holds the library: open File Explorer, select This PC, and read the free space under the drive.
  4. Steam needs room for the download plus room to unpack it, so free up space if the drive is nearly full.

Pass: the download finishes, or it gets clearly further than before. Fail: it stops again at roughly the same point. Move on to step 2.

Step 2: Repair the library folder and fix its permissions

This is the most likely cause, so it comes first. Valve explains that every Steam library folder must be writable by all users for updates to work, and those permissions sometimes break. Steam can reset them for you with its built-in repair, the fix that solves this error most often. It asks for administrator rights.

  1. Open Steam, then select Steam, Settings, then Storage.
  2. Pick the drive that holds the failing game from the drive list at the top.
  3. Click the three dot menu at the right of the library folder bar and select Repair Folder, or Repair Library on some Steam versions.
  4. Select Yes if Windows asks for permission, wait for the repair to finish, then retry the download.

Pass: the download finishes. Fail: the error returns on the next download, which means the permissions problem sits deeper than the repair reaches. Check the folder by hand next. First, the read-only flag: open File Explorer, find the Steam folder, usually at C:\Program Files (x86)\Steam, right-click the Steam folder or the steamapps folder inside it, and select Properties. On the General tab, if Read-only is ticked, clear it, select Apply, and apply the change to the folder, its subfolders, and its files.

See also  How to Fix a Keyboard Typing the Wrong Characters on Windows 11 [Fix]

Next, check that your Windows account can write to the folder. Right-click the Steam folder, select Properties, then open the Security tab. Select your user account under Group or user names: your account needs Modify or Full control for Steam to save game files there. To change an entry, select Edit on the Security tab, select your user account, tick Allow next to Full control, then select Apply and OK.

One more check belongs here: running Steam as administrator. Close Steam fully, right-click the Steam shortcut, and select Run as administrator, then retry the download. If it works, you have a permissions problem, not a Steam problem, because the elevated run gave Steam the access your account lacks. That is a test, not a fix: repair the permissions above instead. Valve does not list running as administrator among its current repair steps. See Steam Support: Update and Installation Issues for Valve own troubleshooting list.

Step 3: Check the drive itself

If the library folder is healthy and the error stays, look at the drive. A full drive, one with file system errors, or one starting to fail will refuse writes in exactly this way. Start with the easy check in File Explorer.

  1. Open File Explorer, select This PC, right-click the drive that holds the Steam library, and select Properties.
  2. Open the Tools tab, and under Error checking select Check, then Scan drive.
  3. Let the scan finish. If Windows finds errors, select Repair drive, then retry the download.

The command line check is chkdsk, the Windows tool that checks a volume for file system errors. Microsoft documents it on its chkdsk reference page: run without parameters it only reports the status of the volume and fixes nothing. Open Command Prompt as administrator, then type the command for the drive that holds the library, replacing D with the right letter.

CommandWhat it doesWhen to use it
chkdsk D: /fFixes file system errors on the driveAfter the File Explorer check found nothing
chkdsk D: /rLocates bad sectors and recovers readable data, and includes /fOnly when /f did not fix it
chkdsk D: /scanRuns an online scan while Windows keeps running, without fixingFor a quick read before committing to a repair
Diagram of the fix ladder in likelihood order: library folder permissions first, then drive health and free space, then antivirus interference, then the download cache, then the game files

If Windows says the volume is in use by another process, type Y and press Enter to schedule the check for the next restart, then restart the PC and let it finish. Do not interrupt it. The /r scan reads every sector, so on a large drive it can take hours. Run /f first. See Microsoft Learn: chkdsk for the full list of options.

Read the result before deciding what it means. If chkdsk fixes errors and the download then finishes, the file system was the cause. If chkdsk fixes errors and the next run finds new ones, the surface underneath is failing: that is the drive-failure verdict near the end of this guide. If chkdsk reports no errors and the download still fails, the drive file system is healthy, so move to step 4. For a second opinion, our guide to hard drive repair software covers the maker tools that read a drive SMART data.

Step 4: Stop your security software blocking Steam writes

Antivirus software can block or quarantine a Steam write in mid-download, which Steam then reports as a disk write error. The error often starts the day after a security update. The fix is an exclusion, not turning your protection off.

  1. Open Windows Security by typing Security into Start and selecting Windows Security from the results.
  2. Select Virus and threat protection, then under Virus and threat protection settings select Manage settings.
  3. Scroll to Exclusions and select Add or remove exclusions, then select Add an exclusion.
  4. Choose Folder, browse to the Steam library folder, usually inside C:\Program Files (x86)\Steam\steamapps, and confirm it.
  5. Retry the download. If it finishes, the scanner was the cause.
See also  How to Fix an External Drive Not Showing Up on Windows 11 [Fix]

Microsoft own support page gives this exact path and the warning that goes with it: only exclude files you know are absolutely safe, because excluded files are not scanned and could leave you open to infection. A Steam library folder is a reasonable exclusion because it holds only game files downloaded from Steam, but never exclude a whole drive, your Downloads folder, or a Windows system folder. If you use a third-party antivirus, add the same exclusion in that program own settings.

Two more Windows Security settings can block Steam writes. First, Controlled folder access, which stops unknown apps writing to protected folders. In Windows Security, open Virus and threat protection, then Manage ransomware protection: if Controlled folder access is on, select Allow an app through Controlled folder access and add steam.exe. Also check the quarantine: open Virus and threat protection, then Protection history, and look for a Steam file quarantined when the error started.

As a test only, pause real-time protection for a few minutes, retry the download, then turn it back on. If the download finishes while protection is paused, the scanner is confirmed as the cause, and the exclusion above is the permanent fix. Never leave protection off as the solution.

Step 5: Clear the download cache

The download cache is where Steam stores temporary files while a game downloads or installs. An interrupted download can leave damaged data there. Clearing the cache makes Steam fetch its configuration data fresh from Steam servers. Valve lists this among its first fixes, and it does not delete your installed games.

  1. Open Steam, select Steam in the top left corner, then select Settings.
  2. Select Downloads on the left.
  3. Scroll down to Clear Download Cache and select Clear Cache, then confirm.
  4. Steam restarts and asks you to sign in again, so have your sign-in details and authenticator ready.

Pass: the download starts cleanly and finishes. Fail: the error returns on the same game, which means the cache was not the cause. If clearing the cache fixes it once and it comes back after every restart, the real cause is still in an earlier step.

Step 6: Verify the game files

Verify the game files only when the pattern points at one game: other games on the same drive download fine, but this one fails every time. Verification compares the installed files against Steam records and replaces anything damaged with a fresh download. It is a per-game fix, which is why it sits this far down the ladder.

  1. Restart the PC, launch Steam, and make sure the game is not running.
  2. Open the Library, right-click the affected game, and select Properties.
  3. Select Installed Files, then select Verify integrity of game files.
  4. Wait for the check to finish, then let any follow-up download complete before starting the game.

Valve says the check may take several minutes. While it runs, do not verify several games at once, and do not run other storage-heavy work such as a virus scan or a drive defragmentation. If Steam reports that one or more files failed to verify, do not worry: Valve says that is normal for most Steam games, because the files that fail are local configuration files that should not be replaced.

Pass: Steam reacquires files and the game updates cleanly. Fail: verification finishes without repairing anything and the error returns, which means the game files were never the problem.

Step 7: Move the game, or reinstall Steam in place

The next test is to move the problem off the suspect drive. If the game downloads fine on another drive, the first drive or its folder is the fault, and the game itself was never the problem. With no second drive, try installing a small free game on the same drive and see whether it fails the same way.

  1. Open Steam, select Steam, Settings, then Storage, and select the plus button at the top to add a library folder on the other drive.
  2. Right-click the affected game in the Library, select Properties, open Installed Files, and select Move install folder, then choose the new library.
  3. Retry the download on the new drive. If it finishes, leave the game there.
  4. If the error follows the game, the game files are the problem: uninstall that game and install it fresh on the new drive.
See also  How to Fix Screen Flickering on Windows 11 [Fix]

The last Steam-side step is to reinstall Steam itself, into the same location. Valve says installing Steam again into the same location preserves all your installed games. Do not uninstall Steam first: Valve warns that uninstalling Steam deletes all game content. After reinstalling over the existing installation, retry the download. If downloads stall rather than fail, try another Download Region in Settings, Downloads.

When the error means the drive is failing

Every fix above assumes the drive can still store files. Sometimes it cannot. The worst outcome here is not a failed download: it is losing your saves and your other files while you keep retrying on a drive that is already failing. Back up first, then judge the drive.

Diagram of the signs that the drive itself is failing: back up first, errors that keep coming back after chkdsk, and other programs failing to save too

Back up before you run any more scans. Copy your saves, documents, and photos to another drive or to cloud storage now, while the drive still reads. A long chkdsk /r scan is extra work for a struggling drive, so save what matters first. Steam saves live in the Steam userdata folder and in the game own save locations, so copy both.

  • Chkdsk fixes errors, and the next run finds new ones. Errors that keep returning mean the surface underneath is failing, not the file index.
  • The drive disappears from This PC, or Windows asks you to format it. A drive that drops off the system is not a permissions problem.
  • Other programs fail to save too. If documents will not save on the same drive, the fault reaches beyond Steam.
  • A hard drive clicks, grinds, or buzzes. Unusual noise means stop using it and back up now, not after one more test.
  • Downloads fail on one drive only, and that drive is old or has run hot for years. Age plus repeated write failures is a strong signal.
  • The same game fails on a brand-new drive too. Then the game files or the Steam install are the fault, not the drive.

When two of these signs show up together, stop repairing and replace the drive. Install Steam on the new drive, add it as a library folder, and move your games across with the steps in step 7. If you are moving to a larger drive, our guide to cloning an SSD to a larger SSD on Windows 11 covers moving everything, Windows included, with free tools. Check your saves survived the move before you throw away the old drive.

What the results mean

  • The download finishes after repairing the library folder: the folder permissions were broken.
  • The download finishes after chkdsk: the file system had errors, now fixed.
  • The download finishes after adding an exclusion: your security software was blocking the write. Keep the exclusion.
  • The download finishes after clearing the cache or verifying the game: damaged data was the cause.
  • The download finishes after moving the game: the old drive was the fault, not the game.
  • Nothing above fixed it, and the drive keeps failing checks: the drive is the problem. Back up and replace it.

A Steam disk write error is a blocked write, not a diagnosis, and the fix depends on what is doing the blocking. Work the ladder in order, permissions first, then the drive, then security software, then the cache and the game files, and retest the download after each rung. Most cases end at step 2 or step 3. When the error keeps coming back after every fix, believe the pattern: back up your files, and replace the drive before it takes your saves with it.

Lokesh Sharma
Scroll to Top