Windows restore window position

DesktopOK — Save and restore the positions of the Windows Desktop Icons!

Save and restore the positions of the Windows Desktop Icons and many helpful Windows Desktop-Tools for private, office and commercial usage.

DesktopOK is a small but effective solution for user that have to change the screen resolution often. It is also good for windows users who often have to work with a projector on the notebook eg laptop or tablet-pc on all MS Windows! so the name is Desktop O.K. and not only Icon Save, the program has also other helpful functions for daily works on all windows os!

Key Features in DesktopOK

Other specifications and possibilities
◆ Low system resource usage
◆ Launch at Windows startup.
◆ Portable Windows app.
◆ Each user can then have his own arrangement.
◆ Run in to tray area for easy access.
◆ Change Language
◆ Multilingual

Why save the desktop icons

Especially for users who often have to change the screen resolution, such as webmasters or gamers. Or also for potential users who often have to work with a projector on a notebook. (Here too, the resolution on the notebook is happy to change).

After this change, an icon chaos can be found on the desktop as if a bomb had struck. Likewise, when working with docking devices, desktop bars and windows, the icon position shifts and is not correctly restored if this was not anticipated by the respective program!

The advantage of DesktopOK is the size of the program, less than 300 K, also that no installation is required and the 32 bit version has no disadvantages compared to the 64 bit version, so it has an EXE for all MS Windows OS. Simply place it on the desktop and get started. The program also has many other tools!

Due to the integrated additional desktop tools, it is almost indispensable on every Windows PC, so the name is also desktop OK and not just Icon Save. I would like to expand it with other useful functions, so it lives up to the name, you can find these in the Tools menu, most of them are self-explanatory!

DesktopOK is a random product from FavoritenFreund, but has long been one of the most popular programs in Germany.

The Installation of DesktopOK

The Freeware DesktopOK does not have to be installed and can be executed easily from the desktop, and can be carried on a small usb-stick or other memory device. Start the program. The first time that you use it the program it will present you with a license screen. The program is free and the license info is only displayed the first time (per PC).

For portable use, please create or copy in DesktopOK working directory the DesktopOK.ini.

Supported Operating systems

Save and Restore Desktop Icons is suitable for: Windows 10, Windows 10 Pro, Windows 10 Enterprise, Windows 10 Home, Windows 8.1, Windows 8.1 Enterprise and Pro, Windows 8, Windows 8 Enterprise and Pro, Windows 7, Windows 7 Enterprise, Windows 7 Home Basic, Windows 7 Home Premium + Professional, Windows 7 Starter + Ultimate, , X64, x86 and x32 all Windows, MS Windows Server 2019, 2016,2012, .

Here you will find some helpful information:

# DesktopOK Versions History
New in version 8.77 // 13 April 2021
Important update of the language files
Small corrections and adjustments in Desktop-OK for MS Windows operating systems
General fine-tuning and improvements.
New in version 8.71 // 16 March 2021
Small optimization and general fine-tuning in DesktopOK for all MS Windows OS
Update of the Desktop OK language files
New in version 8.66 // 25 February 2021
Important update of the DesktopOK language files
Improvements in the DesktopOK Windows Tools
New language in DOK: Portuguese-Portugal

Many thanks to TEC Store for the Portuguese language.

Save Window Position

My window position is never saved. When I click the «Open message in new window» button, the window is always opened as maximized. When I restore it, its not where it should be. How can I save the Mail window position?

I’m using Mail version 17.8241.41225.0.

Replies (7) 

Saving the window size/position when opening a message to a new window is easy. Simply follow the steps below on how to do so:

  1. Open a message in a new window.
  2. Press and hold the Ctrl button on your keyboard and click on the X button at upper right corner of the window to close it.
  3. When you open a message in another window, the size/position of the window should be saved.

If you have other questions, do let us know.

10 people found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thanks for the suggestion, but it doesn’t seem to work.

The main window position is always saved, but the message window isn’t.

Does anyone else have this problem?

2 people found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

If that’s the case, we suggest that you create a new User Profile to check if the issue reoccurs. To create a user profile, follow these steps:

  1. Go to Settings. Click Accounts.
  2. Select Family & other people.
  3. Select the Add someone else to this PC tab.
  4. Name the user as Test.
  5. Leave the password field blank.
  6. Hit Next.
  7. Sign in as Test user.

Keep us updated with the result.

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

We noticed that your post has been inactive for quite some time. We just want to check on things and confirm if you still need help in any way.

Since you mentioned that the initial suggested troubleshooting didn’t work, we’d like to clarify if you indeed pressed the Ctrl key and then clicked the Close button (X) for both the main window and the message window. This is for us to avoid any misunderstanding.

Feel free to post back with additional information.

1 person found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I apologize for not responding sooner.

Holding down ctrl and clicking close on the message window didn’t work.

I haven’t tried creating a new user profile. If I get extra frustrated, I might go through the steps of trying to create a new user profile and setting up Mail again.

Thanks for the suggestion.

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Reproducing the issue by creating a new profile would be a good idea to isolate the issue.

If the issue does not happen on the new profile, there could be some broken system components on your current profile. Let’s resolve it by repairing the system following the instructions below:

  1. Open an elevated Command Prompt. Right click on Start button > select Command Prompt ( Admin ).
  2. Copy and paste the command, Dism /Online /Cleanup-Image /RestoreHealth. You will get a message » The restore operation completed successfully.»
  3. Restart your PC to apply changes.

Please note that this process will take time. You will notice that it’s being stuck on 20%, but it’s normal since it’s checking and configuring necessary changes on the broken components.

Update us with results for further assistance.

Windows restore position sometimes doesn’t work

I wrote a simple C# program that saves the locations and sizes of open windows to a file, and then can also restore them from that file (based on command-line arguments). This always works for some programs and not for others, and I don’t know why.

The part that gets window position (x,y) and size (w,h) uses this standard Windows function

The part that sets a window’s size and position uses this standard Windows function

These are declared in the code like so

The rest of the code is unremarkable: save some data to a text file, read some data from a text file. All of it is copy-pasted from online examples, and I am a novice C# / Windows programmer.

The program works quite well on certain programs and not at all on others. I can restore Chrome to its size and position, but not Firefox, and not Microsoft Edge. Visual Studio Code works, but not R Studio. This is a surprise to me, because (not knowing much about Windows programming) I expected that the GUI part of any Windows program was coded with standard Windows libraries, and so any program that works on Windows would respond to SetWindowPos the same way.

Why does this work for some programs and not for others?

I need to do this because I have a 4K monitor, and somehow Windows loses the size and position of most windows every time the monitor is turned off or times out. I posted separately about this, got no solution, so I wrote my own, which mostly works. https://superuser.com/questions/1513288/windows-loses-window-position-on-large-monitor

If anyone is interested, the source code is at https://github.com/radumanolescu/WinPos

Running Windows 10 Pro, fully patched, on a 2019 PC with solid specs.

Windows utility to save/restore window size & position history? [closed]

Want to improve this question? Update the question so it’s on-topic for Super User.

Closed 6 years ago .

Is there a Windows utility that keeps a record of the size and position of all active windows for later retrieval? For example, if I have my text editor and web browser open side-by-side, and then open Outlook full screen, I’d like a keyboard shortcut to quickly switch back to the editor/browser configuration. I’m thinking of something like Emacs’s Winner Mode.

Does such a thing exist?

3 Answers 3

Try WiLMA (Windows Layout Manager).
It was originally created by Stefan Didak to set up and recall different window layout scenarios (development, VM management, VNC, etc). He uses and maintains it to manage dozens of windows on 8+ monitors in his massive home office setup.

Use the free and simple AutoSizer

AutoSizer automatically resizes programs for you, keeping them at a specific size or keeping them maximized. One popular use is to keep Internet Explorer maximized when you go on the web. It works with most software programs, and supports maximizing to specific monitors on multi-monitor computers. Use the handy Always On Top system tray menu to quickly position specific programs above all others. Thanks to Michael A., Brian E., Juliet, Barbara M., John W., Malcolm H. and everyone else who gave ideas and helped improve the program.

A commercial shareware that I believe does what you ask is ZMover ($19.95).

ZMover helps you manage your desktop layout by enabling you to set the size, position and layering of application windows. Instead of wasting time rearranging windows across your single or multiple monitor display, you can configure ZMover to do the job for you. Simply tell ZMover which windows you want to modify and how, then hide the program and let it work in the background. ZMover will monitor the desktop and automatically reposition, resize, or even keep selected windows below or above the others when they open. ZMover can accommodate a large number of window layouts that you can name and sort to your convenience. Moreover, the program displays information that enables you to track its progress in real-time and review its past activity.

ZMover supports multiple display setups and helps you manage application windows across several monitors with ease. The number of applications lacking multiple monitor support and the increased desktop space offered by such display configurations make it more difficult to maintain an optimal desktop layout. ZMover eliminates these difficulties with its ability to store many window layouts and to move windows beyond the primary monitor.

ZMover stores user preferences in a small portable file. So it’s easy to define a desktop layout on one computer and propagate it to other computers in a lab or a data processing center.

ZMover is mainly designed to deal with main windows. Tool windows are trickier because they are often similar on the surface with their program only being able to differentiate them

Remember / Restore window position when reconnecting a monitor #261

Comments

jcoutch commented Sep 6, 2019 •

Summary of the new feature/enhancement

As a developer with 5 monitors, whenever I have to go to a meeting which requires my laptop, I usually have to spend a couple minutes minimizing windows once un-docked, then 3-5 minutes re-positioning/resizing a bazillion windows back onto my multiple monitors.

It would be awesome to have a PowerToy that at least attempted to keep my layout between dock cycles, maybe integrated into the virtual desktops feature in Windows 10

Proposed technical implementation details (optional)

Whenever a graphics/monitor hardware event occurs, and before Windows re-positions all windows, take a snapshot of the monitor layout, all main window handles and their current positions.

Then, check if the new layout/monitor configuration matches to any previous snapshots, and align the windows accordingly.

The initial version could just go off window handles, but maybe future versions could allow users to specify regular expressions for window titles/tab names (in the event windows are closed then re-opened.)

The text was updated successfully, but these errors were encountered:

LazerFX commented Oct 21, 2019

An alternative (And nice-to-have) addition to this feature would be to have a key command that would allow you to manually save/reload window layouts. Again, similar to the request above, it would be a case of saving the window titles/names or window handles, and then restoring them into position at a single keystroke. This would need to be multi-desktop, multi-window aware.

MikeWilliams-UK commented Oct 28, 2019

The feature #557 I suggested could be made part of this if/when implemented

Enchiridion commented Feb 10, 2020

@jcoutch I have a similar issue, and I’ve been using this program to do my window management

It hasn’t been updated in a while but still works great.

enricogior commented Mar 27, 2020

Changed title to make it simpler to search for the issue.

CombeeMike commented Jun 2, 2020

If for some reason automatic detection of «graphics/monitor hardware events» + save/restore is technically not possible, I could also live with a manual approach using some hotkeys as mentioned earlier (as an addition there).

mburleigh commented Jun 2, 2020

I would love for something to be built in to FancyZones (or PowerToys) that could save & restore window layouts based on what monitors are connected.

andyfrei commented Jun 9, 2020

Yes, I could see this for Fancy Zones to adapt to different monitor profiles, but also as a separate Power Toys feature that can help manage those profiles when moving between workstations.

MrSnoozles commented Jul 17, 2020

It’s generally frustrating working on windows with a laptop + docking station + multiple screens.
Everytime you undock the laptop for a meeting the windows go to screen one (which is okay I guess, although it would be cool to have an option to use different desktops instead) but whenever you redock it all the windows are on screen 1 and you have to take time to restore their position. Depending on how many windows you have open during the work day that can take quite some time.

I recently found https://github.com/manutalcual/winredock which restores the position. Think it would be great if this kind of functionality was integrated into PowerToys.

ahawes-clarity commented Aug 26, 2020

riemers commented Aug 29, 2020

Sometimes my kvm does silly things in the monitor, i need to turn it on/off but then all my windows are back on the main and i have to re-arrange everything. This would certainly be a welcome solution. Also found those others tools but it should really be in powertoy 😉

enricogior commented Sep 24, 2020

svargh commented Jan 15, 2021 •

It’s generally frustrating working on windows with a laptop + docking station + multiple screens.
Everytime you undock the laptop for a meeting the windows go to screen one (which is okay I guess, although it would be cool to have an option to use different desktops instead) but whenever you redock it all the windows are on screen 1 and you have to take time to restore their position. Depending on how many windows you have open during the work day that can take quite some time.

I recently found https://github.com/manutalcual/winredock which restores the position. Think it would be great if this kind of functionality was integrated into PowerToys.

@MrSnoozles , Might be WindowsLayoutSnapshot is also useful for you?
I am using it for my daily docking and redocking cycle of my laptop
One layout at home with 3xFullHD Monitors and another layout at office (two 4k 43 Monitors).

Читайте также:  Что такое режим рабочего стола windows 10
Оцените статью