Skip to content

Instantly share code, notes, and snippets.

@empjustine
Last active January 2, 2024 21:01
Show Gist options
  • Save empjustine/db329e1f840331cdfb4925add23dd7c1 to your computer and use it in GitHub Desktop.
Save empjustine/db329e1f840331cdfb4925add23dd7c1 to your computer and use it in GitHub Desktop.
GamingServices not working? Let's try to fix this:

Minimum requirements:

Make sure you meet all minimum requirements: https://ngs.pso2.com/support/system

Most important of said system requirements: Windows 10 Version 18362.0 and higher (64-bit)

CPU must support AVX type instructions, meaning:

  • Intel i3/i5/i7 2nd generation or newer CPU
  • AMD, any cpu less that 10 years old.

Disk file system where the game is installed must be NTFS.

Make sure Windows is updated, pending Windows Updates can prevent Microsoft Store from installing/removing packages.

If you are inside the "Windows Insider Programme", GameGuard will block you from playing the game.

Making Gaming Services Work:

Inside Device Manager, enable View > Show hidden devices. Try to find xvd disk "disk drives" and xvdd scsi miniport "storage controllers", and Uninstall Device them.

In Windows PowerShell, Run as Administrator:

wsreset
takeown /a /r /f "$($env:USERPROFILE)\Documents\SEGA"
icacls "$($env:USERPROFILE)\Documents\SEGA" /reset /t /c
Get-AppxPackage -Name "Microsoft.GamingServices" | Remove-AppxPackage -PreserveApplicationData:$false -Verbose
Get-AppxPackage -Name "Microsoft.GamingServices" | Remove-AppxPackage -AllUsers -Verbose
Remove-Item -Path "HKCU:\SOFTWARE\Classes\Local Settings\MrtCache\*Microsoft.GamingServices*" -Recurse -Verbose
Remove-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\GamingServices" -Recurse -Verbose
Remove-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\GamingServicesNet" -Recurse -Verbose

Restart your computer

Install the app "Gaming Services" using this link: https://www.microsoft.com/en-us/p/gaming-services/9mwpm2cqnlhn

Install the app "Xbox Identity Provider" using this link: https://www.microsoft.com/en-us/p/xbox-identity-provider/9wzdncrd1hkw

Restart your computer again.

Then try to run the script again.

@FaisalOfAstora
Copy link

Bro i got fucked big time

I removed these two files from the Registry Editor and that made Gaming Services not installable

Can you suggest a way to add them back to the registry?

@empjustine
Copy link
Author

I removed these two files from the Registry Editor and that made Gaming Services not installable

GamingServices recreates those keys on the next Windows restart if it is running correctly. But it doesn't modify them if they're invalid - this manifests as dangling invalid GamingServices or GamingServicesNet services as being "undeletable" and "unstoppable".

I think you got the order inverted; if you're here, I hope it's because "Gaming Services" wasn't working in the first place.

As for what causes being unable to reinstall GamingServices, it can be several things:

  • dangling invalid "virtual xbox disks" (XVD disks);
  • dangling invalid "virtual xbox disk controllers" (XVD disk controllers);
  • Corrupted Microsoft Store; (wsreset)
  • Windows updates that are available but not yet downloaded to your computer;
  • Windows updates waiting for a restart to apply to your computer;
  • Microsoft Store updates that aren't applied to your computer.

The service registry entries don't prevent it from installing; however if they're corrupted they prevent GamingServices from actually working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment