Steam’s “content file locked” error means it could not write a game file because something still holds it open. Close the game and its launcher, restart Windows (Restart, not Shut down) and retry the update. If it comes back, clear Steam’s download cache, run Repair Library on that drive, then verify the game’s files.
At a glance
- Applies to
- Steam on Windows; a Linux drive-move variant is covered at the end
- First try
- Close the game and its launcher, then Restart Windows
- Stop when
- Step 9: the update still fails after all eight steps
Provenance
- Sep 5, 2026Published
- Nov 18, 2026Last substantive update
Steam shows this as “An error occurred while updating game (content file locked).” It means Steam could not write or replace one of the game’s files because something else still had it open. The first suspect is the game, its launcher or its anti-cheat, still running after you quit. Work down the steps below and retry the update after each one.
| What you see | Start at |
|---|---|
| The error right after you closed the game | Step 1 |
| The error keeps coming back on the same game | Step 3, then the steps after it |
| Several games on the same drive fail to update | Step 4 |
| The error appears while moving a game to another drive on Linux | Linux moves |
| The dialog says “Steam Service Error” instead | A different error |
| The update is slow or stalls rather than failing | Steam slow download speed |
| The update finished, but the game will not start | Steam games not launching |
The fix, in order
1. Close the game and its launcher, then retry
Quit the game, then check Task Manager for anything left of it: the game’s own process, a separate launcher, or its anti-cheat. The Steam Community guide “Content File Locked Error Resolved”, posted by アンジェル on April 4, 2024, describes exactly this: a game process still in Task Manager after the player quit. Windows protects an in-use file in the same practical way it protects an open document. Close what is left through its own window if it has one, then retry the update. Steam itself can leave processes behind too; Steam not opening shows how to end them.
2. Restart Windows
Use Restart from the Windows power menu, not Shut down; the same Steam Community guide specifically says to restart. A restart gives Steam a clean session with no leftover game process. Open Steam when Windows returns and retry the update. If it works, stop here.
3. Clear Steam’s download cache
Valve’s steps: open Steam > Settings, select the Downloads tab and click Clear Download Cache at the bottom, then Confirm. Valve says this does not affect your installed games, but you will need to log in to Steam again afterwards. The client’s own warning adds that it restarts Steam. Retry the update after you sign back in.
4. Repair the library folder
Open Steam > Settings > Storage, select the drive that holds the game, open its drive menu and choose Repair Library (older guides call it Repair Folder). The Steam Community guide also directs readers to repair the affected drive in Steam’s Storage settings. The repair covers the whole library on that drive rather than one game, so it is the step to reach for when several updates on the same drive fail. Let it finish before starting another update.
5. Verify the game’s files
Valve’s steps: right-click the game in your Library, choose Properties, open the Installed Files tab and click Verify integrity of game files. Valve says it can take several minutes, that one or more files failing to verify is normal for most games (they are local configuration files), and that you should not run it during other heavy work such as a virus scan, or for several games at once. The April 2024 Steam Community guide verifies first and uses a download-cache clear as its fallback, then verifies again, so if verification alone fails, repeat it after step 3.
6. Find what is holding the file
If the error survives the steps above, find the program that owns the file. Microsoft Sysinternals Process Explorer is the tool for this: Microsoft’s description starts “Ever wondered which program has a particular file or directory open?” There is nothing to install; Microsoft’s instruction is simply to run procexp.exe.
- Exit the game and Steam normally.
- Run
procexp.exe. - Open Find > Find Handle or DLL.
- Search for the game’s folder name exactly as it appears under
steamapps\common(open that folder first if you are not sure of the spelling). - Read the matching path and owning process in the results.
Do not end an unfamiliar Windows process just because its name appears. If the result belongs to the game, its launcher, Steam, an anti-cheat component or security software you recognize, close that application through its own interface and search again; the lock is cleared only when the matching handle disappears. If the owner is an anti-cheat service that will not exit cleanly, the Easy Anti-Cheat error guide covers that service.
A Path of Exile forum thread from December 2024 cites Riot Vanguard locking files during an update; treat the Process Explorer handle match as your primary evidence rather than disabling protection on a guess.
7. Run Steam as administrator once
Exit Steam. Right-click its shortcut, choose Run as administrator, accept the Windows prompt and retry the update once. This is a permission test. If the elevated update succeeds, write access to the library was the problem: close Steam, open it normally and run Repair Library rather than running Steam elevated from now on. If elevation changes nothing, it was not permissions. If the message says missing file privileges instead, see Steam missing file privileges.
8. Check the game folder’s read-only attribute
Open the game’s folder, right-click it, choose Properties and look at Read-only. Clear the box, apply the change to the folder and its contents, then retry once. This step comes from an r/iRacing community report of a game folder turning read-only after an update, so treat it as a targeted final check rather than a universal default. If the attribute comes straight back, stop toggling it: something is still holding the folder, so go back to step 6.
9. Still failing: contact Steam Support
If none of the eight steps gets the update through, Valve’s own advice for downloads that still fail is to contact Steam Support. Tell them the game, the exact error text, the drive it is on, and which of the steps above you ran.
Linux, Bazzite and SteamOS: moves between drives
The Linux variant has a documented Steam-client failure mode. ValveSoftware/steam-for-linux issue #12139, “Moving game between drives fails with error ‘content file locked’,” was opened June 26, 2025. The report uses Linux Mint 22.1 and the May 20, 2025 Steam client. The move appears to run, then Steam throws Content File Locked and reverts it. The issue was still open, with 18 comments, on November 18, 2026.
If a normal update fails, work the steps above. If the error appears only after you choose to move a title to another drive, the open Valve issue is the closer match, and repeating cache clears will not resolve a client move bug. On Bazzite or SteamOS, keep the game in the library where it launches cleanly while issue #12139 stays open upstream.
“Steam Service Error” is a different message
If the dialog names the Steam service, exit Steam and repair the service from an administrator command prompt. The command comes from Valve’s support article:
"C:\Program Files (x86)\Steam\bin\SteamService.exe" /repair
Valve says it needs administrator rights and may take a few minutes, and that you should replace the path if Steam is installed elsewhere. It does not release a game file held by another program, so a continuing Content File Locked error goes back to the steps above.
Does netsh winsock reset help?
Not for this error. Microsoft’s netsh winsock reference says reset returns the Winsock catalog to a clean state and removes custom Layered Service Providers to fix network problems. That is a network repair. It cannot close a handle another program holds on a game file, so save it for a case where Steam also fails to connect or download.
Frequently asked questions
What does “content file locked” mean on Steam?
Does restarting fix content file locked?
Is content file locked caused by antivirus?
How do I fix Content File Locked in Marvel Rivals?
How do I fix Content File Locked on Linux, Bazzite, or SteamOS?
Sources and corrections
- Last updated
- Methodology
- See the methodology for research and review standards. It draws on 8 cited sources, listed below, each checked against the original page on the date shown beside it. The exact Steam menu and dialog wording on this page (‘content file locked’, ‘Clear Download Cache’, ‘Repair Library’, ‘Installed Files’, and ‘Verify integrity of game files’) was verified on 2026-11-18 against the active Steam Windows client interface, paired with Valve’s support documentation, Microsoft’s Sysinternals and Windows command docs, and the tracked ValveSoftware GitHub issue.
- Sources
- Steam Support: Clear download cache accessed 2026-11-18
- Steam Support: Verify Integrity of Game Files accessed 2026-11-18
- Steam Support: Disconnected by VAC (includes the Steam Service repair command) accessed 2026-11-18
- Microsoft Sysinternals: Process Explorer v17.21 (published November 5, 2026) accessed 2026-11-18
- Microsoft Windows commands: netsh winsock accessed 2026-11-18
- ValveSoftware/steam-for-linux issue #12139: Moving game between drives fails with error 'content file locked' accessed 2026-11-18
- Steam Community guide: Content File Locked Error Resolved, by アンジェル (April 4, 2024; community guide) accessed 2026-11-18
- Path of Exile forum thread 3607685 (December 2024; community report about Riot Vanguard during an update) accessed 2026-09-05
- Update log
- 2026-11-18 — Reordered the fixes so the quick ones come first, moved Process Explorer to a later step, updated Steam’s button name to Repair Library and added Valve’s own cache and verify steps.
- Corrections
- Spotted an error? Email a correction with the affected line and what you found. The draft includes this page’s address. Verified changes are recorded here. Contact details.