How to Fix “Error Code 0xc0000005” in Starfield on PC?

The Starfield error code 0xc000005 occurs when the system cannot process the game files or settings on your PC. This reflects an access violation where the game process lacks the necessary permissions to access the required resources or is blocked by a background process.

Starfield Error Code 0xc000005
Starfield Error Code 0xc000005

Potential causes include interference from antivirus programs or insufficient user account permissions for the game files. This article will guide you through resolving the issue swiftly; simply follow the steps.

1. Run Starfield as Administrator

To rectify the 0xc000005 error code, start by running Starfield as an administrator. Given the issue’s roots in access violations, administrative privileges can allow the game to utilize necessary resources without restrictions.

This action might also resolve file read and write permission issues for the game process. Execute the following instructions to run Starfield as an administrator:

  1. Open File Explorer and go to the game’s installation directory. On Steam, this can be done by right-clicking on the game and selecting Manage > Browse local files.
    Opening Starfield Installation Directory
    Opening Starfield Installation Directory
  2. Right-click on starfield.exe and choose Properties.
    Opening Starfield Properties
    Opening Starfield Executable Properties
  3. Select the Compatibility tab.
  4. Click the Run this program as an administrator checkbox.
    Running Starfield as Admin
    Running Starfield as Admin
  5. Hit Apply and then OK.
  6. Check if the issue has been resolved.

2. Disable Third-Party Security App

Security programs can sometimes interfere with other Windows processes, leading to the 0xc000005 error code in Starfield when access to necessary files is blocked. Try disabling your antivirus to determine if it resolves the issue.

If the problem disappears after disabling the antivirus, add the game process to the program’s whitelist, preventing further interference. If the issue persists, proceed to the subsequent method.

3. Take Ownership of the Game Folder

Insufficient user account permissions over the game can cause the error upon game launch, as the process inherits your permissions and cannot access its files properly.

To rectify this, take ownership of the game folder on your PC with these steps:

    1. Open File Explorer and navigate to Starfield’s installation folder.
      Opening File Explorer
      Opening File Explorer
    2. Right-click on the folder and choose Properties.
    3. Go to the Security tab and select Advanced.
      Navigating to Advanced Security Settings
      Navigating to Advanced Security Settings
    4. Click the Change link next to Owner.
      Changing Owner of Folder
      Changing Owner of Folder
  • In the Enter the object name to select field, input your user account and click Check Names.
    Searching for User Account
    Searching for User Account
  • Click OK.
  • Tick the Replace owner on subcontainers and objects checkbox.
  • Also select Replace all child object permission entries with inheritable permission entries from this object checkbox.
    Overwriting Permissions for Children Objects
    Overwriting Permissions for Children Entries
  • Click Apply followed by OK.
  • Attempt to run the game and check if the problem persists.

4. Repair Starfield Installation Files

A corrupted or damaged installation may result in the error code when launching the game. In such cases, you’ll need to repair the game’s installation files on your PC.

The process varies by platform, like the Xbox app or Steam, but can be performed using the built-in utilities provided by these clients.

Steam

  1. Launch the Steam client and open Library.
  2. Right-click on Starfield and select Properties.
    Navigating to Starfield Properties
    Navigating to Starfield Properties
  3. Go to the Installed Files tab.
  4. Click Verify integrity of game files.
    Repairing Starfield on Steam
    Repairing Starfield on Steam
  5. Wait for the scan to complete and then check if the issue remains.

Xbox Game Pass

  1. Open File Explorer and go to the game’s installation directory as before.
  2. Delete starfield.exe by right-clicking and selecting Delete.
  3. Launch the Xbox app and find Starfield.
  4. Access the More menu (three dots) and choose Manage.
    Navigating to Additional Game Settings
    Navigating to Additional Game Settings
  5. In the Files tab, click Verify and Repair.
    Repairing Starfield on Xbox App
    Repairing Starfield on the Xbox App

5. Delete Starfield Shaders

Corrupted shader caches in the local AppData directory can cause game crashes on startup, leading to the 0xc000005 error code. Clearing this cache can help address the issue.

Proceed with the following steps:

  1. Press Win key + R to open Run.
  2. Enter %localappdata%\Starfield and press Enter.
    Navigating to Starfield Folder in Local AppData
    Navigating to the Starfield Folder in Local AppData
  3. Delete the Pipeline.cache file found there.
  4. Try launching the game to confirm if the issue has been fixed.

6. Remove DirectX Shader Cache

A corrupted DirectX Shader cache can also cause the game to display the 0xc000005 error code. One solution is to clear the cache using the Disk Cleanup utility.

Here’s how you do it:

  1. Search for Disk Cleanup from the Start Menu and open it.
    Opening Disk Cleanup Tool
    Opening Disk Cleanup Tool
  2. Choose the system drive, typically C:, and click OK.
  3. Select the DirectX Shader Cache and other applicable options if desired, then click OK.
    Selecting DirectX Shader Cache
    Selecting DirectX Shader Cache
  4. Open the game afterward to see if the error code has been resolved.

7. Reinstall Starfield

If none of the above methods rectify the error code, your last resort is to reinstall the game. This is often effective because a fresh install can set up all the game’s dependencies correctly and provide the necessary file permissions.

Steam

  1. Navigate to the games library in the Steam client.
  2. Right-click on Starfield and go for Manage > Uninstall.
    Uninstalling Starfield
    Uninstalling Starfield
  3. Confirm uninstallation on the prompt.
  4. Reinstall the game to see if this resolves the issue.

Xbox App

  1. Open the Xbox app using Start Menu search.
  2. Locate Starfield and open the More menu (three dots).
  3. Select Manage.
    Navigating to Additional Game Settings
    Navigating to Additional Game Settings
  4. Hit Uninstall Game on the General tab.
    Uninstalling Starfield
    Uninstalling Starfield
  5. Reinstall the game afterward.

After following these steps, the error code 0xc000005 should be resolved. This issue typically stems from an access violation, which can be rectified by granting the game appropriate permissions and ensuring that no background applications, like antivirus software, are blocking its execution.

ABOUT THE AUTHOR

Hamza Mohammad Anwar


Hamza Mohammad Anwar is an intermediate JavaScript web developer with a focus on developing high-performance applications using MERN technologies. His skill set includes expertise in ReactJS, MongoDB, Express NodeJS, and other related technologies. Hamza is also a Google IT Certified professional, which highlights his competence in IT support. As an avid problem-solver, he recreates errors on his computer to troubleshoot and find solutions to various technical issues.