Set Cloned Monitor Preferred Resolution Source
Définissez la source de résolution préférée du moniteur cloné
Explanation
Enabling this policy allows to override the default behavior when connecting an additional monitor. It allows control over whether a cloned display prioritizes the internal or external monitor i.e. setting its preferred resolution source.
Internal sets the resolution of the main display as the source on both screens. External sets the resolution of the connected (external) display as the source on both screens. Default uses the system's default behavior determined by Windows Settings.
L'activation de cette stratégie permet de remplacer le comportement par défaut lors de la connexion d'un moniteur supplémentaire. Il permet de contrôler si un affichage cloné donne la priorité au moniteur interne ou au moniteur externe, c'est-à-dire la définition de sa source de résolution préférée.
Interne définit la résolution de l’affichage principal comme source de données des deux écrans. Externe définit la résolution de l’affichage connecté (externe) comme source de données des deux écrans. La valeur par défaut utilise le comportement par défaut du système déterminé par les paramètres Windows.
Registry
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers\Configuration- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: Display/DisplaySetClonePreferredResolutionSource
$k = 'HKLM:\System\CurrentControlSet\Control\GraphicsDrivers\Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set the default resolution Windows will use for new cloned displays as Internal, External or Default Windows Settings.
# Possible options:
# Default = 0
# Internal = 1
# External = 2
Set-ItemProperty -Path $k -Name 'DefaultCloneResolutionSetting' -Value 0 -Type DWordDisable
# Disable: Display/DisplaySetClonePreferredResolutionSource
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Display/DisplaySetClonePreferredResolutionSource
$k = 'HKLM:\System\CurrentControlSet\Control\GraphicsDrivers\Configuration'
Remove-ItemProperty -Path $k -Name 'DefaultCloneResolutionSetting' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set the default resolution Windows will use for new cloned displays as Internal, External or Default Windows Settings.Définissez la résolution par défaut utilisée par Windows pour les nouveaux écrans clonés comme résolution interne, externe ou paramètres Windows par défaut.DisplaySetClonePreferredResolutionSourceSettings | Drop-down listenum | DefaultCloneResolutionSetting | REG_DWORD | Default choice (UI): #0
|