Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to retain/restore window sizes when (un)docking laptop

24 Sep 2014   #1

Windows 7 Home Premium 32 bit
How to retain/restore window sizes when (un)docking laptop

I'm not sure if this is possible, but it sure would be useful if so. I haven't been able to find info on it.

I regularly switch my laptop between being docked and undocked. Each has different screen resolutions:
- docked: 1920x1080
- undocked: 1366x768

I like to have all my windows nearly full screen, but not actually in full-screen mode.

When I undock, all the windows shrink to fit the new resolution. No problem. However when I re-dock, they don't expand to their previous size - they stay smaller, and I have to manually re-size each one bigger. (I often have very many windows open, so this is a pain)

Is there any method to have windows re-size larger again? Perhaps either:
- some command line command to resize all windows to a given size, or
- (if possible) have Windows understand two display modes, keep track of each currently-open window's screen size in both modes, and then restore the previous size when changing back to the mode in which the window was opened
- some other solution?


My System SpecsSystem Spec
24 Sep 2014   #2

Win-7-Pro64bit 7-H-Prem-64bit

Hi and welcome to SevenForums,
You might try windows snap with two of the windows or right click your taskbar and click on show windows side by side and see if they scale to the other display ?
Windows snap,
My System SpecsSystem Spec
25 Sep 2014   #3

Windows 7 Home Premium 32 bit


Problems with that are:
- Snap maximize the windows - I don't want them maximized however - I just want them restored to customized sizes and positions, e.g., with some desktop exposed, and with the ability to have say some smaller windows - say I'm doing some input in one window while monitoring something in another window or two.
- That still requires manual action for every window. I'm wondering there's some way I can do say all 12 windows with one actions
My System SpecsSystem Spec

25 Sep 2014   #4

Win-7-Pro64bit 7-H-Prem-64bit

As long as aspect ratio is enabled ?
This isn't the best quality image but just follow the numbers and confirm the settings are enabled :/

My System SpecsSystem Spec
10 Oct 2014   #5

Windows 7 Home Premium 32 bit

Hmm - well I have a different display driver than that. (I'm using Windows Enterprise 7 with some custom stuff) I do have the "Graphics Options" menu item, but it doesn't have the "Output To" menu. However you've given me some stuff to look for in my video control panels (I see an NVIDIA control panel, as well as an nView Properties control panel that have some options). Will play around and see ...
My System SpecsSystem Spec
12 Oct 2014   #6

Something to try

I had a similar problem. If I cascaded a dozen explorer windows, 7 would make them all a size it liked (and I didn't). I couldn't find a good solution either. But assuming you have script privileges, you might adapt my kludge.

Grab a little utility called cmdow.exe. (Sorry, no link. But easy to find.)
I attached my little vbscript (disregard ugly coding). Pay special attention to the /T (visible in taskbar) switch and you can ignore fishing for explorer windows like I was. Also, get rid of the header row in the cmdow output.

Hope it helps

Attached Files
File Type: vbs !-resize ew.vbs (515 Bytes, 8 views)
My System SpecsSystem Spec

 How to retain/restore window sizes when (un)docking laptop

Thread Tools

Similar help and support threads
Thread Forum
HP Laptop BSOD on removal from docking station
(Post has been edited - 8/20/14) Hi guys, Got a user with an HP EliteBook 850 G1 laptop. Sometimes when he goes to remove the laptop from its docking station while still running, it'll BSOD. Quick google search didn't turn up anything specific. His laptop appears to have been...
BSOD Help and Support
BSOD On Laptop With Docking Station.
Getting a random blue screen on an HP Elitebook 8470p. I believe it is caused by the docking station. Thanks for any help Yoseph
BSOD Help and Support
How to store current window sizes and positions (and restore later)?
Assume I have opened a couple of windows for some applications on my Win 7 desktop. Can I somehow store the current window positions and sizes (and restore them later (even after a reboot))? As far as I remember there is a tool which ofers this feature but I don't remember the name. ...
General Discussion
Reset all window positions and sizes to default?
I have a dual monitor setup. After making some changes to the orientation/positioning of the 2 monitors, I've noticed that a lot of windows are now partially or even completely offscreen. This is especially problematic with MDI programs (programs that have sub-windows inside them, like Photoshop's...
General Discussion
two different ip schemes, two docking stations, ONE laptop
Hi everyone, I just purchase one laptop for a user that has two offices in different locations. The two locations are on the same domain but have a different ip scheme, example; location A 192.168.40.xx and location B 192.168.50.xx, our network admin has set the network to be static, my problem...
Network & Sharing
Resetting original window sizes and positions?
I'm guessing when you run a program for the first time it figures out what resolution you are using and centers and sizes it accordingly. My window sizes and positions are a mess and I was wondering if there is a way to reset the windows so the next time I open the program they look as if I opened...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:14.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App