While you are trying to update a game from Steam, next, the following error message comes up which is – “An error occurred while updating [name of the game] (Content file locked)”. Basically, when you get this error, it means that the game update files cannot be written on to the disk.
Reasons for the Steam content file locked Error
There are various reasons for the occurrence of this problem. However, some of those causes will be presented here.
- Content file locked Steam error can come up if the Winsock catalog is not correctly set.
- Sometimes the interference from a reliable antivirus software can cause this error to come up.
- If the game files are corrupted somehow, then there is a possibility for you to encounter this issue.
- When the hard disk gets corrupted, next, you can meet with this problem.
- If the Steam application is not run as an Administrator, then you might face this problem.
Steps for Steam content file locked Fix
Here, you will get multiple methods to fix this error in an easy way.
One: Execute the Steam application as Administrator
If the Steam application is not executed as an Administrator, then there is a chance for you to encounter this problem. Now, the correct solution to fix the content file locked in Steam error is to run this application as an Administrator. Follow these steps, in order to do that.
- First, from the desktop locate the ‘Steam’ icon and right-click on it. After that, from the popup menu, choose the ‘Properties’ option.
- As soon as you do that, then a new ‘Properties’ dialog box will come up. Inside that dialog box, locate and select the ‘Compatibility’ tab.
- Under this tab, find the option ‘Run this program as an administrator’ and then put a checkmark on it. Next, click on the ‘Apply’ and ‘OK’ buttons respectively.
- At last, execute the Steam application and then see if this issue appears or not.
Two: Set the Winsock once Again
If the Winsock catalog is not configured correctly, then you might face this error. The best answer to get rid of this problem is to set the Winsock catalog once again. In order to do that, follow the steps below.
- First, press both the ‘Windows + R’ keys simultaneously. This opens a new dialog box having the name ‘Run’.
- Inside that dialog box, input the text “cmd” and then click on the ‘OK’ button. As soon as you click on that button, then a new Command Prompt window will appear.
- Inside that window, input the following command “netsh winsock reset” and then click on the ‘Enter’ key to run the same. Wait for this command to execute and then quit from the ‘Command Prompt’ window.
- Finally, restart the computer and then check if this error comes up or not when you attempt to update a game within the Steam application.
Three: Corrupt files repair Process
If any files of the game that you are updating have corrupted, then you can even get this error. The feasible solution to rectify the steam download content file locked error is to repair the corrupt game files. To do that, follow the steps below.
- First, close the Steam application, if it already open. Next, go to the Steam installation folder, whose path usually is – “C:/Program Files (x86)/Steam”.
- Inside the ‘Steam’ directory navigate to the ‘logs’ subfolder and then launch the ‘txt’ file.
- Within that text file, go to the bottom and then look for any current errors. After that, move to the main folder of the game mod and check the contains.
- Now, restart the Steam application and then go to the downloads directory with it.
- At this moment, the Steam application will prompt for an update to the game, so do it accordingly.
- Lastly, run the game within the Steam application and check if this issue reappears or not.
Four: Run Check Disk Utility
If the hard disk partition that contains the installation file of the game gets corrupted somehow, then there is a chance for you to encounter this issue. The only answer to resolve this error is to execute the ‘Disk Check’ tool and fix the bad sector of the hard drive partition.
- First, right-click on the ‘Windows’ logo and then open the ‘Options Menu’. Inside that menu, locate and choose the ‘Command Prompt (Admin)’ option.
- As soon as you do that, then a new window with the name ‘Command Prompt’ will come up.
- Within that window type the following command “chkdsk c: /f” and tap on the ‘Enter’ key.
- To confirm the disk check scheduling press the ‘Y’ key.
- At this moment, the disk check procedure will begin. This process takes very much time to complete, so wait patiently.
- At last, once the check disk process is complete, next, run the game and see if this issue is present or not.
Five: Disable the Reliable Antivirus
If reliable security software present within the computer interferes with the game files inside the Steam application, then you can meet with this glitch. The right answer to rectify this issue is to deactivate the reliable antivirus application.
- First, open a reliable security application.
- Then, go to the settings page and then turn off the real-time scanning option or something similar to that.
- Now, verify the integrity of the game files within the Steam application. To do that, follow the sub-steps below.
- Reboot the computer and then open the ‘Steam’ application.
- Next, go to the library section, then locate and right-click on the problematic game.
- After that, from the popup list, choose the ‘Properties’ option. In the ‘Properties’ page locate and select the local files tab.
- Under that tab, find and tap on the ‘Verify integrity of game files’ button. As soon as you click that button, then the Steam application will verify the game files.
- This verification process takes some time to complete.
- At last, when the checking process is complete, play the game to see if this error comes up or not.
Six: Relocation of game and Steam installation Files
If none of the steps given above are unable to rectify this problem, then the only right solution is to relocate the Steam installation and game files. For that to happen, follow the steps below.
- First, open the Steam application and then click on the ‘Settings’ button.
- As soon as you do that, then a new ‘Settings ‘ page will come up. In it, locate and click on the ‘Downloads’ option.
- Next, within the ‘Downloads’ page choose the ‘Steam Library Folders’ option.
- Now, from the next page tap on the ‘Add Library Folder’ button and then choose the new location for the Steam application.
- Quit from the Steam application. After that, go to the current location of the Steam directory and remove all the files and folders present there, except the following ones – SteamApps“, “UserData”.
- Now, cut the folders that were not deleted and paste them on the new location of the Steam.
- Finally, open the Steam application and log into it once again to see if this problem is still present or not.