AlwaysNumLock is a lightweight AutoHotkey v2 utility designed to force your keyboard's NumLock key to remain active at all times. Returning from sleep mode or accidental keystrokes can often disable NumLock, disrupting workflows. This script ensures a persistent hardware state to prevent such interruptions.
- Force State: Locks the hardware state using the
SetNumLockState "AlwaysOn"parameter. - Auto-Admin Elevation: Automatically requests Administrator privileges to guarantee system-level execution.
- Sleep Recovery: Maintains functionality and state persistence even after the system wakes from sleep or hibernation.
- Resource Efficient: Operates silently in the background with near-zero CPU and memory consumption.
- Verify that AutoHotkey v2.0+ is installed on your operating system.
- Download the script file from this repository.
- Execute the file to initialize the background process.
Note: To automate execution upon system boot, press
Win + R, typeshell:startupand paste the script file there. Ensure it has Administrator privileges to function correctly.
- Download/Source link - https://github.com/mogdho/AlwaysNumLock/