How to Fix Steam "Content File Locked" Error When Updating Games

By Adhen Prasetiyo

Wednesday, February 18, 2026 • 7 min read

Steam client displaying content file locked error dialog during a game update

You see the update downloading in Steam. The progress bar hits 100%. Then instead of finishing, Steam spits out an error: “An error occurred while updating [Game Name] (content file locked).”

So you try again. Same error. You restart Steam. Same error. You restart your entire computer. Same. Error.

At this point, most people just uninstall the game and redownload the whole thing — 50GB, 80GB, sometimes 100GB+ — because they can’t figure out what’s actually wrong. But here’s the thing: the error is caused by one specific file that Steam can’t overwrite, and you can find exactly which file it is in about 30 seconds.

Step 1: Find the Exact Locked File in Steam’s Logs

Steam keeps a log of every download and update operation. When a file lock error occurs, it writes the exact file path to this log.

  1. Navigate to your Steam install folder (usually C:\Program Files (x86)\Steam)

  2. Open the logs folder

  3. Find content_log.txt and open it with Notepad

  4. Scroll all the way to the bottom

  5. Look for a line that says something like:

    File commit failed: installed file locked (File locked)
    
    "D:\Steam\steamapps\common\GameName\Binaries\Win64\someFile.dll"
    

That file path is your answer. That specific .dll, .exe, or whatever file is the one Steam can’t touch.

Why this matters: Now instead of troubleshooting blindly, you know the exact target. Everything below focuses on unlocking or replacing that specific file.

Step 2: Make Sure the Game Isn’t Still Running

This is the most common cause and the easiest fix. Games (especially modern ones) run multiple processes, and sometimes they don’t all shut down when you close the game. If the game’s process is still holding that file open, Steam can’t overwrite it.

  1. Press Ctrl + Shift + Esc to open Task Manager
  2. Look in both the Apps section and Background processes
  3. Search for anything related to the game — the game executable itself, anti-cheat services (EasyAntiCheat, BattlEye, Vanguard), or game launchers
  4. Right-click each one → End task

Now go back to Steam and retry the update.

Pro tip: If you’re not sure which processes belong to the game, just restart your PC using the actual Restart option (not Shutdown). Windows Fast Startup can keep processes alive through a regular shutdown, but a restart clears everything.

Step 3: Check Your Antivirus Quarantine

This is the sneaky one. Your antivirus might have silently grabbed a game file and thrown it into quarantine, flagging it as a potential threat. Steam then tries to replace the file, but the antivirus blocks that too.

Windows Defender:

  1. Open Windows Security (search for it in Start)
  2. Go to Virus & threat protectionProtection history
  3. Look for any recent entries related to the game
  4. If a file was quarantined, click ActionsRestore
  5. Then add an exclusion: go to Virus & threat protection settingsManage settingsAdd or remove exclusions → add your Steam games folder

Third-party antivirus (Norton, Kaspersky, Bitdefender, Avast, McAfee):

Each one has a “Quarantine” or “Virus Vault” section. Open it, check for the game file, restore it, and add the Steam library folder as an exception.

Games most commonly flagged by antivirus:

  • Games with custom anti-cheat (like Lost Ark’s Anybrain, PUBG’s BattlEye)
  • Modded games
  • Games with DRM

Step 4: Fix File Permissions

If the issue isn’t a running process or antivirus, it might be a Windows file permission problem. Steam might not have write access to its own library folder.

Quick fix — Run Steam as Administrator:

  1. Close Steam completely
  2. Right-click the Steam shortcut → PropertiesCompatibility tab
  3. Check “Run this program as an administrator”
  4. Click ApplyOK
  5. Reopen Steam and retry the update

Full permission fix:

  1. Navigate to your Steam library folder (e.g., D:\Steam\steamapps\common)
  2. Right-click the game’s folderPropertiesSecurity tab
  3. Click Edit
  4. Select your username and check Full control under Allow
  5. Click ApplyOK

Repair the Steam Library:

  1. Open Steam → SettingsStorage
  2. Select the drive where the game is installed
  3. Click the three dots (…) menu → Repair Folder
  4. Let it finish — this fixes permissions across your entire Steam library

Step 5: Delete the Locked File and Verify Integrity

If the file is genuinely corrupted and nothing can unlock it, just delete it and let Steam redownload only that one file.

  1. Go to the file path you found in Step 1 (from the log)
  2. Delete that specific file
  3. Go back to Steam
  4. Right-click the game → PropertiesLocal FilesVerify integrity of game files

Steam will scan all game files, find the one you deleted, and redownload it. This takes a fraction of the time compared to redownloading the entire game.

Step 6: Clear Steam’s Download Cache

Corrupted download cache can cause the error to persist even after fixing the locked file.

  1. Open Steam → SettingsDownloads
  2. Click Clear Download Cache
  3. Steam will restart — log back in and retry the update

You can also try changing your download region in the same Downloads settings. Sometimes the server you’re connected to is the issue.

Step 7: Check Your Hard Drive Health

If you keep getting “Content File Locked” across multiple games, your hard drive might have bad sectors. Files stored on damaged sectors can become unreadable and appear “locked.”

Run a disk check:

chkdsk D: /f /r

Replace D: with the drive letter where your Steam library lives. You’ll need to restart your PC if it’s checking the system drive.

If your drive is failing (check with CrystalDiskInfo — free), consider moving your Steam library to a healthy SSD.

Quick Diagnostic Reference

Symptom Likely Cause Fix
Error after closing game Game process still running Task Manager → End task
Error out of nowhere Antivirus quarantined a file Check quarantine → restore + add exclusion
Error after Windows update File permissions reset Repair Steam Library + run as admin
Same error after redownload Corrupted download cache Clear download cache + change region
Multiple games showing error Hard drive issue Run chkdsk or check with CrystalDiskInfo
Error on specific file every time Corrupted file Delete it manually → Verify integrity

Frequently Asked Questions

What exactly does “Content File Locked” mean?

It means Steam downloaded the update but can’t write it to disk because the target file is being held by another process, blocked by antivirus, or has a permission restriction. Steam needs to overwrite that file and something is preventing it.

Will this error corrupt my save files?

No. The error only affects game installation files — the executables, DLLs, and assets that make the game run. Your save files are stored separately (usually in Documents or AppData) and are not touched by Steam’s update process.

I fixed it but it happens again with every update. Why?

Most likely your antivirus keeps re-quarantining game files after each update. Add your entire Steam library folder (steamapps/common) as a permanent exclusion in your antivirus to prevent this loop.

Does this error happen on Linux or macOS?

Rarely. The error is almost exclusively a Windows issue because of how Windows handles file locking, permissions, and antivirus interactions. On Linux and macOS, file locking works differently and rarely causes conflicts with Steam.

Stop Redownloading Entire Games

The “Content File Locked” error is almost never a reason to reinstall a game. Check the log to find the exact file, kill any leftover game processes, check antivirus quarantine, and fix permissions. If the file is damaged beyond repair, just delete that one file and verify integrity — Steam will replace only what’s missing.

Save yourself 100GB of bandwidth and an afternoon of waiting.

Last updated: February 2026 | Tested on Steam Client — Windows 10/11

Step-by-Step Guide

1

Check Steam logs for the exact locked file

Navigate to your Steam install folder, open the logs folder, find content_log.txt, scroll to the bottom, and look for the line that says "File commit failed" with the specific file path that is locked.

2

End all game processes in Task Manager

Open Task Manager with Ctrl+Shift+Esc, look for any running processes related to the game under both Apps and Background processes, right-click each and select End task, then retry the update.

3

Check antivirus quarantine

Open your antivirus software and check the Quarantine or Threat History section. If a game file was quarantined, restore it and add the Steam game folder as an exclusion.

4

Repair the Steam Library folder

Open Steam Settings, go to Storage, click the three-dot menu on your drive, and select Repair Folder. This fixes file permissions across the entire Steam library.

5

Delete the locked file and verify game integrity

Manually delete the specific locked file found in Step 1. Then right-click the game in your Steam Library, go to Properties, Local Files, and click Verify integrity of game files. Steam will redownload only the deleted file.

Frequently Asked Questions

Q1: What causes the Steam "Content File Locked" error?
A1: The error happens when Steam can't overwrite a game file during an update. Common causes are the game still running in the background, antivirus software quarantining game files, insufficient file permissions, or corrupted files on the hard drive.
Q2: Will verifying game files delete my save data?
A2: No. Verifying game files only checks and redownloads corrupted or missing game installation files. Your save data is stored separately, either in your Documents folder, AppData, or on the game's cloud servers.
Q3: Why does my antivirus keep blocking Steam game files?
A3: Antivirus software uses heuristic detection that can flag game executables and DLL files as suspicious because they behave similarly to certain types of malware. Adding your Steam library folder as an exclusion in your antivirus prevents this.
Q4: Should I reinstall the entire game to fix this error?
A4: No. That wastes bandwidth and time. Check Steam's content_log.txt to find the exact file that is locked, fix the permission or antivirus issue for that specific file, then verify game integrity. Steam will only redownload what is needed.
Adhen Prasetiyo

Research Bug bounty at javahack team

Research Bug bounty Profesional

Web Development Research Bug Hunter
View all articles →