The Settings window may be opening outside the visible screen after the monitor was disconnected, so first bring it back with the keyboard rather than restarting again.
Bring the Settings window onto the screen
- Open Settings from its pinned taskbar icon.
- Press Alt+Tab repeatedly until Settings is selected.
- Press Alt+Space, then press M.
- Press any arrow key once.
- Move the mouse, or continue pressing the arrow keys, until the Settings window appears.
- Press Enter to place it.
If that does not work, select Settings with Alt+Tab, then try:
- Windows key+Shift+Left Arrow
- Windows key+Shift+Right Arrow
- Windows key+Up Arrow to maximize it
These shortcuts move or maximize a window that Windows may still associate with a previously connected display.^1^
If Settings reappears, open System > Display > Multiple displays and enable:
- Remember window locations based on monitor connection
- Minimize windows when a monitor is disconnected
Those options control how Windows handles application windows when monitors are removed.^2^
If Settings is not merely off-screen
Since restarting several times did not help, repair the Windows component store and protected system files:
- Press Ctrl+Shift+Esc to open Task Manager.
- Select Run new task. If the menu bar is shown, use File > Run new task.
- Enter
cmd.
- Select Create this task with administrative privileges, then select OK.
- Run these commands in order:
DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Keep the computer connected to the internet while DISM runs. Wait for SFC to reach 100%, then restart once and test Settings. Microsoft specifies running DISM before SFC because DISM supplies the files used to repair damaged Windows components.^3^
Only use this branch if the window-recovery and repair steps above fail. Removing a security update temporarily removes its fixes.
- At the Windows sign-in screen, hold Shift while selecting Power > Restart.
- In Windows Recovery Environment, select:
Troubleshoot > Advanced options > Uninstall Updates.
- Select Uninstall latest quality update.
- Restart normally and test Settings.
Windows supports removing a recent update through Windows Recovery Environment when Settings cannot be accessed; some updates cannot be removed.^4^
If prompted, provide the device-encryption or BitLocker recovery key. Windows Recovery Environment includes Uninstall Updates, System Restore, and other repair tools.^5^
Last non-destructive repair
If Settings still will not open, perform an in-place repair installation. Back up important files first, although the keep option is designed to preserve them.
- Download the Windows 11 ISO from:
https://www.microsoft.com/software-download/windows11
- In File Explorer, double-click the downloaded ISO.
- Run
setup.exe from the mounted drive.
- Select Change what to keep.
- Choose Keep personal files and apps.
- Confirm that the Ready to install page still says it will keep personal files and apps, then select Install.
Run Setup from inside the existing Windows session—do not boot from the media, because booting it for a clean installation can erase files and applications. An in-place installation with Keep personal files and apps preserves personal data, applications, and Windows settings.^6^
References
- Programs open on "second screen" when second screen is completely disconnected from PC on Windows 11. - Microsoft Q&A
- [Windows 11](https://support.microsoft.com/windows/experience/backup-recovery/windows-backup-settings-catalog#windows-backup-settings-and-preferences-catalog)
- Use the System File Checker tool to repair missing or corrupted system files
- [Windows 11](https://support.microsoft.com/windows/deployment/updates-lifecycle/how-to-uninstall-a-windows-update#summary)
- Windows recovery environment | Microsoft Support
- Reinstall Windows with the installation media | Microsoft Support