Steam Disk Write Error and Steam Content File Locked [ALL 22 FIXES]

Steam is undeniably one of the most used applications among gamers. Steam is a video game digital distribution that was created by Valve and launched as a standalone application in September 2003. Its store is filled with amazing games and it’s now holding the number one destination for gamers to download their favorite games. However, and like any other application running on Windows, some players may encounter well-known issues: Steam disk write error or Steam content file locked when trying to install or download a game. 

Steam Disk Write Error and Steam Content File Locked-min

We provide you with the ULTIMATE FIX to rectify this problem and never encounter it once again.

Please note that the solutions mentioned below require you to close Steam application before trying the next fix. 

Restart Steam as Administrator 

Sometimes, the application needs privileged permissions to access and modify certain files within its directory. Usually, you can find the directory under the C Drive

C:\Program Files (x86)\Steam

Starting Steam administrator any issue related to writing on the disk or modifying certain files. In our case, restarting Steam as administrator will fix the Steam disk write error message. 

Recover from Socket Error 

The command below will recover Windows from any socket errors which are the results of corrupted or incomplete downloaded data.  

  1. Run Command Prompt as Administrator 
  2. Enter the command line 
netsh winsock reset 
  1. Restart your computer to apply the changes 

This is a guaranteed method to fix Steam content file locked. 

Verify the Integrity of Game Files 

If the game is already installed and you’re having issues updating it, then the game’s files might be corrupted. This is usually due to the sudden closure of the application while it’s downloading and installing data on the hard drive, and the disk sometimes can’t keep up with the speed of Read & Write, so the files get corrupted. 

To apply this fix, simply follow the steps below: 

  1. From the Library section, right-click on the game and select Properties from the menu. 
  2. Select the “Local files” tab and click the “Verify integrity of game files…” button. 

Steam will verify the game’s files. This process may take several minutes. 

Low Disk Space 

If you’re still having the same problem, then your free disk space is probably the issue. Double-check the remaining disk space on your computer and if you notice that you don’t have enough disk space, then it’s time to clear some. Usually, Steam will display an error saying that you don’t have enough space to download or install a game, but sometimes, it displays another error message like the Steam disk write error message. 

  • You can use Windows feature to clear out unnecessary data from the system: 
  1. In Disk Cleanup, select Clean up system files. 
  2. Select the file types to delete. 
  3. Select OK. 
  • You can also analyze the files’ size using Treesize and select the right disk (usually the C Drive), then clear up some space by deleting the unnecessary files, logs, temp, Recycle Bin. 
  • Sometimes, Windows doesn’t allocate space to C Drive until it’s added manually. You can check by searching for Create and format hard disk partition. Under the right disk, if you see unused space, right-click on the drive and select Extend disk, then add the space. This will apply automatically and instantly to the drive space. 

Change Download Region 

If the game stopped downloading out of the blue and you think that the Steam disk write error message is due to an internet problem, then changing the download region or the content server might fix the issue. 

Content server or (CDN) is a technology that allows content to replicated across all servers on different regions to shorten the distance for data request and to download game files from the nearest server rather than just getting them from the source server. 

To change the region, simply follow the steps below. 

  1. Go to Settings > Downloads tab 
  2. Under Download region, select another region that is near you and hit OK 

Delete Existing Empty Folder 

When downloading games’ files, Steam automatically creates a folder with the name of the game. Even if the download progress bar shows that it downloaded a couple of MB, nothing will be shown in the game’s folder. 

Files are being downloaded to a sperate temp folder and then transferred to the original location of the game. Deleting the existing empty folder proved to be an effective solution for most players. 

You can find the folder under this path if you’re using the C Drive as your main disk:  

C:\Program Files\Steam (x86)\SteamApps\Common 

Re-install Steam Using IObit Uninstaller 

Steam app might be blocked from downloading or installing any updates, and the old version of Steam app might not work as expected with Windows updates and may cause the Steam disk write error & Steam content file locked. 

In order to fix this, you need to re-install Steam completely from your system, even the registry key associated with that application. 

The usual way of uninstalling an application is from the control panel, but this is not very effective as it might leave behind some temp files, logs and registry keys. 

IObit uninstaller is a great tool to completely delete any software from your system. 

Change Steam Library Location 

If you have an external HDD or SSD, you can use that to contain all of your Steam games (Steam Library). By default, the folder that contains your Steam files resides in:  

C:\Program Files\Steam (x86)\SteamApps\Common 

In order to change that: 

  1. Open Steam client and go to “Settings” 
  2. Go to “Downloads” and select “STEAM LIBRARY FOLDERS” 
  3. Click on “ADD LIBRARY FOLDER” and select the new path to where you want to save the library 
  1. Once done, all future downloads and installations will be saved there
  2. Right-click on the folder and set it as default 

Now to change the location of the already installed games, simply copy the “common” folder content to the new library after closing the Steam app. Launch it again and select the game that you’ve been having issues with and download it again. It will check if there are any existing files in the new library and re-install them after it’s done with the search. 

Repair Library  

If the default Steam library is still showing the same errors, you can repair it. 

  1. Open Steam app and go to “Settings” 
  2. Open “Downloads” and then go to “Steam Library Folders” 
  3. Right-click on the default library and select “Repair folder” 

Check the Permissions 

As mentioned above in restarting Steam as an administrator, the application needs special permissions in order to add or modify data to its directory. Sometimes, relying only on running the app as admin, will not fix the issue and we need to override the current permissions and give full control to the current admin user: 

  1. Right-click on the folder: C:\Program Files\Steam (x86) 
  2. Select Properties
  3. Click the Security tab
  4. Click Advanced
  5. Under your name, click on edit 
  6. Check Allow on Full Control  
  7. Click on Apply and then OK 

You now have full access to the Steam folder and the application is able to modify and add folders & files to the directory with no issues 

Restart Your Computer 

Restarting any device nowadays seems to fix 90% of the problems that we encounter on a daily basis. Restarting your machine will refresh the temporary and logs files and will enable Steam to start the process from the beginning and not get interrupted by old logs. 

Steam Whitelist on Antivirus 

Antiviruses are necessary for protection against malicious applications. But sometimes, these bad boys can interfere with Steam functionalities, and this is known amongst Antiviruses; they block legit applications thinking that the code running in the background to start a task is malicious and this is called false positive. 

Antiviruses can block the application from starting or just simple functionality. In our case, the Antivirus block might result in the Steam disk write error message, and in order to fix this problem, you will need to whitelist the application on your Antivirus. 

Since it depends on the Antivirus you’re using and we can’t just list all of them here, you will have to search for “how to whitelist an application on <Antivirus name>” and the first result should be a link to the Antivirus documentation which you can follow and whitelist Steam. 

Add Steam to the Firewall Exceptions 

If the above possible fixes didn’t do the job for you, then adding Steam to exceptions on the firewall should do it. 

Windows firewall main task is to simply block all non-authorized applications or traffic to/from the internet to further secure the system from any intrusion. 

In order to add any application to Windows firewall, simply follow these steps: 

  1. Search for “firewall” in Windows search bar 
  2. Select the “Windows Defender Firewall” option 
  3. Select “Allow an app or feature through Windows Defender Firewall”  
  4. Search for “Steam” and check both Private & Public 

If you can’t see Steam listed: 

  1. Click on “Allow another app…” 
  2. Browse the file explorer to find Steam and select it then allow it 
  3. Click OK 

Change Compatibility 

The errors Steam disk write error & Steam content file locked are sometimes the result of installing an old version of Steam or simply, the Steam client updates are not installed correctly or they are being blocked. 

To change Steam client compatibility: 

  1. Close Steam client app 
  2. Right-click on your Steam shortcut found on your Desktop 
  3. Select “Properties” 
  4. Click on “Compatibility” tab 
  5. Under “Compatibility mode”, check “Run this program in compatibility mode for:”
  6. Select Windows 8 
  7. Click on Apply and then OK 
  8. Start Steam client app again 

Refresh Client Cache 

Clearing out the client cache which holds the downloaded cache can fix the Steam related error messages. Follow the instructions down below. 

  1. From Steam, go to Settings 
  2. Select Downloads 
  3. At the bottom, click on CLEAR DOWNLOAD CACHE 
  4. It will ask you if you want to clear out the local download cache. Click on OK to continue 

After refreshing the client cache, you will have to restart and login to Steam and the issue with Steam content file locked will be fixed. 

Contact Steam Support 

If all of the above failed, then it’s time to contact Steam support. Don’t forget to send them all the details, what you have done exactly and the logs. You can extract the logs by navigating to these folders: 

  • Logfiles: C:\Program Files (x86)\Steam\logs 
  • Crashdumps: C:\Program Files (x86)\Steam\dumps 

For more details on how to contact Steam support, navigate to this website.   

Force Disable Write Protection 

Write protection is a method of protecting storage devices, usually used for USB flash disks, external or internal HDD or SSD to prevent any loss of data from unintentional deletion or modification. You can enable and disable this feature. However, since it’s a sensitive feature and needs special privileges, you will need to use CMD to run the command. 

  1. Right-click on Command prompt and select Run as Administrator 
  2. Enter the command “diskpart” 
  3. When you enter DISKPART on CMD, type “list disk”; this will list all of your partitions and disks available on your system 
  4. Enter the command “select disk 0” (change the “disk 0” with your disk) and press Enter 
  5. It will then list all of the properties of the selected disk.  
  6. Check if Read-only is set to “Yes”. If so, run the command below: 
attr disk clear readonly 

This command will force disable write protection to enable you or the application which is Steam to access the files that reside inside that selected disk. 

Scan Disk for Errors 

In addition to Steam files, the C Drive itself can have some errors that may affect program functionalities. Windows has a feature that can search and automatically repair all corrupted system files. 

  1. Right-click on Command Prompt and select Run as administrator  
  2. When you see the CMD pops up, type in the following command 
chkdsk C: /f 

Scan The System Using Malwarebytes 

Some malicious applications may be the reason why Steam is failing when trying to install or download a game as these apps tend to use system resources to run in the background blocking Steam functionalities from running normally.  

Install and run Malwarebytes to clear out all of the junk affecting your system that is affecting your system negatively. Malwarebytes is free and very effective when it comes to removing malicious files. 

Restore The Previous Windows Version 

  1. In the search box on the taskbar, type “control panel”, and then choose it from the list of results 
  2. In the “Control Panel” search box, type “recovery”
  3. Select Recovery > Open System Restore
  4. In the “Restore system files and setting” box, select Next
  5. Select the restore point that you want to use in the list of results, and then select “Scan for affected programs” 
  6. Bear in mind that this process may take up to one hour depending on your computer’s performance

Check For Updates 

Windows updates nowadays are becoming crucial since a lot of applications are relying on the newest updates to deliver the performance. Since the updates’ frequency went up over the years, also did the errors that came along with these updates. 

So, in order to fix the Steam disk write error message, you will need to update Windows to the latest version. 

You can do that by searching for “Windows updates” in the search bar and after clicking on it, it will redirect you to the window where you can update Windows manually or just select the important updates rather than just the whole unnecessary packages. 

Disable Unused Applications  

Sometimes, people tend to install a free application on their computer but after a while they just uninstall it from control panel thinking that it will erase everything related to that app. But some applications are a bit stubborn and they continue running on the computer even after the complete uninstallation. Even more, they tend to run at startup which slows the computer and affects other programs such as Steam from running since it will be using hardware resources and prioritizing the usage. This will heavily impact the CPU and RAM which may result in the Steam disk write error as there are not enough resources to utilize and write on the disk drive. 

In order to disable these applications: 

  1. Open “Task Manager” by right-clicking on the Taskbar 
  2. Go to Startup tab 
  3. Select the programs that you want to disable 
  4. Right-click and hit Disable 

To apply the changes, restart your computer and this should fix the issue. 

If you still experiencing the problem with Steam disk write error message, please let us know and we would be glad to search for another solution to fix this for you. However, we are 99% sure that the above fixes will do just that. 

Here’s another fix that you might be interested in:

Leave a Comment