NumLock v2.00 - Command-Line Num Lock Key Control
Toggle the Num Lock key on or off from the command line for startup automation and scripting
Control the Num Lock Key from the Command Line
Tired of your Num Lock key being off when you start your computer? NumLock is a lightweight, no-frills command-line tool that allows you to easily toggle the Num Lock key on or off with a simple command. There is no user interface -- just run the program and it will instantly perform the task.
Add NumLock to your Windows Startup folder, login scripts, or batch files to ensure the Num Lock key is always in the state you want. It is the simplest way to automate Num Lock control across workstations, servers, and remote desktop environments.
Who Is This For?
Key Features
Fully Portable -- Zero Installation
Command Line Options
NumLock.exe on|off
Startup automation: Press Win+R, type shell:startup and press Enter. Create a shortcut to NumLock.exe in this folder with your desired parameter (e.g., target: C:\Path\To\NumLock.exe on).
See DEMO.BAT included in the download for a complete demo of all features.
Windows Compatibility
Win 11
Win 10
Win 8
Win 7
Version History
Rewrote the entire application.
Added support for Windows 7 and all newer Windows operating systems.
Dropped support for all Windows versions before 2007.
Updated the close and exit of the application so it would not leave traces behind.
Added a demo.bat file for demonstrating features and usage.
Initial version.
Download NumLock
You Might Also Like
Turn your CAPS LOCK key on or off from the command line. Lightweight, no UI, perfect for automation and startup scripts.
Learn MoreToggle the Scroll Lock key on or off with one click. Command-line utility for keyboards without a dedicated Scroll Lock key.
Learn MoreSupport NumLock Development
NumLock is completely free. If this tool has saved you time, consider making a donation to help fund continued development and new features.
Support and Information
Find answers to common questions about NumLock.
View FAQFound a bug or have a question? We are here to help.
Contact UsTo uninstall, simply delete the program folder. No registry entries or system files are left behind.
Download the latest version and extract over your existing folder, or to a new location. Settings are preserved.

Download v2.00