Hide the Programs Control Panel
Masquer le Panneau de configuration des programmes
Explanation
This setting prevents users from using the Programs Control Panel in Category View and Programs and Features in Classic View.
The Programs Control Panel allows users to uninstall, change, and repair programs, enable and disable Windows Features, set program defaults, view installed updates, and purchase software from Windows Marketplace. Programs published or assigned to the user by the system administrator also appear in the Programs Control Panel.
If this setting is disabled or not configured, the Programs Control Panel in Category View and Programs and Features in Classic View will be available to all users.
When enabled, this setting takes precedence over the other settings in this folder.
This setting does not prevent users from using other tools and methods to install or uninstall programs.
Ce paramètre empêche les utilisateurs de recourir au Panneau de configuration des programmes en mode Affichage des catégories et à Programmes et fonctionnalités en mode Affichage classique.
Le Panneau de configuration des programmes permet aux utilisateurs de désinstaller, de modifier et de réparer des programmes, d'activer et de désactiver des composants Windows, de définir les paramètres par défaut des programmes, d'afficher les mises à jour installées et d'acheter des logiciels sur Windows Marketplace. Les programmes publiés ou attribués à l'utilisateur par l'administrateur système s'affichent également dans le Panneau de configuration des programmes.
Si ce paramètre est désactivé ou s'il n'est pas configuré, le Panneau de configuration des programmes en mode Affichage des catégories, de même que Programmes et fonctionnalités en mode Affichage classique, sont accessibles à tous les utilisateurs.
Lorsqu'il est activé, ce paramètre prévaut sur les autres paramètres de ce dossier.
Ce paramètre n'empêche pas les utilisateurs d'utiliser d'autres outils ou méthodes pour installer ou désinstaller des programmes.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Programs- Value name
NoProgramsCPL
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not defined in the ADMX |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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: Programs/NoProgramsCPL
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Programs'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoProgramsCPL' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: Programs/NoProgramsCPL
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Programs'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoProgramsCPL' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Programs/NoProgramsCPL
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Programs'
Remove-ItemProperty -Path $k -Name 'NoProgramsCPL' -ErrorAction SilentlyContinue