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.
-
Navigate to your Steam install folder (usually
C:\Program Files (x86)\Steam) -
Open the logs folder
-
Find content_log.txt and open it with Notepad
-
Scroll all the way to the bottom
-
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.
- Press Ctrl + Shift + Esc to open Task Manager
- Look in both the Apps section and Background processes
- Search for anything related to the game — the game executable itself, anti-cheat services (EasyAntiCheat, BattlEye, Vanguard), or game launchers
- 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:
- Open Windows Security (search for it in Start)
- Go to Virus & threat protection → Protection history
- Look for any recent entries related to the game
- If a file was quarantined, click Actions → Restore
- Then add an exclusion: go to Virus & threat protection settings → Manage settings → Add 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:
- Close Steam completely
- Right-click the Steam shortcut → Properties → Compatibility tab
- Check “Run this program as an administrator”
- Click Apply → OK
- Reopen Steam and retry the update
Full permission fix:
- Navigate to your Steam library folder (e.g.,
D:\Steam\steamapps\common) - Right-click the game’s folder → Properties → Security tab
- Click Edit
- Select your username and check Full control under Allow
- Click Apply → OK
Repair the Steam Library:
- Open Steam → Settings → Storage
- Select the drive where the game is installed
- Click the three dots (…) menu → Repair Folder
- 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.
- Go to the file path you found in Step 1 (from the log)
- Delete that specific file
- Go back to Steam
- Right-click the game → Properties → Local Files → Verify 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.
- Open Steam → Settings → Downloads
- Click Clear Download Cache
- 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