Open in the explorer

Hide "Set Program Access and Computer Defaults" page

Masquer la page Définir les paramètres par défaut de l'accès aux programmes et de l'ordinateur

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Control Panel › Programs FR: Configuration utilisateur › Stratégies › Modèles d'administration › Panneau de configuration › Programmes
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
Programs.admx
Internal name
Programs/NoDefaultPrograms

Explanation

This setting removes the Set Program Access and Defaults page from the Programs Control Panel. As a result, users cannot view or change the associated page.

The Set Program Access and Computer Defaults page allows administrators to specify default programs for certain activities, such as Web browsing or sending e-mail, as well as specify the programs that are accessible from the Start menu, desktop, and other locations.

If this setting is disabled or not configured, the Set Program Access and Defaults button is available to all users.

This setting does not prevent users from using other tools and methods to change program access or defaults.

This setting does not prevent the Default Programs icon from appearing on the Start menu.

French text from Windows 11 26H2

Ce paramètre supprime la page Définir les paramètres par défaut de l'accès aux programmes et de l'ordinateur du Panneau de configuration des programmes. Les utilisateurs ne peuvent donc pas voir ni modifier la page associée.

La page Définir les paramètres par défaut de l'accès aux programmes et de l'ordinateur permet aux administrateurs de spécifier les programmes par défaut pour certaines activités, telles que la consultation de sites Web et l'envoi de messages électroniques, ainsi que les programmes accessibles depuis le menu Démarrer, le Bureau et d'autres emplacements.

Si ce paramètre est désactivé ou s'il n'est pas configuré, la page Définir les paramètres par défaut de l'accès aux programmes et de l'ordinateur est accessible à tous les utilisateurs.

Ce paramètre n'empêche pas les utilisateurs d'utiliser d'autres outils et méthodes pour configurer les programmes par défaut.

Ce paramètre n'empêche pas l'affichage de l'icône Programmes par défaut dans le menu Démarrer.

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Programs
Value name
NoDefaultPrograms
StateValue written
Enablednot defined in the ADMX
Disablednot 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/NoDefaultPrograms
$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 'NoDefaultPrograms' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: Programs/NoDefaultPrograms
$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 'NoDefaultPrograms' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Programs/NoDefaultPrograms
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Programs'
Remove-ItemProperty -Path $k -Name 'NoDefaultPrograms' -ErrorAction SilentlyContinue

Availability