Solved Error
How to Fix the Steam 'Content File Locked' Error
Quick Fix
Most of the time this is caused by a leftover game or Steam process still holding the file open. Try this first: 1. Fully restart your PC (use Restart, not Shut Down) to clear any stuck background processes. 2. Run Steam as administrator. Right-click the Steam shortcut and choose Run as administrator, then retry the update. 3. If it still fails, verify integrity of game files: right-click the game in your Library, go to Properties > Installed Files, and click Verify integrity of game files.
What this error means
The full message usually reads something like: "An error occurred while updating [Game Name] (content file locked)." It means Steam has downloaded an update but cannot write it into the game's installed files because something else has that file locked or open. The error occurs because Steam cannot write to or unlock a game file, usually because another process or system restriction is holding it, and games or Steam itself may not fully close, leaving files in use. Other common causes include a user account lacking administrator rights to modify Steam files, or security software flagging Steam updates as suspicious and quarantining files. It affects users across Windows, macOS, and Linux systems, though it is far more commonly reported on Windows. This is not a sign of hardware failure or file corruption on its own — the error itself does not corrupt files, though repeated interrupted updates can leave partial files, which Steam's verification tool can fix.
Step-by-Step Guide
Fix 1: Restart your PC and close lingering processes
- 1Close Steam completely via the system tray. Close the game and Steam completely before trying again — don't just close the window, quit Steam via the system tray.
- 2End lingering game processes in Task Manager. Check Task Manager (press Ctrl + Shift + Esc) for the game's executable or any related helper processes still running, and end them manually. Certain services related to a game keep running in the background even after closing the game, and while you'll generally not notice them, they are eventually the main reason behind the content file locked error.
- 3Fully restart your PC — do not just sleep or hibernate it. Restarting is the easiest and cleanest fix, and you have to use 'Restart' as just shutting down the PC overnight will not count unless you are using advanced Windows user settings.
- 4Windows users: If this keeps recurring, disable Fast Startup. Disabling 'Fast Startup' in Windows Power Options can help ensure a complete shutdown and avoid lingering processes.
- 5Relaunch Steam and retry the update.
Fix 2: Run Steam with administrator/elevated permissions
- 1Right-click the Steam shortcut on your desktop or Start menu.
- 2Select Run as administrator and confirm the UAC prompt if one appears.
- 3Try updating the game again. One confirmed way to fix the Steam content file locked error is to set Valve's game client to run as an administrator, which enables Steam to access all folders and files it needs to.
- 4Make administrator mode permanent in Properties. If this fixes it, make it permanent: right-click the Steam executable (usually in
C:\Program Files (x86)\Steam), go to Properties > Compatibility, and check Run this program as an administrator. This step is Windows-specific. - 5Grant full control permissions on Steam folder. If admin mode alone doesn't help, one Steam community user reported fixing it by opening Task Manager > Steam process > Properties > Security > Edit, and granting Full control to their user account on the Steam folder.
Fix 3: Clear the Steam download cache
- 1Open Steam Settings menu. Open Steam and go to Steam (top-left menu) > Settings.
- 2Go to the Downloads tab.
- 3Click Clear Download Cache and confirm. Steam downloads and stores cache data for every game whenever it installs a new update, but if the stored cache got corrupted or Steam can't access it, you'll run into the locked content error — deleting Steam's cache data should fix the issue.
- 4Log back in and retry the update. Steam will restart and log you out — log back in and try the update again.
Fix 4: Verify integrity of game files (and repair the library folder)
- 1Right-click the game and open Properties. In your Steam Library, right-click the affected game and choose Properties.
- 2Go to Installed Files tab. Go to the Installed Files (or Local Files) tab.
- 3Click Verify integrity of game files and let it scan.
- 4Repair the library folder via Storage settings. If the error persists, also try repairing the whole library folder: go to Steam Settings > Storage, select the drive the game is installed on, click the three-dot menu, and choose Repair Folder.
- 5Hover over the locked file message. Hover your mouse over the 'content file locked' message in your Downloads queue — hovering over the Content File Locked text will reveal which file is locked, which can help you spot a specific stuck file to delete manually before re-verifying.
Fix 5: Temporarily disable antivirus or security software
- 1Understand antivirus can lock files. Antivirus and Windows Security's real-time protection can flag a Steam update mid-write and lock the file.
- 2Turn off real-time protection temporarily. Windows users: Temporarily turn off Real-time protection in Windows Security, or pause your third-party antivirus shield from its system tray icon.
- 3Retry the update without protection. Retry the update immediately while protection is off.
- 4Add antivirus exceptions for Steam folders. If this fixes it, add an exception for your Steam and game install folders in your antivirus so this doesn't recur, then turn protection back on.
- 5Check antivirus quarantine for files. Also check your antivirus's quarantine/vault — some users found game files were being quarantined rather than just scanned.
Fix 6: Reset Winsock (network-related cause)
- 1Windows only. Press Windows key + S, type
cmd, then right-click Command Prompt and choose Run as administrator. - 2Run
netsh winsock resetcommand. Typenetsh winsock resetand press Enter. - 3Restart your PC and retry the update. Restart your PC afterward for the change to take effect, then retry the Steam update.
Fix 7: Move the game to a different library/drive, or reinstall Steam
- 1Move the game to a different drive. If a single file consistently refuses to update, try moving the install folder: Properties > Local Files > Move Install Folder, and select a different drive.
- 2Check target drive space and health. Check the target drive has sufficient free space and isn't failing — a drive nearing capacity or with bad sectors can also produce write/lock errors.
- 3Uninstall and reinstall Steam fresh. As a last resort, uninstall Steam entirely (Windows key + I > Apps > Installed apps, find Steam, click the three dots, and Uninstall), then download and reinstall it fresh from the official Steam website. Your games remain on disk and can typically be re-added without a full re-download if you keep the steamapps folder intact.
When to contact Steam Support directly
If none of the above works, or the error only affects one specific game across multiple reinstall attempts, it may be a game-specific packaging issue rather than something fixable client-side. Open a ticket via Steam Support > Steam Client > Steam Client Crashes/Errors and describe the exact locked file name (visible by hovering over the error). If it's a third-party launcher game (like some titles that layer their own updater on top of Steam), check that game's own official forum too, since some publishers have separate known fixes for their update process specifically.
Sources:
- Steam Community :: Guide :: Content File Locked Error Resolved
- How to Fix the [Content File Locked] Error on Steam
- 5 Ways to Fix the Steam "Content File Locked" Error on a Windows PC
- How to Fix Steam's "Content File Locked" Error in Windows
- Steam Content File Locked: Unlock It With These 7 Solutions
- Content file locked :: Help and Tips - Steam Community
- "Content file locked?" :: DoDonPachi Resurrection General Discussions
Heads up: this guide was drafted with AI assistance from the real sources listed below, and structured by our team for clarity. It may not cover every possible cause — if it doesn't fix your issue, let us know and we'll take a closer look. See how we create our fixes.
Was this fix helpful?