Windows Utility

Mouse Jiggler

Mouse Jiggler is a lightweight Windows PowerShell utility that automatically repositions the mouse pointer every five seconds. It continues running until you press the Esc key.

Platform
Windows
Script Type
PowerShell
Move Interval
5 Seconds
Exit Key
Esc

Behavior

How the pointer moves

The current script creates a list of coordinate values from 1 through 100. Every five seconds it randomly chooses one value for X and one value for Y, then assigns those coordinates directly to the Windows mouse cursor.

Random coordinates

The next position is generated independently for both axes using random values from 1 to 100.

Top-left screen area

Because those values are absolute screen coordinates rather than offsets from the current pointer position, the cursor repeatedly moves somewhere inside approximately the top-left 100 × 100-pixel area of the primary coordinate space.

Five-second interval

The script tracks the time of the previous move and only changes the cursor position after at least five seconds have elapsed.

Low-overhead polling

The main loop sleeps for 100 milliseconds between checks so it does not continuously spin at full CPU usage while waiting for the next move or Esc press.

Mouse Jiggler does not make a tiny relative “jiggle” near the pointer's current location. The current code assigns a new absolute X/Y position between 1 and 100 every five seconds, so the pointer will jump toward the upper-left area of the screen.

Exit Control

Press Esc to stop

The script imports the Windows GetAsyncKeyState function from user32.dll and checks the Escape key during each loop iteration. When Esc is detected as pressed, the loop ends and the PowerShell process can close.

How To Run

Launching Mouse Jiggler

  1. Download and extract Mouse Jiggler.zip.
  2. Run Run Me.bat.
  3. The launcher starts PowerShell with -ExecutionPolicy Bypass and requests administrator elevation through UAC.
  4. The PowerShell window displays Press the Esc key to close.
  5. Every five seconds, the mouse pointer is moved to another random position generated by the script.
  6. Press Esc when you want the loop to stop.
The included Read Me notes that Windows 11 may show a “Windows protected your PC” SmartScreen message because the script was downloaded. Review the files before choosing “More info” and “Run anyway.”

Transparency

What the script does and does not do

Uses Windows cursor APIs

The script loads System.Windows.Forms and changes Cursor.Position to move the pointer.

Monitors only the Esc key

The native key-state helper is used specifically to test virtual key 0x1B, which is the Escape key.

No network access

The current PowerShell script contains no web request, upload, download, or network-communication code.

No persistent installation

The script does not create a service, scheduled task, startup entry, registry autorun, or background installation. It runs only while its PowerShell process is active.

FAQ

Frequently asked questions

How often does the mouse move?

Every five seconds while the script is running.

How do I stop it?

Press the Esc key.

Does it move only a few pixels?

No. The current script assigns a new absolute X/Y coordinate using random values from 1 through 100.

Does it click the mouse?

No. The current script changes cursor position only; it does not send mouse-click events.

Does it send keyboard input?

No. It reads the Esc key state so it knows when to exit, but it does not generate keyboard input.

Does it keep running after PowerShell closes?

No. There is no persistence mechanism in the current script.

← Back to Downloads