Skip to content

smartboy223/fix-window-positions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸชŸ Fix-WindowPositions

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.


๐Ÿš€ Why You Need This Tool

  • ๐Ÿ–ฅ๏ธ 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.

๐Ÿ“‚ Files in Repo

  • Fix-WindowPositions.ps1 โ†’ The main PowerShell script.
  • run.bat โ†’ A quick way to run the script without typing commands.

โšก How to Use

๐Ÿ”น Option 1: Run with PowerShell

  1. Open PowerShell as Administrator.
  2. Run: .\Fix-WindowPositions.ps1
  3. To test without applying changes (dry run): .\Fix-WindowPositions.ps1 -DryRun

๐Ÿ”น Option 2: Run with Batch File (Recommended ๐Ÿš€)

  1. Just double-click run.bat.
  2. It will automatically launch the PowerShell script with proper permissions.
  3. Press any key when done.

๐Ÿ“ Notes

  • 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."

๐Ÿ“œ License

MIT License โ€“ free to use and share.

About

PowerShell script to restore off-screen or misplaced windows back to the desktop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors