A simple but powerful PowerShell + Batch tool to bring back off-screen or lost windows into your desktop view.
Perfect for multi-monitor setups where apps sometimes open outside the visible area after disconnecting a monitor, changing resolution, or using remote desktop.
- ๐ฅ๏ธ Multi-monitor setups often cause windows to get stuck outside the screen.
- ๐ฎ Gamers & streamers switching resolutions may find apps โmissing.โ
- ๐ผ Remote workers who switch between laptops and external monitors lose track of windows.
- ๐ง This script automatically detects & repositions windows back to the visible area.
Fix-WindowPositions.ps1โ The main PowerShell script.run.batโ A quick way to run the script without typing commands.
- Open PowerShell as Administrator.
- Run: .\Fix-WindowPositions.ps1
- To test without applying changes (dry run): .\Fix-WindowPositions.ps1 -DryRun
- Just double-click
run.bat. - It will automatically launch the PowerShell script with proper permissions.
- Press any key when done.
- Safe to use on Windows 10/11.
- Doesnโt modify registry or system filesโjust moves misplaced windows.
- Great helper for productivity when windows "disappear."
MIT License โ free to use and share.