← Package directory
Available on winget

Install PersistentWindows

This project addresses a long-standing issue in Windows 7, 10, and 11, where windows get repositioned after events such as the system waking up, external monitor connections or disconnections, changes in monitor resolution, or during RDP re...

Install with winget
winget install --id kangyu-california.PersistentWindows
Upgrade
winget upgrade --id kangyu-california.PersistentWindows
Uninstall
winget uninstall --id kangyu-california.PersistentWindows

About PersistentWindows

This project addresses a long-standing issue in Windows 7, 10, and 11, where windows get repositioned after events such as the system waking up, external monitor connections or disconnections, changes in monitor resolution (e.g., exiting full-screen gaming), or during RDP reconnections. The code was forked from ninjacrab.com/persistent-windows.

What's new in 5.76

1. Merge pull requests (#449, #453) from @mann1x (coauthored by Claude Opus AI) to fix a dozen of bugs, ranging from resource leaks to program slowness/stall/exception. 2. Add new menu "Restore all minimized windows" to recover windows incorrectly hided by PW, by @mann1x and @claude

Read release notes

Version history

Version Updated Notes
5.76 Unknown 1. Merge pull requests (#449, #453) from @mann1x (coauthored by Claude Opus AI) to fix a dozen of bugs, ranging from resource leaks to program slowness/stall/exception. 2. Add new menu "Restore all minimized windows" to...
5.75 Unknown 1. #430, add command option -capture_to_disk [name_of_capture] and -capture_snapshot id_of_snapshot for non-GUI users 2. #442, add command option -portable_mode to store PW data files under "user_data" within program ins...
5.74 Unknown 1. #432, #438, fix sporadic program hanging due to data race 2. #438, register PersistentWindows as authentic app in Event Viewer image
5.73 Unknown 1. #436, Add new command option -basic_features to disable controversial features such as webpage commander introduced in version 5.5x, instant restore new window pos (5.6x), window pos swap using Alt + Click background...
5.72 Unknown 1. New feature: Swap the position of the foreground window with a background window by Alt + Click the background window. - This feature is useful after updating multi-window apps like google chrome, when window position...
5.71 Unknown Improve #421 fix in 5.70 pre-release : New explorer window is not restored to snapped position.
5.69 Unknown 1. Fix #412, remove dead code causing false alarm from anti-virus software 2. Fix data race causing exceptions 3. Fix restore failure due to using disqualified capture
5.68 Unknown 1. [#411, #388] Add command option -no_inherit_process "EXCEL.exe;javaw" to disable auto restore new window for Excel and javaw processes 2. [#384] Add command option -restore_disk_capture ["name_of_capture"] to restore...
5.67 Unknown 1. Fix #408 Crash in 5.66 when launching a new window due to null history obj reference 2. Merge pull request from Alex Strobel with truly resizable dialog when user Shift click "Restore windows from disk" 3. More predic...
5.66 Unknown 1. Fix #403, 5.65 crash due to empty record in xml dump. 2. Fix #399, Version upgrade notice now shows only once. 3. Fix #388, Fixed the lag of auto restore new window. Improved matching of new window to killed one for J...
5.65 Unknown 1. Enable -auto_restore_new_window_to_last_capture after fixing bugs (#369, #388, #392, #400). To demonstrate the feature, open a dos cmd window, move and close it, and open a new cmd window again, and the new window sho...
5.63 Unknown 1. Re-enable -auto_restore_new_window_to_last_capture by default with improved matching algorithm (#369, #388, #392). To demonstrate the feature, open a dos cmd window, move it, then close it, and open a new dos cmd wind...
5.62 Unknown 1. Fix #369, #388, #392: turn off -auto_restore_new_window_to_last_capture by default 2. Fix wrong matching of new and closed window 3. Fix miss capture of maximized window (#388)
5.61 Unknown Release notes
5.59 Unknown 1. Feature enhancement: auto save both live and dead window position history as xml file, so that all historical auto-restore points and snapshots are automatically refreshed upon any app upgrade/restart, even after PC r...