Source: winaero.com
Simply boot to the login screen or the Lock screen and do the following:
The next time Windows boots, NumLock will be automatically enabled. If this trick does not work for you for some reason, try the Registry tweak below. It should work in all modern Windows versions including Windows 10 and Windows 8.x.
HKEY_USERS\.DEFAULT\Control Panel\Keyboard
Tip: You can access any desired Registry key with one click.
If you do not have this Registry key, then just create it.
Bonus tip:Using the InitialKeyboardIndicators parameter, it is possible to control other keys besides NumLock. See the table for its possible values for Windows 7:
InitialKeyboardIndicators value | Purpose |
0 | Turn all indicators off (NumLock, CapsLock, ScrollLock) |
1 | Turn CapsLock on |
2 | Turn NumLock on |
3 | Turn CapsLock and NumLock on |
4 | Turn ScrollLock on |
5 | Turn CapsLock and ScrollLock on |
6 | Turn NumLock and ScrollLock on |
7 | Turn all indicators on (NumLock, CapsLock, ScrollLock) |
For Windows 8 and above you should try to use values like 80000000,80000001,80000002, i.e. add 80000000 to Windows 7 value.