Every time I launch Notepad++ on my Windows 10 laptop, NumLock is Switched OFF.
I have used the Computer\HKEY_USERS.DEFAULT\Control Panel\Keyboard\InitialKeyboardIndicators=2 registry hack to switch Numlock ON when the machine boots, and it will stay on only until the point where I start Notepad++.
This is driving me up the walls!
Is there a way to prevent the NumLock from getting set to OFF when launching Notepad++?
There is probably a better solution, but until you find it you could script turning Num Lock back on after Notepad++ starts up with the Pythonscript plugin.
Put the following code in startup.py and make sure Pythonscript's "Initialisation" option is set to ATSTARTUP (under the Configuration menu option for the Pythonscript plugin). Note that Pythonscript is only 32-bit right now, so it will only work with 32-bit Notepad++.