Question keyboard gets virtually stuck

Mar 3, 2025
2
0
10
Problem:
The problem is my keyboard gets virtually stuck but not physically and the problem is not the keyboard because i tried my old steelseries keyboard and nothing changed
when im playing a game ctrl shift and alt buttons gets stucked and i cant even click anywhere and even if i unplug the keyboard and plug it again the problem still persists sometimes it does it and i wait almost a minute by doing nothing and it fixes itself but sometimes i wait 5 to 10 minutes and nothing happens so im restarting my pc getting into a game and it does it again and also no its not happening only when im playing games its also happening when im doing other things watching something or working etc i searched google but could not find any solutions
Note: its not sticky keys.
system info:
im using KernelOS Win 11Pro 64bit
Nvidia Geforce GTX 3060 GPU
AMD Ryzen 5 5600X 6Core 3.7GHz CPU
Tuf Gaming B550M-E Motherboard
Dierya DK60SE Keyboard
Ajazz Aj159 Apex Mouse
 
when im playing a game ctrl shift and alt buttons gets stucked
Does the system hang when you press them individually? Two at a time? Or all three at once?

If all three at once, then it is command of: Copy a reference (a relative path) of a symbol to the Clipboard.
When you are in the game and do that copy to clipboard command, depending on whatever the system fetches (could be the data of entire game), system would hang until it copies everything to the clipboard (RAM).

Rebind one, two or three of those keys to different keys, to avoid hangs. Also, it would be another troubleshooting step, to see if the system hangs because you pressed 3 inputs within the game, or is it because you pressed these specific keys.
E.g when crouch is via Alt, rebind it to X and look if issue remains.
 
Does the system hang when you press them individually? Two at a time? Or all three at once?

If all three at once, then it is command of: Copy a reference (a relative path) of a symbol to the Clipboard.
When you are in the game and do that copy to clipboard command, depending on whatever the system fetches (could be the data of entire game), system would hang until it copies everything to the clipboard (RAM).

Rebind one, two or three of those keys to different keys, to avoid hangs. Also, it would be another troubleshooting step, to see if the system hangs because you pressed 3 inputs within the game, or is it because you pressed these specific keys.
E.g when crouch is via Alt, rebind it to X and look if issue remains.
thank you for your answer but its not something like that even if do not press any keys suddenly it happens and i cant click
 
even if do not press any keys suddenly it happens and i cant click
For system to froze when you don't do any inputs is actually quite rare.

Memory leak is one such rare instance, where program (game or any other software), is consuming more and more RAM, far exceeding what the program actually needs. But due to the bug in the software, program constantly uses more and more RAM, without freeing any. And that, until all free RAM is taken up. Then, it takes everything in pagefile.sys and once that too runs out of space, either the software crashes or entire system freezes.

I had this memory leak happen with earlier version of Astroneer (PC game), where when i was in the main menu and didn't do anything (i was AFK), after ~5min idle, game developed memory leak issue. Usually using ~2GB of RAM, but then started to gobble up all the free RAM my system had. All 16GB + another 16GB from pagefile.sys, until all the free space ran out and game crashed to the desktop. This memory leak was fixed with game update.

When Win is left to idle (e.g viewing desktop), sure, the Win will eventually crash on it's own as well (usually ends up with BSoD), but that takes days of constant uptime.

As of what your issue is, difficult to tell. I have a suspicion of OS (kernel) corruption.

Things to try;
1. Open Start.

2. Search for Command Prompt (or cmd.exe), right-click the top/correct result, and select the Run as administrator option.

3. Type the following command to perform system repair and press Enter:
SFC /scannow

4. If the scan found corrupt files and repaired them, run the same command again, just in case:
(if no errors were found, skip to step #5)
SFC /scannow

5. Once no errors are found with SFC /scannow, type the following command to perform a quick check and press Enter:
DISM /Online /Cleanup-Image /CheckHealth

6. Once this is done and when corruption is detected, type in another command for in-depth scan and press Enter:
DISM /Online /Cleanup-Image /ScanHealth

7. Once this is done and there are issues with system image, type in another command for fixing it and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth

8. Once the system image repair is complete, type in another command and press Enter:
SFC /scannow

9. After last once completes, final command with Enter press would be:
exit

This closes the terminal window.

Note: SFC /scannow, DISM /ScanHealth and DISM /RestoreHealth may take a long time to complete. Do not close the terminal window or do not reboot the system, when each of theses scans/fixes are taking place, even when they seemingly get stuck.