Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When working on Windows Vista, there seems to be an issue when I plug my laptop into another monitor, using both monitors. The issues is after using both monitors, I unplug my laptop from the other monitor while my laptop is on, but the programs still think there is another monitor not returning to only the laptop screen. Is there a way to auto reposition windows for all programs back to one monitor without doing a reboot? Rebooting is sometimes a big hassle when I am working.

share|improve this question
add comment

3 Answers 3

up vote 2 down vote accepted

It is possible to disable the screens of many laptops with an Fn + other key shortcut.

share|improve this answer
    
This is probably the fastest way to do it. –  hyperslug Sep 20 '09 at 17:33
add comment

You can move a window back onto the visible part of the screen using the window menu.

Right-click the window's icon in the Windows taskbar and you should see a menu appear that looks like this:

Window menu

Click the Move entry and then press an arrow key on your keyboard (doesn't actually matter which one) you should see the mouse pointer change from a cross back to the normal pointer. Just move the mouse pointer back from the edge of the screen and eventually your missing window should appear.

share|improve this answer
    
I have tried this in the past with no luck. –  Daniel Sep 22 '09 at 19:12
add comment

There's a command-line tool called ResSwitch that can disable the secondary display, automatically taking all windows back to the primary. You could copy this

resswitch /device:\\.\DISPLAY2 /detach

into a batch file and put it on quicklaunch.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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