Looks like Windows 11 may fix your problem. New feature from WSJ: External monitors: You know when you unplug an external monitor all the windows gather on your laptop screen? In Windows 11, when you unplug, your big screen’s open windows just minimize to the laptop’s task bar. Then, when you reconnect it, they spring back into place.