The Steam “content file locked” error is common. It means Steam cannot write the updated files of a game to your drive, so the update stops with “An error occurred while updating” and the reason “content file locked”.
It usually happens when the game is still running in the background, when Steam does not have permission to change the files, when an antivirus feature blocks it, or when Steam’s download data is damaged. Try these fixes in order.
1. Close the Game Completely
If the game or its launcher is still running, Steam cannot replace its files. Press Ctrl + Shift + Esc to open Task Manager, end any processes of the game, and restart your PC if you are not sure. Then try the update again.
2. Clear the Download Cache

- Open Steam > Settings > Downloads.
- Click Clear Cache next to Clear Download Cache and confirm.
- Sign in to Steam again and update your game.
3. Verify the Game Files
- Go to your Steam Library, right-click the game and choose Properties.
- Open the Installed Files tab (called Local Files in older versions).
- Click Verify integrity of game files and wait until it finishes.
- Restart Steam and check whether the error is gone.
4. Repair the Steam Library Folder
- Go to Steam > Settings > Storage.
- Select the drive with the game, click the three-dot (…) menu and choose Repair Folder.
- Restart Steam when the repair is done.
5. Run Steam as Administrator
Windows may block Steam from changing some files if it does not have enough permission.
- Right-click the Steam shortcut and choose Properties.
- Open the Compatibility tab and tick Run this program as an administrator.
- Click Apply and OK, then open Steam.
6. Reset Winsock

Winsock controls how Windows programs connect to the network. Resetting it can fix download and update problems in Steam.
- Press Windows + R, type cmd and press Ctrl + Shift + Enter to open Command Prompt as administrator.
- Type netsh winsock reset and press Enter.
- Restart your computer and try the update.
7. Allow Steam in Controlled Folder Access
Windows Security has a ransomware protection feature called Controlled folder access. If it is on, it can block Steam from changing files. Instead of turning it off, allow Steam through it.
- Open Windows Security > Virus & threat protection.
- Click Manage ransomware protection.
- If Controlled folder access is on, click Allow an app through Controlled folder access and add steam.exe from your Steam folder.
- Restart Steam and update the game.
8. Add Steam as an Antivirus Exception
Antivirus programs sometimes flag game files and lock them. Add your Steam folder and game library as exclusions in your antivirus. In Windows Security, go to Virus & threat protection > Manage settings > Exclusions. Avoid turning off real-time protection for long; if you test without it, switch it back on right after the update.
9. Check the Drive for Errors

- Open Command Prompt as administrator.
- Type chkdsk c: /f (replace c: with the drive where the game is installed) and press Enter.
- Press Y to schedule the check, then restart your PC and let the scan finish.
10. Move the Game to Another Drive
- Go to Steam > Settings > Storage and add another drive from the drive drop-down.
- Select the game on its current drive and click Move.
- Choose the new drive, wait for the move to finish, and update the game.
Frequently Asked Questions
What does “content file locked” mean on Steam?
Steam could not write the new game files to your drive because the files were in use or blocked by Windows, an antivirus or missing permissions.
Will verifying game files delete my saves?
No. Verifying only checks the game’s installed files. Saves are usually stored separately or in Steam Cloud.
Is it safe to disable Windows Defender to fix this?
Only for a few minutes as a test. The safer fix is to add Steam as an exclusion and allow it through Controlled folder access.
Final Words
Most content file locked errors are fixed by closing the game fully, clearing the download cache or verifying the game files. If they keep coming back, allow Steam through your antivirus and Controlled folder access.
Fix other Steam errors:



