Hide "Programs and Features" page
Masquer la page Programmes et fonctionnalités
Explanation
This setting prevents users from accessing "Programs and Features" to view, uninstall, change, or repair programs that are currently installed on the computer.
If this setting is disabled or not configured, "Programs and Features" will be available to all users.
This setting does not prevent users from using other tools and methods to view or uninstall programs. It also does not prevent users from linking to related Programs Control Panel Features including Windows Features, Get Programs, or Windows Marketplace.
Ce paramètre empêche les utilisateurs d'accéder à la page Programmes et fonctionnalités pour afficher, désinstaller, modifier ou réparer des programmes actuellement installés sur l'ordinateur.
Si ce paramètre est désactivé ou s'il n'est pas configuré, Programmes et fonctionnalités est accessible à tous les utilisateurs.
Ce paramètre n'empêche pas les utilisateurs d'utiliser d'autres outils ou méthodes pour afficher ou désinstaller des programmes. Il n'empêche pas non plus les utilisateurs d'établir des liens aux fonctionnalités du Panneau de configuration des programmes, notamment Fonctionnalités de Windows, Obtenir les programmes ou Windows Marketplace.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Programs- Value name
NoProgramsAndFeatures
| 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/NoProgramsAndFeatures
$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 'NoProgramsAndFeatures' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: Programs/NoProgramsAndFeatures
$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 'NoProgramsAndFeatures' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Programs/NoProgramsAndFeatures
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Programs'
Remove-ItemProperty -Path $k -Name 'NoProgramsAndFeatures' -ErrorAction SilentlyContinue