5

Before I continue, let me say that this is not a question about Num Lock turning off after boot. I've already made a fix for that. My issue is that Num Lock refuses to stay on while I'm using my laptop.

Scenario: I log in to my Acer Aspire F5-572-57T8 laptop and am presented with my desktop. Num Lock is on and all is normal. Some time (probably 5-10 minutes, haven't tested to see if it's the same interval each time) after I've stopped using the number pad, however, Num Lock disables itself. I try to type a number, notice that Num Lock is off, and hit the button, restarting the cycle.

Does anyone have any clue what causes this and if there's a way to stop it?

3 Answers3

6

I had the same problem, fixed it by going to the Device Manager > Human Interface Devices > USB Input Device. I had three of those USB entries, for each I double clicked, went to the last tab, and disabled the ability to turn off the device. Then clicked OK. If this doesn't wake up your keyboard, turn on the checkbox again, OK, then skip to the next USB device. For me it was the last one... Confirming instantly turned my keyboard's NUMLOCK back on.

This may be a problem that's specific to Microsoft-branded keyboards, BTW.

1

POSSIBLE SOLUTION

I got this idea and the initial VBS logic from TechNet - Scripting Guy and just made some small VBS logic adjustments and turned it into a dynamically built batch script that runs in a loop. It runs as-needed and can be killed easily and as-need with no installation required assuming you already have Microsoft Office Word on your PC (I'm sure there's a way to put the Office components on your PC without actually needing to have the licensed software installed though).

Just save the below batch script logic to a text file on the desktop, etc. and name it to <something>.cmd, and then simply double-click it for it to run. Watch the Num Lock light on your keyboard toggle on every X seconds as you tell it to run (I set it to 5 in the example script).

Simply minimize the command prompt window when it's running, and simply close that command prompt window with the "X" when you're ready to stop if from running for your PC to no longer turn Num Lock on if it's accidentally turned off.

Dynamic VBS Batch Script Logic

@ECHO OFF
SET TempVBSFile=%tmp%\~tmpSendKeysTemp.vbs
SET PauseSeconds=5

:VBSDynamicBuildLoop
IF EXIST "%TempVBSFile%" DEL /F /Q "%TempVBSFile%"
ECHO Set objWord = CreateObject("Word.Application")              >>"%TempVBSFile%"
ECHO Set WshShell = WScript.CreateObject("WScript.Shell")        >>"%TempVBSFile%"
ECHO Wscript.Sleep %PauseSeconds%000                             >>"%TempVBSFile%"
ECHO.                                                            >>"%TempVBSFile%"
ECHO If objWord.NumLock = 0 Then                                 >>"%TempVBSFile%"
ECHO    WshShell.SendKeys "{NUMLOCK}"                            >>"%TempVBSFile%"
ECHO End If                                                      >>"%TempVBSFile%"
ECHO.                                                            >>"%TempVBSFile%"
ECHO objWord.Quit                                                >>"%TempVBSFile%"

CSCRIPT //nologo "%TempVBSFile%"
GOTO VBSDynamicBuildLoop
0

WORKING SOLUTION (JANUARY 2024)

This "Num Lock randomly turning itself off" thing annoyed me for a couple of months after purchasing an Acer Swift laptop with Windows 11and using it with an external Logitech wireless keyboard.

After trying all the standard solutions such as disabling fast startup, changing registry keys and forcing Num Lock status with powershell commands, I believe I have finally found the definitive solution.

Simply uninstall the "Quick Access" and "Quick Access Service" Acer apps from Windows add/remove programs menu. This worked like a charm for me, no issues for a couple of days already.

I can confirm that disabling/uninstalling Quick Access will fix the problem, but possibly at the expense of some of the FN keys to stop working (airplane mode for example).

If you don’t have “Acer Quick Access”, try to do the same for "Launch Manager".

If you have a different Acer model or laptop vendor, try to uninstall vendor-specific crapware that may have come with bundled OEM software.

Hope it helps you too. (Y)

My laptop: Acer Swift X SFX14-41G with Windows 11 64 bit.

dcp
  • 1