Control Your Scroll Lock Key Instantly
ScrollLock is a lightweight command-line utility that toggles the Scroll Lock key on or off. There is no user interface -- just execute the program and it performs the task instantly. It is ideal for keyboards that lack a dedicated Scroll Lock key, which includes many modern laptops and compact keyboards.
Add ScrollLock to your Windows Startup folder to ensure the Scroll Lock key is always in the state you want when you log in. You can also use command-line options to explicitly set the key on or off, making it easy to integrate into login scripts, batch files, or Group Policy startup sequences.
Some programs change behavior when Scroll Lock is active. In Microsoft Excel, for example, the arrow keys scroll the entire sheet instead of moving between cells when Scroll Lock is on. ScrollLock gives you direct control over this key state without hunting for a physical key on your keyboard -- or when your keyboard simply does not have one.
Who Is This For?
- Excel power users -- Control Scroll Lock behavior for spreadsheet navigation without searching for a physical key.
- IT administrators -- Enforce Scroll Lock state via login scripts, Group Policy, or scheduled tasks across workstations.
- Laptop users -- Toggle Scroll Lock on keyboards that do not have a dedicated Scroll Lock key.
- Anyone who needs programmatic control -- Set or toggle the Scroll Lock state from scripts, batch files, or automated workflows.
Key Features
No User Interface
Runs invisibly in the background, toggles the Scroll Lock key, and exits automatically. No windows, no prompts, no distractions.
Command Line Control
Pass "on" or "off" on the command line to explicitly set the Scroll Lock state to your desired value.
Startup Friendly
Add ScrollLock to your Windows Startup folder to ensure the Scroll Lock key is always in the correct state when you log in.
Self-Closing
Completes the toggle operation and exits immediately. No process left running, no memory consumed, no cleanup needed.
Fully Portable
Single executable with no installation, no registry modifications, and no dependencies. Copy it to a USB drive and run it anywhere.
Command Line Options
scrolllock.exe [on|off]
Running without arguments toggles the current Scroll Lock state. Pass "on" to turn Scroll Lock on, or "off" to turn it off.
- scrolllock.exe on -- Turn Scroll Lock on.
- scrolllock.exe off -- Turn Scroll Lock off.
- scrolllock.exe -- Toggle the current Scroll Lock state.
Windows Compatibility
Win 11
Win 10
Win 8
Win 7
Vista
XP
Win 2k
NT
ME
98
95
Download ScrollLock
Support ScrollLock Development
ScrollLock is completely free. If this tool has saved you time, consider making a donation to help fund continued development and new features.