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.
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).
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.