How to Fix Steam Content File Locked Error?

This time we will try to fix “Content File Locked” error on Steam platform.

Steam Content File Locked Error Fix

You might have experienced an error when updating a game on Steam which said:

An error occurred while updating [Game Name] (content file locked)

What does “Steam Content File Locked” error means?

What this basically means is that Steam is unable to write its update files on to your PC’s hard disk.

The most effective solution for this issue is uninstalling Steam and all its local game content, and then doing a fresh install.

However, this uses a lot of data and takes a long time.

7 Ways To Fix Steam Content File Locked Error

Before resorting to this fix, there are some others which you might like to try. Let’s take a look at them.

Fix #1: Repair Any Corrupt System Files

Download Restoro or any other similar program and run it. This will scan for any corrupt system files.

If there are any which are missing or corrupt, you can repair them and then see if the issue has been fixed.

Else continue with the next solution.

Fix #2: Check Your Antivirus

It might be your antivirus program which is causing the error. Sometimes an antivirus program will flag Steam files as possible malware and put them in quarantine.

Here are some ways you can disable the antivirus from running until you can get your game updated:

Kaspersky AV

Steam is sometimes flagged up on Kaspersky and then it will be unable to make any changes to the hard drive.

If this happens, go to ‘threats and exclusions’ on Kaspersky, then go to ‘trusted zone’ where you can add Steam.exe as an application you trust.

Also make sure the ‘do not scan opened files’ and ‘do not restrict application’ options are checked.

Now you need to verify the game files integrity by following these steps:

  1. Restart the PC and launch Steam.
  2. In the library section, right click on the problematic game.
  3. Click on “Properties” and choose the local files tab.
  4. Click ‘verify integrity of game files’ and wait several minutes.
  5. Check to see if the game will update now.

McAfee Antivirus

There is no way to exclude specific files from a real-time scan using McAfee.

Instead, you will need to disable the entire antivirus program and then update your Steam game, before relaunching the antivirus.

  1. Open McAfee and click on ‘Virus and Spyware Protection’.
  2. Click ‘Real Time Scanning’ to disable it.
  3. Follow the instructions above to verify game files integrity, then restart your PC.


This antivirus typically marks specific application files as suspicious and usually quarantines them. When this happens, you will get an error message while trying to update your game.

  1. Go to your Steam directory and copy the address. This should be at: C:\Program File\Steam\SteamApps\common
  2. Now open ESET NOD32 and go to the exclude from real time scans part.
  3. Paste in the address, then follow the above instructions about how to verify game file integrity.

Also read: What is Steamworks Common Redistributables?

Fix #3: Winsock Reset

The Winsock catalog might be responsible for the update failure. To roll the system back to default settings, you need to execute the reset command, following these steps:

  1. Press the “Windows key + R” to get the run window (make sure you are running it as an administrator)
  2. Type this in the dialog box: “netsh winsock reset
  3. Press Enter then restart your PC

Fix #4: Repair Any Corrupt Files

Although we checked for corrupt system files in fix #1, it is worth checking for any other corrupt files too. That way you can find out which file is missing or corrupt and reinstall it.

  1. Go to your Steam directory which is either at “C:/Program Files (x86)/Steam” or wherever you chose to put it.
  2. Go to the folder logs and open ‘txt’.
  3. Search for recent errors near the bottom of the file.
  4. Now go to the mod’s root folder. The file size can vary so don’t look for a specific size.
  5. Update the files and see whether the issue is solved.

Fix #5: Put Steam Game Files and Installation Elsewhere

If you have made it this far, and none of the above solutions worked, you will have to relocate your Steam installation as well as the game files.

The first thing to do is relocate Steam and see if it launches and runs correctly. If not, then it will have to be reinstalled.

Remember that interrupting the file copying process might result in a corrupted file error and you would have to start over.

  1. Go to your Steam client and click on “Settings“.
  2. Click on “Downloads” then “Steam Library Folders“.
  3. After that click “Add Library Folder” and choose a new path where you want to put Steam (this sets up a new path for every installation).
  4. Exit Steam and go to “C:\Program Files\Steam” or wherever you have Steam installed.
  5. Delete every folder and file apart from “.exe“, “UserData” and “SteamApps“.
  6. Cut the folders then paste them into your new directory path.
  7. Launch Steam client then enter your credentials.

If you are still having trouble it, continue with the following steps:

  1. Close Steam and go to the path where you relocated it.
  2. Move the “SteamApps” folder from there on to your desktop.
  3. Reinstall Steam to the first location you chose.
  4. Relocate the “SteamApps” folder in the new directory, to copy all your saved games, game content and settings.
  5. Launch Steam and log in.
  6. Verify the integrity of your game files, and you should now be able to play.

Fix #6: Check Disk Scan

It could be the case that your hard drive, where the game installation files are, has bad sectors or has been corrupted. Bad sectors mean parts of the hard drive can’t be accessed, or are slowed down.

You might like to run a Disk Check scan to find out whether your hard drive does have any bad sectors:

  1. Press the Windows key + R.
  2. In the dialogue box type: cmd.
  3. Type in this “chkdsk c: /fthen press enter.
  4. Click “Y” to confirm the disk check scan schedule and wait for it to complete.
  5. See whether the problem is still occurring

Also read: How To Fix Steam Client Bootstrapper High CPU

Fix #7: Run as Administrator

Steam might need specific permissions to get to some files and folders.

If these are not granted, Windows might block Steam from being able to access those folders.

If this happens you will get the Content File is Locked error message on your screen. To solve this, you need to run Steam with Administrator privileges:

  • Right click on Steam and click on “Properties“.
  • Click on “Compatibility” and toggle the “Run as Administrator” box to “On“.
  • Click “Apply” then “OK“.

See whether this has fixed the error.