Skip to content

How-ToOS

How to Use PowerToys Mouse Button Lock and CursorHide on Windows 11

PowerToys 0.102 added Mouse Button Lock, which holds a mouse button down for long drags, and CursorHide (Auto Hide Cursor), which hides the pointer while you type or when idle. Following Microsoft's documentation, here's how to turn both on and set them up.

By , Systems & Technical Editor

3 min read

How to Use PowerToys Mouse Button Lock and CursorHide on Windows 11

Microsoft's free PowerToys suite added two new mouse utilities in version 0.102: Mouse Button Lock, which keeps a mouse button held down for you during long drags, and CursorHide, which hides the pointer while you type or when the mouse is idle. Microsoft's documentation now lists CursorHide as Auto Hide Cursor, so you may see either name. This guide follows Microsoft's PowerToys release notes and its Microsoft Learn documentation. Menu names can change between PowerToys versions.

Step 1: Install or update PowerToys

Both utilities arrived in PowerToys 0.102, first released on 21 October 2026. The latest stable build at the time of writing is v0.102.3101, a hotfix released on 6 November 2026 that improves File Explorer thumbnail generation, fixes Mouse Without Borders pairing failures and restores optional diagnostic event reporting. If PowerToys is new to you, see how to use Microsoft PowerToys for installation.

Step 2: Turn on Mouse Button Lock

Mouse Button Lock is off by default. Open PowerToys Settings, go to the mouse utilities page and switch on Mouse Button Lock. Then choose which buttons can be locked:

  • Right mouse button is selected by default.

  • Left (primary) button isn't selected by default, because Windows already has its own ClickLock feature for the left button. Microsoft says you can use ClickLock instead from Control Panel > Mouse > Buttons > Turn on ClickLock.

  • Middle mouse button isn't selected by default.

Two further settings control how it behaves:

  • Hold duration (ms): how long you hold a button before it locks, from 200 to 2200 milliseconds (default 1200ms).

  • Drag threshold (pixels): if you move the mouse further than this while holding the button, the lock is cancelled and it's treated as a normal drag, from 0 to 100 pixels (default 5px).

Step 3: Lock and release a button

To lock a button, press and hold it without moving the mouse for the hold duration, then let go. The button stays held down, so you can move the mouse to drag or select. Press any mouse button to release the lock. Microsoft notes that when you release a locked right button by pressing the right button again, Mouse Button Lock dismisses the context menu that would otherwise pop up.

Microsoft's release notes pitch the feature at long drags and selections in professional apps, gaming, and accessibility for people who find it hard to hold a button down for long. There are limits, though: Microsoft says it might not work in games that use raw or exclusive mouse input, and it doesn't work over on-screen keyboards or over windows of apps running as administrator. To use it over admin apps, run PowerToys as administrator.

Step 4: Turn on CursorHide (Auto Hide Cursor)

Auto Hide Cursor is also off by default. Switch it on in the mouse utilities settings, then pick when the pointer should disappear:

  • Hide after keyboard input hides the cursor when you type, and is selected by default. Modifier keys such as Ctrl or Shift, and software-generated keyboard input, don't hide it.

  • Hide after pointer inactivity hides the cursor once it hasn't moved for the Idle delay, which you can set from 1 to 60 seconds (default 5 seconds). This option isn't selected by default.

If you clear both options, the cursor isn't hidden at all. The pointer comes back when you intentionally move the mouse, press a mouse button or use the scroll wheel; small movements below a threshold are ignored so minor pointer noise doesn't bring it back, and movement from touchpads that generate simulated mouse input also restores it.

Things to know

While the cursor is hidden, Auto Hide Cursor temporarily replaces the system cursor shapes, and your cursor scheme is restored when you turn it off or exit PowerToys. Microsoft also notes that apps which draw their own custom or software-rendered cursor might keep showing it.

For more of the suite's tools, see the best PowerToys utilities and how to use PowerToys FancyZones.

The bottom line

Update to PowerToys 0.102 or later, then switch on Mouse Button Lock and Auto Hide Cursor (CursorHide) in the mouse utilities settings; both are off by default. Mouse Button Lock works on the right button out of the box, with a 1200ms hold to lock, while Windows' own ClickLock remains the option for the left button. Auto Hide Cursor hides the pointer as you type by default and can also hide it after 1 to 60 seconds of inactivity. Just don't expect Mouse Button Lock to work in games that use raw mouse input or over admin windows unless PowerToys runs as administrator.

Sources

  1. 01Microsoft, PowerToys v0.102.2933.0 release notes on GitHub
  2. 02Microsoft, PowerToys v0.102.3101 release notes on GitHub
  3. 03Microsoft Learn, Mouse utilities in PowerToys for Windows

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

FanControl V287 Update Improves Startup and Background Service Handling

News

FanControl V287 Update Improves Startup and Background Service Handling

FanControl V287 is out on GitHub. The small Windows fan software update improves startup and the handover between the app and its background service, makes IPC sensors report unavailable values, lets time average sensors absorb nulls and adds hidden card counts.

Eleanor Shaw2 min