I followed this advice: How to disable auto-maximize/resize window (aero-snap) when near screen edge?

But it also turns off the feature where pressing WinKey + Left/Right Arrow, fit the windows to half of the screen on the direction of the arrow key.

Is there a way to control them independently?

  • I've been searching for the same solution and I believe it can't be done natively. How hard is it for Microsoft to let users customize these settings easily?
    – user
    Jun 29, 2013 at 6:23
  • 1
    Exactly too many trivial things are not possible. Why? Because MS has no idea about usability. Their latest xbox one shows it the best. And they expect people to pay absurd amounts for their software.
    – Joan Venge
    Jun 29, 2013 at 11:25

5 Answers 5


Though there may not be a way to do this through a GUI there is a way to accomplish it programmatically.

The function you want is SystemParametersInfo. You can read about it on MSDN if you want it's full capability (it's can access an absurd number of settings) but you'll be interested in SPI_SETDOCKMOVING and SPI_SETSNAPSIZING.

SPI_SETDOCKMOVING toggles the ability to snap windows by dragging them by their title bars. You can turn it off like this:


SPI_SETSNAPSIZING toggles the ability to snap windows by sizing them using their top and bottom borders. You can turn it off like this:


To turn either back on just make the same call with a non-zero number for the second argument. To make the changes not persist after a reboot remove the SPIF_UPDATEINIFILE flag from the last argument.

To ensure you keep your keyboard shortcuts do not to turn AeroSnap off in the Control Panel or registry.

The diligent may notice that the arguments supplied here are not what you might expect them to be from the documentation. Specifically the pvParam and uiParams are switched. This is the only way I have found to make this function work on my machine (running Windows 8.1) so I suspect an error in the docs.


The following registry edit achieves exactly what was asked:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]

(You can save this as a .reg file and run it. Restart or relogon required.)

Effectively, these are the two settings that would be set, executing the code in @gitbox's answer.

Works in Windows 7 - 10.

  • I tried this on Windows 10 and it doesn't seem to be working.
    – pgr
    May 14 at 15:01

I have looked for this in the past, and I do not believe there is a way to do this in Windows itself. However, there is a third-party alternative. First, disable the aero snap as per the link in your question. Then, using WindowsPad (a special AutoHotkey script setup) you can restore moving windows between screens in a multi-monitor setup, use left/right snapping, and more (top, bottom, middle and corner snapping). By default, WindowsPad uses Win + NumPad keys (because of the added functionality) but you can add in aero-snap-like arrow key functionality by adding the following to the [Hotkeys] section of the WindowsPad.ini file:

#+Left = WindowScreenMove, Next
#+Right = WindowScreenMove, Prev
#Left = WPM, -1,  0,  0.5, 1.0
#Right = WPM, +1,  0,  0.5, 1.0
#Up = MaximizeToggle
#Down = Restore

Unfortunately, you do lose the ability to snap to 50% of the screen and then restore to the original position (since it is actually resizing the window, not using aero snap). But so far, that is the only downside I have found.

Demo of WindowsPad's corner- and bottom-snap features:

WindowsPad Demo


You can try my windows tool collection. The following are hot keys to move windows:

Win+Array: Move the active window based on other visible windows. This allows for fast window alignment.
Shift+Win+Array: Move the left-up corner of the active window.
Alt+Win+Array: Move the right-bottom corner of the active window.
Ctrl+Win+Array: Dock the active window
Alt+F9: Minimize the active window
Alt+F10: Toggle maximize the active window

Jun 2015

Since Google code is being decommissioned, I moved the code to github. The wiki page has some help information: rwin wiki

  • What is meant by "array" here? I never heard of a key called Array...
    – pgr
    May 14 at 14:47
  • 1
    @pgr: I just realized these typos. I meant arrow keys
    – Codism
    May 16 at 2:03

You can do this in the registry.

  1. Open regedit.exe
  2. Navigate to HKEY_CURRENT_USER \Control Panel\Desktop
  3. Select the field WindowArrangementActive by double clicking it
  4. Set the value to 0
  5. Restart (logoff and back on may work)

Found from here http://www.technorms.com/33660/how-to-disable-the-windows-snap-feature

  • This disables the keyboard shortcuts
    – Duke Nukem
    Jul 27, 2019 at 16:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .