It is not often that you need to move a window using the keyboard only in the Windows operating system. Windows is designed to be used with a mouse besides the keyboard, and now touch. Every Windows user at least has a touchpad or mouse these days. However, if the keyboard is what you prefer to use, then here is how you can move a window using the keyboard! Moving a window using the keyboard can be useful if your window is partially or fully out of the screen or if some buttons that you need to click are under the Taskbar which usually appears always on top covering them.
Advertisеment
To move a window using keyboard only in Windows 10 and all earlier Windows versions, do the following:
- Switch to the desired window using Alt + Tab.
Tip: See how to tweak Alt+Tab to enlarge thumbnails and disable live aero peek preview. Also see two secrets of Alt + Tab dialog in Windows 10 you might not be aware of. - Press Alt + Space shortcut keys together on the keyboard to open the window menu.
- Now, press M. The mouse cursor will move to the title bar of the window and turn into a cross with arrows:
- Use the left, right, up and down arrow keys to move your window. When you have moved the window to the desired position, press Enter.
You are done.
Modern operating systems like Windows 10, Windows 8 or Windows 7 allow you to perform few extra actions with windows. They allow you to control the size and positioning of open windows better by dragging them to the edge of the screen. If you drag a window using its title bar to the top edge of the screen, it will be maximized. With the mouse pointer touching the left or right edges of the screen when dragging a window, it will be snapped to the left or right side of the screen respectively. This feature is called Snap.
If you grab the title bar of a window with the mouse and drag and shake it, all other background windows will be minimized. This is called Aero Shake. Both actions have their own hotkeys:
Win + Home: Same as Aero Shake (minimizes all windows except the foreground window)
Win + Left arrow key: Snaps an app window to the left.
Win + Right arrow key: Snaps an app window to the right.
Win + Up arrow key: Maximizes a window.
Win + Shift + Up arrow key: Maximizes/resizes a window vertically.
Win + Down arrow key: Minimizes a window if it's not maximized, otherwise it restores the window to its original non-maximized sized.
Aero Snap in Windows 10, Windows 8 and Windows 7 can also be customized. While the operating system does not allow you to control individual options, you can use my freeware Winaero Tweaker to enable or disable snapping, drag to maximize and vertical resizing options:
Bonus tip: You can also resize a window to a specific size or move it to specific position using the free app, Sizer.
Also, using the free AquaSnap, you can get Windows 10 Snap features in Windows 7 and XP.That's it.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
Advertisеment
I want to add that you can hold down Ctrl when using arrow keys to move window more precise.
Hey thanks Ivan, I didn’t know this. Great tip.
Could you add how to send a window to another virtual desktop (Windows 10), and/or that this is not possible with keyboard shortcuts?
win+cltr+ right arrow to go virtual desktop and left arrow to back
Thank you!!! :)
Fantastic – thank you!
My computer, a Dell PC with Windows 10, powers up just fine, but I cannot use it because the Aps page sizes are so big that I cannot access and use Restore to restore back to normal page size. I am not at my computer now, obviously, so I just copied your Aero Shake and Snap info to take home with me to see what I can do with it. If your info saves my butt, you can be sure that you will get a donation from me.
Great post. However, you missed a step. If the window you selected is maximized, you cannot move it unless you do a restore first.
Alt-Space then R. Then, you can Alt-Space and M