How to Enable or Disable “Minimize Windows When a Monitor is Disconnected” in Windows 11 Sometimes, when you disconnect an external monitor on Windows 11, your open windows automatically minimize. But for people who frequently switch between docking stations or monitors, this can get annoying. In this video, we’ll show you how to enable or disable the “Minimize Windows When a Monitor is Disconnected” setting in Windows 11 so you can choose the behavior that works best for you. Before we begin, be sure to subscribe to NinjaOne’s IT video hub and our YouTube channel for more tech content like this. Prerequisites to Keep in Mind You can change this setting in two ways. Through the Settings app or by editing the Windows Registry. For IT admins or enterprise users, it can also be deployed across multiple devices using a PowerShell script. Before you start, keep in mind: These methods work on all versions of Windows 11. To edit the Registry or run PowerShell scripts, you’ll need administrator access. You can check this by going to Start > Settings > Accounts. If you see Administrator under your name, you’re good to go. This guide only affects how windows behave when a monitor is disconnected. Method 1: Enable or Disable via Settings App (GUI) This is the quickest and easiest way to do it, perfect for personal use. Once you set it up, the changes stick even after you log out or restart. Go to Start > Settings > System > Display. Click Multiple displays. Check the box for Minimize windows when an external monitor is disconnected to turn it on. Uncheck it to turn it off. Method 2: Configure via Registry Editor This method’s a bit more advanced, and it only applies to the account you’re using. If multiple people use the same PC, you’ll need to do this for each user. Open the Start Menu and search for Registry Editor. Go to: HKEY_CURRENT_USER\ControlPanel\Desktop Look for MonitorRemovalRecalcBehavior. If it’s not there, right-click Desktop > New > DWORD (32-bit) Value, and name it MonitorRemovalRecalcBehavior. Double-click it and set the value: 1 = minimize windows when a monitor is disconnected. 0 = keep windows in place. Click OK to save. Then, restart Windows Explorer to apply the changes. Right-click the taskbar and select Task Manager. In the Processes tab, select Windows Explorer. Click Restart task. Method 3: PowerShell Script for Automation This method works best for enterprise environments. You can deploy the registry changes to all managed devices using an endpoint management tool. Open the Start Menu and search for Windows PowerShell. To turn off the setting and stop windows from minimizing when a monitor is disconnected, run this command and press Enter: To turn it back on, use this command and press Enter: Turning the “Minimize windows when a monitor is disconnected” setting on or off helps keep desktop behavior consistent across your organization. Leaving it enabled ensures users don’t lose open windows when they unplug an external monitor. For more information, check out our official blog post on settings for minimizing windows linked in the description below.

How to Enable or Disable “Minimize Windows When a Monitor is Disconnected” in Windows 11

Tired of your windows minimizing every time you unplug a monitor? In this quick tutorial, we’ll show you how to enable or disable the “Minimize Windows When a Monitor is Disconnected” setting in Windows 11. Learn three easy methods — through the Settings app, the Registry Editor, or a PowerShell script for enterprise deployments. Perfect for anyone who frequently docks and undocks their laptop or manages multiple workstations.

Stay in control of your workspace and keep your windows right where you want them.

Read the full blog on How to Enable or Disable “Minimize Windows When a Monitor is Disconnected” in Windows 11

Never miss a NinjaOne video!

in this video

    Never miss a video!