Help Xbox Game launch error 0xc0000005

I'm desperate I tried every guide and every command prompt. I purchased my legion go and as my first game I downloaded Sea of ​​thieves. After the update every time I start it shows me the codeI'm desperate I tried every guide and every command prompt. I purchased my legion go and as my first game I downloaded Sea of ​​thieves. After the update every time I start it shows me the code 0xc0000005. I tried installing everything again, antivirus, Scan via prompt. I really don't know what to do, steam works fine. I trust in you! Thank you !!





***Moved from Windows / Windows 11 / Performance and system failures***

|

Hello Alberto Mattivi

Welcome to the Microsoft Community.


The error code 0xc0000005 you're encountering when trying to launch Sea of Thieves on your Xbox Game Pass for PC (or any other application) is generally associated with a Windows Access Violation error. This can be caused by a range of issues including, but not limited to, corrupt files, incompatible drivers, or conflicts with other software. Here are a series of steps you can take to try and resolve this issue:

  1. Search for PowerShell and run it as an administrator.

  2. Enter the following command: get-appxpackage Microsoft.GamingServices | remove-AppxPackage -allusers

  3. After completion, enter the following command again: start ms-windows-store://pdp/?productid=9MWPM2CQNLHN

  4. Press the Windows+R keys, and enter wsreset.

  5. Wait for the app store to open, then click on the library in the bottom left corner and check if the Gaming Services can be installed successfully.

If there is anything not clear or I can't understand your problem, please do not hesitate to let me know.

Best Regards

Patch - MSFT | Microsoft Community Support Specialist

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thank you very much for your kind reply. I was unable to indicate the correct values. I continued with the steps anyway but the error persists and only happens with Xbox games.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I will ask for a return ... Incredible that there is no single solution ...

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I have the same issues and they persist after following your instruction.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hello

If only this one game has a problem, the others are working fine. It may be a problem with this game, I suggest you contact the game developer's technical support.

Here is the support link for "Sea of ​​thieves":

Sea of Thieves - Support - Home

We look forward to hearing back from you.  

Best Regards

Patch - MSFT | Microsoft Community Support Specialist

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi, Lord Bismarck

I noticed that you encountered an issue when running an XBOX game that gives an error 0xc0000005 upon startup.

Have you tried the following two solutions?

Solution 1: Disable Data Execution Prevention (DEP) for the program.

Go to the "Start" menu or use the shortcut [Windows] + [R] to open the "Run" dialog.

Type in "sysdm.cpl" and press [Enter] to open the system settings.

Switch to the "Advanced" tab, then click on the "Settings" button in the "Performance" section.

Go to the "Data Execution Prevention" tab, then select "Turn on DEP for all programs and services except those I select".

Click on "Add" and search for the .exe file of the problematic program.

Save the changes by clicking "Apply" and then "OK".

Solution 2: Disable the AppInit_DLLs mechanism in the Windows registry.

One possible solution to fix the 0xc0000005 error is to disable the AppInit_DLLs function, which allows loading of DLLs (Windows libraries) in any process running in user mode.

When the DLL being used can make more efficient use of memory, that's why the affected program loads faster and takes up less disk space.

However, sometimes the "AppInit_DLLs" entry can lead to problematic access conflicts.

If you have administrator privileges, you can disable this feature in the Windows registry.

Here's how you can do it: Open it by clicking the button with the same name in the "Start" menu or by using the [Windows] + [R] key combination to open the "Run" dialog.

Type "regedit" and then press [Enter]. After opening the registry editor, look for the following entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows Here

You will find the "LoadAppInit_DLLs" entry, double-click it and change the assigned value to "0".

Disclaimer: Modifying the registry or workgroup is usually for advanced users, administrators, and IT professionals. It can help fix some issues, but improper registry modifications can lead to serious problems. To further protect yourself, make sure to backup the registry before making any changes. For more information on how to backup and restore the registry, refer to:https://support.microsoft.com/topic/855140ad-e318-2a13-2829-d428a2ab0692

Looking forward to your issue getting resolved soon.

Lugoo Bei | Microsoft Community Support Specialist

Welcome to Microsoft Answers!

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Solution 2 doesn't work for me, the value is already set as " 0 "

I'm trying to solve with Solution 1 but it says " insufficient authorization to open file" and "ask to owner or admin to get authorization"

I hope it helps, english is not my first language, i translated the best i could

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

hello,

est ce que une des solutions proposées ci-dessus a fonctionné (et laquelle...) ?

Merci

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

i did all things but it still crashed my game is asphalt legend unite

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 13, 2025 Views 2,951 Applies to: