0x0000042b Error on Windows 11: How to Fix it

Your GPU drivers could use a clean install for a seamless login

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • Error code 0x0000042b can be fixed by restarting related services or clearing the build-up Xbox cache.
  • This error is a sign of hardware failure, so check out early signs for any failing components on your PC.
  • Stay with us as we explore the causes behind this issue and how to fix it.

Xbox login errors like the 0x0000042b can stall any attempts to play games on your PC. Without an entry gateway, enjoying all that the Xbox app has to offer can be a thing of the past.

Still, this isn’t the end. With a little bit of tweaking, you should regain access to your account in no time.

What is 0x0000042b Error on Windows 11?

This is a login error when attempting to access your Xbox app or Xbox GamePass account. Some users can get past the login page, but after playing for a short while, the screen throws the 0x0000042b error.

It is typically triggered by bad drivers or hardware conflicts, but a corrupt DLL file or a virus infection can also be behind it.

How do I fix the 0x0000042b error on Windows 11?

A few checks to look out for before moving onto the somewhat technical steps include:

  1. Hit the Windows + R keys to open the Run command.
  2. Type services.msc in the dialog box and hit Enter.run services.msc command
  3. Locate Gaming Services, right-click on it, and select Properties.
  4. Under the Startup section, click on the drop-down menu and select Automatic.
  5. Hit Apply, then OK to save the changes.
  6. Repeat the same steps for IP Helper, Xbox Live Auth Manager, Xbox Live Game Save, and Xbox Live Networking Service.

2. Clear Xbox cache

  1. Press the Xbox button on your console.
  2. Select Settings.
  3. Click on Device & connections on the left.
  4. Select Blu-ray.
  5. Select Persistent Storage.
  6. Choose Clear persistent storage.

3. Re-register the DLL file

  1. Press the Windows key, type cmd, and click Run as administrator.DOS COmmand Prompt -amdppm.sys
  2. Type the following command to register the DLL file again and hit Enter:regsvr32 NvLddmkm.DLL
  3. Restart the computer and launch the Xbox app to ensure the issue is resolved. 

NvLddmkm is the associated DLL file for your NVIDIA driver, re-registering it will help fix any issues with missing or corrupt DLL files.

4. Run DISM and SFC scans

  1. Hit the Start Menu icon, type cmd in the search bar, and click Run as administrator.cmd-run-admin-w11 unexpected kernel mode trap windows 11
  2. Type the following commands and press Enter after each one:DISM.exe /Online /Cleanup-Image /Restorehealth sfc /scannow

5. Scan for viruses

  1. Press the Windows key, search Windows Security, and click Open.
  2. Select Virus & threat protection.
  3. Next, press Quick scan under Current threats.
  4. If you don’t find any threats, proceed to perform a full scan by clicking on Scan options just below Quick scan.Scan options
  5. Click on Full scan, then Scan now to perform a deep scan of your PC.Full Scan Scan Now
  6. Wait for the process to finish and restart your system.

6. Clean install the NVIDIA driver

  1. Before you download and install the NVIDIA drivers, ensure you close all unnecessary background processes, disable an overzealous antivirus/firewall, and disable any overclocking software.
  2. Navigate to your browser and download the corresponding NVIDIA driver for your OS.
  3. Locate the installation file, right-click on it, and select Run as administrator.
  4. Click Yes if the UAC prompt pops up and leave the default storage path as suggested.
  5. Agree to the terms and conditions.
  6. In the next window, select Custom (Advanced) install, then hit Next.
  7. Check the Perform a clean installation box then hit Next.
  8. Wait for the installation to finish, then restart your PC.

The reason behind a clean installation instead of a regular update of drivers is to ensure all previous entries are removed and replaced with newer compatible ones.

Note icon NOTE
Note that this step only applies if you have an NVIDIA GPU.

7. Reset the Xbox app

  1. Press the Windows key and click on Settings.
  2. Select Apps from the left side and click on Apps & features from the right.
  3. Type Xbox in the search box, hit Enter, click on the three-dot icon, and select Advanced options.
  4. Scroll down and under the Reset section and click on Reset.
  5. Windows 11 will reset the app.

8. Reinstall the Gaming Services app

  1. Click on the Start menu, type Windows PowerShell in the box and select Run as administrator.
  2. Select Yes when the User Account Control (UAC) prompt appears.
  3. Key in the following command in the console and press Enter to uninstall the Gaming Services app: get-appxpackage Microsoft.GamingServices | remove-AppxPackage -allusers
  4. Now, run the following command to open the Gaming Services app page in Microsoft Store: start ms-windows-store://pdp/?productid=9MWPM2CQNLHN
  5. Finally, click on the Get button to download the Gaming Services app once more.

Hopefully, you were able to fix the 0x0000042b error that your were facing on Xbox. If none of them were successful, your hardware might be failing. You’ll need to run a hardware disgnostic test to pinpoint the problematic component.

Unfortunately, Xbox sign-in errors happen in different variations such as error code 0x80a30204 but luckily, the fixes aren’t too hard.

You can tell us which solution worked for you by commenting below. In addition, if you tried any other unmentioned fix, we would like to hear your stories and see if you can help others fix their 0x0000042b login error.

More about the topics: xbox, Xbox error codes