Deleting monitor configuration information

Deleting monitor configuration information

1 Introduction

The laptop screen is broken, and the expansion display on hand is configured as an expansion display. You need to find an unconfigured display first and delete the display configuration information in the system, so that the screen display can be copied to the expansion screen.
Insert image description here

2 operations

The monitor configuration of Windows is located in the computer \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers in the registry. We are mainly concerned with the three items Configuration, Connectivity and ScaleFactors, which can be edited directly using the Registry Editor.
If you just want to clear the saved monitor configuration, just delete the above three items. To avoid misoperation, it is recommended to back up before operation. You can also use the PowerShell command below for quick removal.

Remove-Item -Confirm HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration
Remove-Item -Confirm HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Connectivity
Remove-Item -Confirm HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\ScaleFactors

reference

1. Delete multi-monitor configuration information in Windows
2. Tutorial on how to set up automatic duplication screen or extended screen at startup when using dual screens

Guess you like

Origin blog.csdn.net/qq_38880380/article/details/132751848