Force windows to remember size and location in Windows 11

Terion 5 Reputation points
2025-10-16T20:13:56.4233333+00:00

In the earlier versions of win11, I was able to close a window and the OS would remember its size and location (sometimes after several closes). Now it doesn't do the function at all.

On an HP Envy laptop. Drivers have been updated.

I've tried holding Ctrl X while closing, making sure there are no other windows open when I close the window, restarted.

Help.

Windows for home | Windows 11 | Files, folders, and storage

2 answers

Sort by: Most helpful
  1. Restee Miranda 14,095 Reputation points Independent Advisor
    2025-10-16T21:39:18.2133333+00:00

    Try to use the Shift key when closing the window.

    You need to hold down the Shift key on your keyboard while clicking the same button. This trick helps the Windows operating system remember the window position.

    Was this answer helpful?


  2. Michael Taylor 61,236 Reputation points
    2025-10-16T20:53:59.11+00:00

    That is not what that setting actually does. Opening an application and having it go back to where it was before is a feature of an application, not Windows. Any application that wants to support this feature has to implement it and not all applications do. For example Notepad does persist its position so it opens back up where you put it before. Most, if not all, the standard Windows applications do as well but other applications may not. It is pretty standard code but each app has to implement it.

    The setting you refer to has a different purpose. Unfortunately it is badly named. That setting is used for situations where you have multiple monitors and then one of the monitors goes away, for example when you undock a laptop. The windows will get moved to the available monitor. When you dock your laptop back and the original monitor comes back then Windows will try to move the application back to where it was before. That is controlled by this setting.

    You didn't specify which app you are having an issue with so it is hard to provide guidance here. Most applications store their position in the registry under HKEY_CURRENT_USER. I would search there for the application that is not behaving properly. Clean up the position entries and then start the application again. Some applications may instead store the position in a data file under your AppData Local or Roaming settings. Unfortunately it depends on the application where things are stored.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.