14

Applications that store and restore their absolute window-position, might end up outside the visible screen if the monitor's screen-space changes. This happens for instance when de/attaching an external monitor.

In Windows 7 you can press WIN + LEFT or WIN + RIGHT etc. to reposition the application when focused.

What is the easiest way to do this in Windows XP, Windows 2000?

  • In Windows 7 the keys you mention, I see what you mean, they move the window between far left, a restored position, and far right. In Windows XP or Windows 7, you can click the top left, then a menu appears, click Move. And drag the window. Or you can click the title bar and drag the window from there. But you seem to want a shortcut.. dunno off hand. – barlop Nov 16 '13 at 17:18
  • @barlop I am asking for the case where the window's position isn't within the visible screenspace, either due to a bug or due to the change of absolute positions (e.g. switching the primary monitor, switching to a smaller resolution). Additionally, some applications override the default right click menu. – Lorenz Lo Sauer Nov 16 '13 at 23:37
  • never tried this but wanna try this? commandline.co.uk/cmdow "Cmdow is a Win32 commandline utility for NT4/2000/XP/2003 that allows windows to be listed, moved, resized, renamed, hidden/unhidden, disabled/enabled, minimized, maximized, restored, activated/inactivated, closed, killed and more." – barlop Nov 17 '13 at 0:53
  • the following is far from what you want,but, - tile or cascade windows (right click taskbar..then choose that) though that would do all windows.. but would at least get it on screen in restored form(ie not maximized or minimized). – barlop Nov 17 '13 at 0:57
  • @barlop Oh, yes - of course! Please make that an answer. I never use that window-functions, and seem to be oblivious when I need them. – Lorenz Lo Sauer Nov 17 '13 at 7:20
9

One way is you can right click the taskbar in XP and choose cascade or tile, though it will do it for all windows.

enter image description here

Another method is one could activate the window then do alt-space to bring up the window's menu, then 'M'(which stands for 'move') , and use the arrow keys to move the window more within view

  • 1
    note that in windows 7, if you shift right click an icon you can tile or cascade just "those" windows, but xp doesn't offer that as far as I can tell(and after 10 years of use!), but you can in XP for all windows, which will at least get your stray one within viewable boundaries on screen. – barlop Nov 17 '13 at 13:01
  • Sadly in Windows 10, at least in multi-monitor desktop configurations, a window can be located entirely off the desktop in such a way that cascading won't put it in reach. This sometimes happens with Google Hangouts, for one example. – cdaddr Dec 21 '16 at 4:56
  • 1
    @cdaddr could activate the window then do alt-space to bring up the window's menu, them 'M' then ENTER, and use the arrow keys to move the window more within view – barlop Dec 21 '16 at 11:41
  • yes, or shift-right-click the item on the task bar and choose Move. I don't know about the other way, but if you do it this way the window also gets attached to the mouse pointer and you can mouse it around after you've at least hit an arrow key. – cdaddr Dec 22 '16 at 5:11
  • @cdaddr yeah, seems no enter is needed after the M.. and as soon as you do alt-space, M, then the mouse cursor moves to the title bar, same as the mouse cursor move that happens with the taskbar method you mention. – barlop Dec 22 '16 at 15:16
21

When the window has focus, try ALT+SPACE to open the context menu. There you should see the options which usually include move/minimize/maximize. It should pop up in the visible space even though the window title bar cannot be seen ;)

  • 1
    Underrated answer. There are times when SHIFT+R-CLICK doesn't work on taskbar (for example, Brave browser), but this one always readily available for anybody. +1! – Gergely Lukacsy Sep 6 '17 at 21:08
  • 1
    @GergelyLukacsy This is already mentioned in comments by me on my answer on Dec 21 2016 and as I said there, you can do ALT-SPACE then (even if you can't see the menu), you can do M, then move the window. I have now mentioned it in my answer. Another solution involves nircmd – barlop Mar 16 '18 at 22:23
  • This method worked great while Windows Key + Arrows did not. – Simon Hayter Mar 20 '18 at 19:36
4

I've recently answered a question regarding window configurations and ultimately resorted to using the Registry. Although I don't know of any ability like that on XP, standard Move and Dimensioning (right click on the program on the taskbar) seem to not work as expected.

After doing a little digging, try the following:

  1. Right click on the program's "icon" on the taskbar.
  2. Select Move
  3. Use the keyboard arrows to move the window to the position you want.

This should work. The following was something I wrote before that might help you if you want to lock the values.


This isn't a one-size fits-all solution, because programs don't follow any naming convention regarding window placement. I'm basing my answer on this but like I said and researched, different programs use different keys to store the same information.


(The following is quoted from the first link but as blockquotes make this ugly I retained original formatting)

For Notepad, this is how you should proceed. In the registry, go to the following folder:

HKEY_CURRENT_USER\Software\Microsoft\Notepad

then modify the following values

iWindowPosX  
iWindowPosY  
iWindowPosDX  
iWindowPosDY  

X and Y are the coordinates of the window's top left corner. DX and DY are the width and height of the window.


You can conceivably alter the values of your program and afterwards create a backup of the registry keys you changed. That way you would have an automatic way to change the position of your program's window, although you would have to run it whenever you wanted to restore. Or you could see my linked answer and lock those values.

3

I find the most effective way if the task is showing on the Task bar you Shift+Right click the task and if the "Move" option is greyed out, choose Restore, then Shift+Right Click again and select "Move", then simply tap one of the Arrow keys. This will lock the window to the mouse until you click again. So you can now move the mouse around and wherever the window was it will come to the mouse pointer.

Hope this helps.

2

In task bar right click and click on Lock Task bar. It is just a temp setting. you can revert it back after it is done. It will move all windows outside the screen to inside. Then you can move the windows whichever way you want.

  • 1
    So basically, I unlock and lock the taskbar, and in doing so all window positions will be reset to the current screen space? That would be a great tip. – Lorenz Lo Sauer Nov 16 '13 at 23:33
-1

Double click the "show desktop" button either in the taskbar next to the start button (Windows until XP) or on the right side of the taskbar (since Windows 7) to "pull" all windows to the current desktop.

  • Super User is an English-only site, and all the questions and answers must be in English. – DavidPostill Mar 3 '17 at 23:14
-1

In windows 10

  1. Close the application
  2. Get to know about your application installation path details. (where it is stored under program files, this will help you knowing the structure inside regedit)
  3. Open regedit in administrator mode
  4. Goto Computer\HKEY_CURRENT_USER\Software\Your_software_installation_structure\ You will see keys for position. like LastXPosition, LastYPosition.
  5. Delete both

Now open your application , it will open like as initial opening.

Example : Switching from office to home workplace on VPN with RSA, every time I change my monitor alignment , the RSA software can not be seen (does have maximize option). So i need to delete this to see this RSA in my pc.

regedit: Computer\HKEY_CURRENT_USER\Software\RSA\Software Token\Desktop

enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.