To fix the error code 31 on your Bluetooth adapter, you can follow these steps:

  1. Update the Device Driver: Go to Device Manager, right-click on the "Generic Bluetooth Adapter", and select "Update Driver". Choose the option to search automatically for updated driver software.
  2. Reinstall the Device Driver: If updating the driver does not work, you can uninstall the device. Right-click on the "Generic Bluetooth Adapter" and select "Uninstall device". After uninstalling, restart your computer, and Windows should attempt to reinstall the driver automatically.
  3. Use the Generic Bluetooth Driver: If you're unsure which driver to use, you can select the generic driver for testing. In the Update Driver Software Wizard, select Bluetooth Radios and then choose Generic Adapter as the manufacturer and Generic Bluetooth Adapter as the model. This can help in cases where the specific driver is causing issues.
  4. Check for Windows Updates: Ensure that your Windows is up to date, as updates may include fixes for driver issues.
  5. Registry Fix: If the problem persists, you may need to add a registry key to ensure successful driver initialization. This is applicable for Windows 10 version 1903 and later. You can add the RetryDeviceInitialize registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Calais\Readers with a DWORD value of 1. Restart your computer afterward.

If none of these steps resolve the issue, you may need to check for hardware problems or consider seeking further assistance.


References:

  • Code 31 in Device Manager when Microsoft Usbccid Smartcard Reader is in a problem state
  • Code 31 - CM_PROB_FAILED_ADD
Answer from AI answer on learn.microsoft.com
🌐
Lifewire
lifewire.com › how-to-fix-code-31-errors-2623184
How to Fix Code 31 Errors in Windows
August 2, 2024 - The UpperFilters/LowerFilters tutorial linked above will show you exactly what you need to do. Some people have had luck deleting the entire key that holds the UpperFilters and LowerFilters values.
🌐
Reddit
reddit.com › r/pcmasterrace › asus q-codes jumping between 30, 31, 32 after normal boot
r/pcmasterrace on Reddit: Asus Q-codes jumping between 30, 31, 32 after normal boot
March 30, 2023 -

Asus Strix z790-E, 13700K, 2x16 Trident Z 6800, 3060TI, Win 11, dual monitors

Just got this put together last week, everything appears normal, XMPI profile enabled and seems to be running at 6800.

But after boot to windows, everything normal and seems to be running as expected, the q-code keeps jumping back and forth from 30, 31, and 32. Does this right after boot, without going to sleep. Been watching it for 5+ minutes after normal boot, still doing it.

Is this normal? I thought once the computer was booted up, the q-code should should be stable at A0 or something.

Discussions

How to fix code 31?
Hello, I'm not sure what I did to cause this but this is how it all started. A couple weeks ago I noticed the brightness wasn't working on my HP Laptop 14-q0054nr. I watch a YouTube video tutorial and un-installed some driver following a long with the… More on learn.microsoft.com
🌐 learn.microsoft.com
1
0
How to fix error code 31 on bluetooth adapter?
I've been having issues with bluetooth and when I check device manager I notice something called "Generic Bluetooth Adapter". I dont know what it is and it also has the Error Code 31 "This device is not working properly because Windows… More on learn.microsoft.com
🌐 learn.microsoft.com
1
1
Q Code 31 and 98
Good morning everyone! I have an issue with a new build, I just upgraded my mobo and cpu to z790 Hero and 13900k, for some reason I keep getting either code 31-34 or 98, I've tried unplugging everything and plugging things one by one and I can't seem to figure out what devices it could be, any su... More on linustechtips.com
🌐 linustechtips.com
13
October 14, 2023
Has anyone a real idea how to fix Code31 in device manager?
Open Device Manager and confirm the Realtek Bluetooth device loads with no yellow icon. Bluetooth should now be working and Code 31 should be gone. A quick note about the Logitech K360: That keyboard uses a 2.4 GHz Unifying USB receiver, not the Realtek Bluetooth radio, so its crash after the ... More on learn.microsoft.com
🌐 learn.microsoft.com
2
0
November 17, 2025
🌐
WePC
wepc.com › home › tips & tricks
Motherboard error codes explained - For Gigabyte, ASUS, and MSI motherboards
February 5, 2024 - Motherboard error codes explained, here we run through some of the most common motherboard error codes and how to fix them.
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 3871932 › how-to-fix-code-31
How to fix code 31? - Microsoft Q&A
A couple weeks ago I noticed the brightness wasn't working on my HP Laptop 14-q0054nr. I watch a YouTube video tutorial and un-installed some driver following a long with the person in the video but I wasn't able to reinstall it for some reason I bc it disappeared. I'm not sure which one but then I gave up and forgot about it for a couple weeks. Then a few days ago I noticed memory integrity was off, which is what led me to learn about the code 31 issue so I went to the AMD website and downloaded some tool that helps you figure out what drivers you need and it downloaded a new graphics driver I think- the AMD Radeon (TM) Graphics.
🌐
Solvusoft
solvusoft.com › en › errors › device-manager-errors › microsoft-corporation › windows-operating-system › code-31
How To Fix Code 31 (Error 31)
November 16, 2025 - In most cases, Code 31 file problems are due to the 31-related file missing or being corrupted by malware or virus. The primary way to resolve these problems manually is to replace the Windows 10 file with a fresh copy.
Top answer
1 of 1
1

To fix the error code 31 on your Bluetooth adapter, you can follow these steps:

  1. Update the Device Driver: Go to Device Manager, right-click on the "Generic Bluetooth Adapter", and select "Update Driver". Choose the option to search automatically for updated driver software.
  2. Reinstall the Device Driver: If updating the driver does not work, you can uninstall the device. Right-click on the "Generic Bluetooth Adapter" and select "Uninstall device". After uninstalling, restart your computer, and Windows should attempt to reinstall the driver automatically.
  3. Use the Generic Bluetooth Driver: If you're unsure which driver to use, you can select the generic driver for testing. In the Update Driver Software Wizard, select Bluetooth Radios and then choose Generic Adapter as the manufacturer and Generic Bluetooth Adapter as the model. This can help in cases where the specific driver is causing issues.
  4. Check for Windows Updates: Ensure that your Windows is up to date, as updates may include fixes for driver issues.
  5. Registry Fix: If the problem persists, you may need to add a registry key to ensure successful driver initialization. This is applicable for Windows 10 version 1903 and later. You can add the RetryDeviceInitialize registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Calais\Readers with a DWORD value of 1. Restart your computer afterward.

If none of these steps resolve the issue, you may need to check for hardware problems or consider seeking further assistance.


References:

  • Code 31 in Device Manager when Microsoft Usbccid Smartcard Reader is in a problem state
  • Code 31 - CM_PROB_FAILED_ADD
🌐
Linus Tech Tips
linustechtips.com › the workbench › troubleshooting
Q Code 31 and 98 - Troubleshooting - Linus Tech Tips
October 14, 2023 - I just built a PC with the same mobo and cpu as you, and I’m having the exact same problem and codes. It seems to be the ram. I’m using 4 sticks of 16gb Corsair Dominator 6200mhz. the PC won’t boot with all 4 sticks in. I get hung up on code 31. I dropped it down to 2 sticks on the 2 slots furthest from CPU and everything runs fine.
🌐
YouTube
youtube.com › watch
Asus Q code 32-36 and how to fix it for free... - YouTube
My 7 year old pc got some crud in the ram slot and Gave an Error, so detective touchy hands went in to investigate.
Published   June 10, 2021
Find elsewhere
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 5626129 › has-anyone-a-real-idea-how-to-fix-code31-in-device
Has anyone a real idea how to fix Code31 in device manager? - Microsoft Q&A
November 17, 2025 - Open Device Manager and confirm the Realtek Bluetooth device loads with no yellow icon. Bluetooth should now be working and Code 31 should be gone. A quick note about the Logitech K360: That keyboard uses a 2.4 GHz Unifying USB receiver, not ...
🌐
Tom's Hardware Forum
forums.tomshardware.com › home › motherboards
Question - Post stuck at 31 when booting | Tom's Hardware Forum
July 22, 2023 - So as I have now upgraded my CPU I wanted to give my wife the 1800x Update: a friend has advise to try update the bios so I've popped the old CPU in (3200g) so I can get to the bios. It has successfully updated. It now gets past the 31 code and stops at code 55.
🌐
Asus
rog-forum.asus.com › t5 › zenith-extreme-x399-e › oled-display-in-motherboard-quot-code-31-check-cpu-quot › td-p › 744770
Oled Display in Motherboard: "Code 31 Check CPU" - Republic of Gamers Forum - 744770
March 6, 2024 - But now the same error code is back, but this time no system freezes. What does the code mean? Should I be worried and stop trying to overclock? Please do let me know. Thanks in advance Raaj ... Delete "AI Suite 3" find the cleaner tool somewhere in the software forums The AI Suite doesn't work.
Top answer
1 of 3
4

Good Day Macrg01,

My name is Carlo, I'm an Independent Advisor and community member like you.

I am also using Windows 10 pc. Let us work together to sort this out.

First, what is the exact model of your device for me to check the updated display driver from your manufacturers website.

For the meantime here's the steps you can try.

-Click Start, type CMD and run it as administrator

-Copy and paste the command below and hit enter.

Sfc /scannow

Wait until the pc finishes scanning and repairing any corrupted system files then proceed with the next command

DISM /Online /Cleanup-Image /RestoreHealth

Use an old display driver.

-Press Windows key + X

-Go to Device Manager

-Expand the Display Adapters

-Look for Display driver that was installed

-Right click and Update

-Look for "Browse my computer for driver

-Let me pick drivers available drivers

-Choose an old driver and use it.

-Restart and check

If issue persist, we will download and install the display driver from your manufacturers website.

I hope the information above helps. Please let me know how it goes.

Have a wonderful day ahead and stay safe.

With Warm Regards,

Carlo T.

2 of 3
2

Hi Macrg01, Welcome to Microsoft Community :)

It's my pleasure to help you today.

I’m sorry you’ve had to deal with this.

I know how frustrating this may be for you.

Restart your computer if you haven't done so already. The Code 31 error could source from a temporary memory glitch.

Did you install a device or make a change in Device Manager just before the Code 31 error appeared?

If so, it's possible that the change you made caused the Code 31 error.

Undo the change if you can, restart your PC, and then check again for the Code 31 error.

Roll back the driver to a version prior to your updates.

Use System Restore to undo recent Device Manager related changes.

Delete the UpperFilters and LowerFilters registry values. A common cause of Code 31 errors is the corruption of two registry values in the DVD/CD-ROM Drive Class registry key.

Deleting similar values in the Windows Registry could also be the solution to a Code 31 error that appears on a device other than a DVD or CD drive. The UpperFilters/LowerFilters tutorial linked above will show you exactly what you need to do.

Some people have had luck deleting the entire key that holds the UpperFilters and LowerFilters values. If deleting the specific values doesn't fix the Code 31 error, try backing up the key you identify in that tutorial above, and then delete the key, reboot, import the key from the backup, and reboot again.

Update the drivers for the device. Installing the latest manufacturer supplied drivers for a device with the Code 31 error is a likely fix for this problem.

Reinstall the Microsoft ISATAP network adapter if the Code 31 error is related to the MS ISATAP adapter not working properly.

Open Device Manager and access the Action > Add legacy hardware screen. Start the wizard and select Install the hardware that I manually select from a list (Advanced). Click through the steps and choose Network adapters > Microsoft > Microsoft ISATAP Adapter from the list.

Replace the hardware. As a last resort, you might need to replace the hardware that has the Code 31 error.

It's also possible that the device is not compatible with this version of Windows. Check the Windows HCL to be sure.

If you're convinced that hardware isn't the cause of this particular Code 31 error, you could try a repair install of Windows. If that doesn't work, try a clean install of Windows. We don't recommend doing either of those before you try replacing the hardware, but you may have to give them a shot if you're out of other options.

Source: https://www.lifewire.com/how-to-fix-code-31-err....

I hope it helps :)

Sincerely,

Juliet

Independent Advisor

Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information.

Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products).

Thoroughly research any product advertised on the sites before you decide to download and install it

🌐
ASUS
asus.com › support › faq › 1043948
[Motherboard] Common Q-CODE(Error CODE) and Troubleshooting | Official Support | ASUS Global
Through the common Q-CODE, identify common installation problems and component problems of the motherboard.
🌐
MMO-Champion
mmo-champion.com › forum › off-topic forums › computer
RAM Issue & Error Code 31 Issue
February 14, 2015 - Update: RAM Issue has been fixed. Now all that is left is to fix the code 31 Error. Hello Everyone, For the RAM issue I have it has been bothering me for quite a while now. What is happening with the RAM issue is my computer is using up a lot of ram when it is just sitting there idle for most of the day.
🌐
Reddit
reddit.com › r/buildapc › how to fix a code 31 error?
r/buildapc on Reddit: How to fix a Code 31 error?
July 21, 2025 -

So, on FB marketplace, someone is selling a 7900 xtx for $400. However, it is for parts, he says the fans spin max speed but he gets no output from it. I think I can lowball it for $300 maybe. Anyways, he also says there is a code 31 error, and that indicates it is something with the drivers/driver installation. I just want to know if I should buy this GPU, and whether it is fixable or not.

🌐
Asus
rog-forum.asus.com › t5 › intel-700-600-series › problems-with-4-sticks-of-ram-ddr-5-128gb-bsod-or-qcode-31-loop › td-p › 954652 › page › 2
Problems with 4 sticks of RAM DDR 5 (128GB) BSOD or QCode 31 loop
September 3, 2023 - When i started the pc after installing the new sticks i got stuck for a while in QCode 31, which eventually would move on to another but it would loop back to it and never boot. After a few tries i got it to enter windows with a BSOD or apps closing automatically. I tried lowering the frequency to 4400 MHZ but most of the time i still can't boot due to the QCode 31 loop. Any ideas on what's causing this and how to fix it?
🌐
Reddit
reddit.com › r/windowshelp › how do i solve the error code 31 in device manager?
r/WindowsHelp on Reddit: How do I solve the error code 31 in Device Manager?
January 9, 2025 -

Because of the error, the fingerprint scanner doesn't work, and also I can't connect my phone to my laptop via USB cable.

I tried reinstalling the drivers, but it didn't solve the problem.

OS - Windows 10 Home Single Language (Version -22H2) Ram - 8GB Processor - Intel i5 1035G1 OS Build - 19045.5247

Top answer
1 of 2
1
Hi u/Some_Guy998877 , thanks for posting to r/WindowsHelp ! Don't worry, your post has not been removed. To let us help you better, try to include as much of the following information as possible! Posts with insufficient details might be removed at the moderator's discretion. Model of your computer - For example: "HP Spectre X360 14-EA0023DX" Your Windows and device specifications - You can find them by going to go to Settings > "System" > "About" What troubleshooting steps you have performed - Even sharing little things you tried (like rebooting) can help us find a better solution! Any error messages you have encountered - Those long error codes are not gibberish to us! Any screenshots or logs of the issue - You can upload screenshots other useful information in your post or comment, and use Pastebin for text (such as logs). You can learn how to take screenshots here . All posts must be help/support related. If everything is working without issue, then this probably is not the subreddit for you, so you should also post on a discussion focused subreddit like r/Windows . Lastly, if someone does help and resolves your issue, please don't delete your post! Someone in the future with the same issue may stumble upon this thread, and same solution may help! Good luck! As a reminder, this is a help subreddit, all comments must be a sincere attempt to help the OP or otherwise positively contribute. This is not a subreddit for jokes and satirical advice. These comments may be removed and can result in a ban. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2 of 2
1
I think you have wrong drivers installed. Check your laptop drivers in their respective website. Also regarding MTP drivers for phone, that should have been picked up automatically I don't understand why it's throwing error 31.
🌐
Appuals
appuals.com › home › microsoft windows › windows troubleshooting
What is (Code 31) in Device Manager and How to Fix it?
April 14, 2024 - Right-click the driver showing the error code and click on the “Properties” option. ... Go to the Details tab on the properties page. Select “Hardware ids” under “Property” and copy the last value in the Value Box below.
🌐
Reddit
reddit.com › r/asus › x870e apex – post code 31, cpu q-led stays on, no display – tried 2 cpus, flashback, multiple ram kits
r/ASUS on Reddit: X870E Apex – POST Code 31, CPU Q-LED stays on, no display – tried 2 CPUs, Flashback, multiple RAM kits
June 22, 2025 -

I'm trying to get my brand new ASUS ROG Crosshair X870E Apex to POST, and I’m stuck at POST code 31 with CPU Q-LED solid on. There’s no display output at any point.

My Setup:

  • Motherboard: ASUS ROG Crosshair X870E Apex

  • CPU: Ryzen 9 9950X3D (also tested 9800X3D)

  • RAM: Tried multiple DDR5 kits

  • GPU: 4090 Discrete GPU installed

  • PSU: Corsair AX1600i 1600W, known good

  • Cooling: Custom loop

What I’ve Tried:

  • Cleared CMOS multiple times

  • Updated BIOS via Flashback (successfully completed)

  • Tested two CPUs (9950X3D and 9800X3D)

  • Multiple RAM kits, both slots and one stick at a time, all known-good

  • Stripped system down to only CPU, one stick of RAM, PSU, and GPU

  • Checked socket pins carefully – looks clean

  • Tried Retry, Safe Boot, LN2 Mode, and Slow Mode – no change

  • BIOS Flashback LED blinks and completes as expected

  • Q-LED behavior: DRAM LED is on during memory training, then goes off; CPU LED comes on and stays on

  • POST code always gets to 31 and then stops

At this point, I’m thinking it’s a bad board, but hoping someone here might have a fix or see something I missed before I RMA.

🌐
TechBloat
techbloat.com › home › how to fix code 31 windows 11
How to fix code 31 Windows 11 - TechBloat
March 3, 2025 - Recover, Repair and Restore. Fix PC, Laptop and Desktop. Video Link to instructions and Free support VIA Amazon. ... Great Support Fast Responce. ... Outdated Drivers: A common cause of Code 31 errors is outdated or incompatible drivers that may not work well with Windows 11.