Solved kbdclass.sys BSODs

  • Hi there and welcome to PC Help Forum (PCHF), a more effective way to get the Tech Support you need!
    We have Experts in all areas of Tech, including Malware Removal, Crash Fixing and BSOD's , Microsoft Windows, Computer DIY and PC Hardware, Networking, Gaming, Tablets and iPads, General and Specific Software Support and so much more.

    Why not Click Here To Sign Up and start enjoying great FREE Tech Support.

    This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  • Hello everyone We want to personally apologize to everyone for the downtime that we've experienced. We are working to get everything back up as quickly as possible. Due to the issues we've had, your password will need to be reset. Please click the button that says "Forgot Your Password" and change it. We are working to have things back to normal. Emails are broken but should be fixed soon. Thank you all for your patience. Thanks, PCHF Management
Status
Not open for further replies.

Urfe

PCHF Member
May 4, 2024
5
1
22
Hey there, I'm creating this post over here, because I'm unable to create one in the BSOD-proper section.
1714857711288.png


I have recently bought a new laptop - GIGABYTE G7 KF (RTX4060, 16GB RAM, I5 12500H) - x64 system
And since the time of purchase I have been encountering BSOD's - DRIVER_IRQL_NOT_LESS_OR_EQUAL relating to the kbdclass.sys driver.
As far, the BSODs are occuring roughly once a day/once two days, while playing games (both less and more demanding titles).
So far, I have resulted myself to:
Reinstalling all Keyboard/related drivers
Reinstalling motherboard drivers
Reinstalling USB/HID drivers
Removed Hotkey/Keybind software
Tried to disable referring to kbdclass.sys via register edit. (DETAILS BELOW)
As according, to one of the online posts i've found regarding the same issue, it was apparently that HKKbdFltr tried sending data that kbdclass.sys could not process, resulting in BSOD.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e96b-e325-11ce-bfc1-08002be10318} - in the "upper filters" config file, i've removed the HKKbdFltr line from it.
------------------------------------------
I'm also attaching .speccy file in the archive.
(SysnativeFile uploaded on google drive, because it was too big).
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Download then run Speccy ( free ) and post the resultant url for us, details here, this will provide us with information about your computer hardware + any software that you have installed that may explain the present issue/s.

To publish a Speccy profile to the Web:

In Speccy, click File, and then click Publish Snapshot.

In the Publish Snapshot dialog box, click Yes to enable Speccy to proceed.

Speccy publishes the profile and displays a second Publish Snapshot. You can open the URL in your default browser, copy it to the clipboard, or close the dialog box.
 
Last edited:
Your crash dmps flag hot key drivers as being the cause and after looking at Speccy we can see that the notebook has not been set up correctly from day one, as to why is explained below but can I first of all mention a couple of other things.

If fast boot is enabled, disable it.

Power Profiles
Active power scheme: Balanced
Hibernation: Enabled
Turn Off Monitor after: (On AC Power): 1 min
Turn Off Monitor after: (On Battery Power): 1 min
Turn Off Hard Disk after: (On AC Power): 20 min
Turn Off Hard Disk after: (On Battery Power): 10 min

Suspend after: (On AC Power): Never
Suspend after: (On Battery Power): Never
Screen saver: Disabled

Change your Windows Power Plan to High Performance when gaming or watching videos, your dedicated GPU will not get the power that it needs to be able to function properly if you don`t, you must also power the notebook using the AC adaptor and mains power for the same reason.

If only while troubleshooting change all those in red to Never, no point in trying to fix things only for one of those settings tripping the system up.

Disable the problematic Hibernation setting, it not only causes stability issues but also uses up a chunk of resources such as the RAM.

To disable Hibernation:

1. The first step is to run the command prompt as administrator. In Windows 10, you can do this by right clicking on the start menu and clicking "Command Prompt
2. Type in "powercfg.exe /h off" without the quotes and press enter. If you typed it in correctly, the cursor will simply start at a new line asking for new input
3. Now just exit out of command prompt

Now your explanation;

Once Windows has been clean installed you must then install first the MBs chipset drivers then the storage/SATA drivers and third the graphics drivers, the drivers can either come from a disk provided by the motherboard manufacturer ** or downloaded from their site and saved to a flash drive etc, this is a must and Windows should not be allowed to check for updates before it has been done as more often than not Windows installs the wrong drivers or in the incorrect order and this can cause all sorts of problems.

The reason why this procedure is so important, the chipset is what enables the MB to be able to communicate with all the hardware + are the first drivers that Windows looks for on boot.

** For OEM computers/notebooks such as Acer, Dell, HP and Lenovo etc you must only download drivers from their support page, OEMs may sometimes redirect users to a third party site such as AMD or Nvidea to obtain the latest drivers for their GPUs, this tends to be for high end gaming notebooks and desktops though.
 
Okay, I have followed your instructions regarding power profiles, disabled hypernation. [Fast boot has been disabled already] - Thanks for the advice.

First thing - regarding the hot keys, I was guessing it'd be one of the possible issues. I'm pretty confident that the culprit is pre-installed software CLEVOCO CONTROL CENTER (as it provides hotkey editing). I'd love to get rid of this software, but unfortunately, it's the only one that is able to manage my fan speed in the laptop, so i'm kind of stuck. (Tried argus monitor and fan control, did not work) - i'm open for any ideas, in that case.

But, about the hotkeys, is there any particular imput/prompt that causes the BSOD? As far as I noticed, the bluescreen always appeared whenever I was holding buttons, but I haven't seen any pattern of it, initially thought it might be while holding a shift, but most recent one proved me wrong on it.

As far I've checked the internet, the similar GIGABYTE models had this issue with keyboard drivers BSODs and in most cases ditching the control centre was the working solution. Also - updating the control center itself from GIGABYTE website (as I had slightly outdated at the time) did not help at all.
At this point, it's a no-brainer to just uninstall it, unless there might be a workaround?
 
Apologies for the delay, will get back to you after work today.

Edit to add: Uninstall the problematic Gigabyte program then download MSI Afterburner which works with most if not all other brands of hardware, of particular interest for you will be Step 3: Creating Your Custom GPU Fan Curve Using MSI Afterburner in the tutorial here
 
  • Like
Reactions: Urfe
I think I've got a good news.
Remember when I mentioned the pre-installed software - CLEVO CONTROL CENTER?
For a started I uninstalled it and reinstalled again, turns out, it has installed two control centers, while both functional and almost identical, one is much more feature-stripped and outdated than the other one.
Initially I thought that is an extension of the default program, but no, the bottom one runs independently and without any problems after uninstalling the old
one. Also from now on, it actually displays the CPU clock rate properly (it used to show -1 clock rate), meaning that those two programs were most likely overriding one with the other.
I have uninstalled it yesterday and as of now, everything looks good.

If any BSODs will occur, i'll ditch the other program too.

I use MSI Afterburner on the daily basis (For the OSD), unfortunely fan management option is locked out from me and does not work even via config file. (screen below). The GPU built-in fans do work without software nonetheless.
Side note: The software is only responsible only for exhaust fans, which after uninstalling the program are dead silent.

1715106118940.png

1715109225973.png
 
  • Like
Reactions: phillpower2
Looks promising, good work on your behalf and thank you for sharing the information for the benefit of others (y)
 
Thank You, took me two months of work to get to it, but in the end managed to finally find a solution. Which wow, cannot believe it was THAT simple.
I appreciate all the help provided and time spent on helping me out.
I hope that all the issues that people come with here are as easy to fix as this one, now I can finally sleep easy knowing, that everything is alright.

The thread can be considered solved = )
 
Status
Not open for further replies.