How to reset the window position of an application

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?


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


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 ;)


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.


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.


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.