Fix Error Failed to load xgameruntime.dll Error Code 126 When Launching Games
How To Fix Error Failed to load xgameruntime.dll Error Code 126 When Launching Any Games on Windows 11/10 PC
Step 2) Repair and reset Gaming Services
Step 3) Open Microsoft Store and click on get Updates
Step 4) Uninstall and reinstall gaming Services
Uninstall gaming service
get-appxpackage Microsoft.GamingServices | remove-AppxPackage -allusers
Install Gaming service
start ms-windows-store://pdp/?productid=9MWPM2CQNLHN
Step 5) Make changes in the registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GamingServices
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GamingServicesNet
Restart Your PC- It is a must
Now uninstall remains of gaming services using the command below:
get-appxpackage Microsoft.GamingServices | remove-AppxPackage -allusers
Now Install gaming services the from the command provided below:
start ms-windows-store://pdp/?productid=9MWPM2CQNLHN
Install Xbox App