Masquer les éléments du Panneau de configuration spécifiés
Vérifié avec Windows 11 25H2 — mis à jour le 30 juillet 2026
Pris en charge sur : Au minimum Windows 2000
Chemin dans la console GPO
Configuration utilisateur\Modèles d'administration\Panneau de configuration Description
Ce paramètre vous permet d’afficher ou de masquer des éléments spécifiés du Panneau de configuration, tels que Souris, Système ou Personnalisation, de la fenêtre du Panneau de configuration et de l’écran de démarrage. Le paramètre affecte l’écran de démarrage et la fenêtre du Panneau de configuration, ainsi que les autres modes d’accès aux éléments du Panneau de configuration, tels que les raccourcis disponibles dans Aide et support ou les lignes de commande qui utilisent control.exe. Cette stratégie n'a pas d'effet sur les éléments disposés dans les paramètres du PC. Si vous activez ce paramètre, vous pouvez sélectionner les éléments ne devant pas figurer dans la fenêtre du Panneau de configuration et l’écran de démarrage. Pour masquer un élément du Panneau de configuration, activez ce paramètre de stratégie et cliquez sur Afficher pour accéder à la liste des éléments non autorisés du Panneau de configuration. Dans la colonne Valeur de la boîte de dialogue Afficher le contenu, tapez le nom canonique de l’élément du Panneau de configuration. Par exemple, tapez Microsoft.Mouse, Microsoft.System ou Microsoft.Personalization. Remarque: pour Windows Vista, Windows Server 2008 et les versions antérieures de Windows, vous devez entrer le nom du module, par exemple timedate.cpl ou inetcpl.cpl. Lorsqu’un élément du Panneau de configuration n’est associé à aucun fichier CPL ou que ce dernier contient plusieurs applets, vous devez entrer son nom de module et son numéro d’identification de ressource de chaîne comme suit: @systemcpl.dll,-1 pour Système ou @themecpl.dll,-1 pour Personnalisation. Vous trouverez une liste complète des noms canoniques et des noms de modules dans MSDN en recherchant « Éléments du Panneau de configuration». Si les paramètres « Masquer les éléments du Panneau de configuration spécifiés » et « N’afficher que les éléments du Panneau de configuration spécifiés » sont activés, le second paramètre est ignoré. Remarque : ce paramètre ne permet pas de masquer l’élément Panneau de configuration d’affichage dans le menu contextuel du Bureau. Pour masquer cet élément et empêcher les utilisateurs de modifier les paramètres d’affichage de l’ordinateur, utilisez le paramètre « Désactiver le Panneau de configuration d’affichage ». Remarque : pour masquer les pages de l’application Paramètres système, utilisez le paramètre « Visibilité de la page des paramètres » sous Configuration ordinateur.
Registre
Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Nom de valeur : DisallowCpl
MDM / Intune (CSP)
./User/Vendor/MSFT/Policy/Config/ADMX_ControlPanel/DisallowCpls Documentation Microsoft Learn Données de correspondance : Microsoft Learn (CC BY 4.0)
Générateur d'exports
BETAConfigurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.
Ces exports écrivent le registre — ce n'est pas une GPO managée. ⓘ
Fichier .reg
Windows Registry Editor Version 5.00
; Exported from gporais.com
; Policy: Masquer les éléments du Panneau de configuration spécifiés
; State: Enabled
; Supported on: Au minimum Windows 2000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"DisallowCpl"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl]
; List values: enter one value per line in the builder UI. Autres formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Masquer les éléments du Panneau de configuration spécifiés
# State: Enabled
# Supported on: Au minimum Windows 2000
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DisallowCpl' -Value 1 -Type DWord
$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI. Intune XML
OMA-URI: ./User/Vendor/MSFT/Policy/Config/ADMX_ControlPanel/DisallowCpls
Data type: String
Value:
<enabled/>
<!-- DisallowCplsList: enter one value per line before copying this XML payload. --> Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Masquer les éléments du Panneau de configuration spécifiés
# State: Enabled
# Supported on: Au minimum Windows 2000
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
# HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl: List values: enter one value per line in the builder UI.
$checks = @(
(Test-RegistryValue -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'DisallowCpl' -Expected 1 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Masquer les éléments du Panneau de configuration spécifiés
# State: Enabled
# Supported on: Au minimum Windows 2000
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DisallowCpl' -Value 1 -Type DWord
$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI. Scripts SCCM
# Exported from gporais.com
# Policy: Masquer les éléments du Panneau de configuration spécifiés
# State: Enabled
# Supported on: Au minimum Windows 2000
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Masquer les éléments du Panneau de configuration spécifiés
# State: Enabled
# Supported on: Au minimum Windows 2000
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
# HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl: List values: enter one value per line in the builder UI.
$checks = @(
(Test-RegistryValue -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'DisallowCpl' -Expected 1 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Masquer les éléments du Panneau de configuration spécifiés
# State: Enabled
# Supported on: Au minimum Windows 2000
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DisallowCpl' -Value 1 -Type DWord
$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI. Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).