Windows - Automatic alignment of the mouse cursor

October 2016


To save time in Windows, when installing software for example, it is possible to ensure that the mouse is automatically positioned on the button selected by default.


On Windows 2000 and Windows XP, you can activate the option via the Control Panel by clicking the Mouse icon. To activate this option, you have to go to the Pointer Options tab, then tick the box in the Alignment section. The change takes effect immediately.
  • For other systems it is possible to change this option via the registry (Start / Run / regedit) in positioning itself on
    HKEY_CURRENT_USER\Control Panel\Mouse 
  • It is sufficient to create (or modify) the value of the SnapToDefaultButton string and assign the value 1 (or 0 if you want to disable this option). The amendment will be considered at the next system restart.

Related :

This document entitled « Windows - Automatic alignment of the mouse cursor » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.