Hide the "Add programs from your network" option
Masquer l’option « Ajouter des programmes à partir de votre réseau »
Explanation
Prevents users from viewing or installing published programs.
This setting removes the "Add programs from your network" section from the Add New Programs page. The "Add programs from your network" section lists published programs and provides an easy way to install them.
Published programs are those programs that the system administrator has explicitly made available to the user with a tool such as Windows Installer. Typically, system administrators publish programs to notify users that the programs are available, to recommend their use, or to enable users to install them without having to search for installation files.
If you enable this setting, users cannot tell which programs have been published by the system administrator, and they cannot use Add or Remove Programs to install published programs. However, they can still install programs by using other methods, and they can view and install assigned (partially installed) programs that are offered on the desktop or on the Start menu.
If you disable this setting or do not configure it, "Add programs from your network" is available to all users.
Note: If the "Hide Add New Programs page" setting is enabled, this setting is ignored.
Empêche les utilisateurs d’afficher ou d’installer des programmes publiés.
Ce paramètre supprime la section « Ajouter des programmes à partir de votre réseau » de la page « Ajouter de nouveaux programmes ». La section « Ajouter des programmes à partir de votre réseau » affiche les programmes publiés et fournit un moyen facile de les installer.
Les programmes publiés sont ceux que l’administrateur système a explicitement rendus disponibles pour l’utilisateur en utilisant un outil tel que Windows Installer. Généralement, les administrateurs système publient des programmes pour notifier les utilisateurs qu’ils sont disponibles, pour recommander leur utilisation ou pour autoriser les utilisateurs à les installer sans rechercher les fichiers d’installation.
Si vous activez ce paramètre, les utilisateurs ne pourront pas savoir quels programmes ont été publiés par l’administrateur, et ils ne peuvent pas utiliser « Ajouter ou supprimer des programmes » pour installer les programmes publiés. Ils peuvent toutefois toujours installer des programmes en utilisant d’autres méthodes, et ils peuvent afficher et installer les programmes assignés (installés partiellement) qui sont proposés sur le Bureau ou dans le menu Démarrer.
Si vous désactivez ce paramètre ou ne le configurez pas, « Ajouter des programmes à partir de votre réseau » est disponible pour tous les utilisateurs.
Remarque : si le paramètre « Masquer la page Ajouter de nouveaux programmes » est activé, ce paramètre est ignoré.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall- Value name
NoAddFromNetwork
| 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: AddRemovePrograms/NoAddFromNetwork
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall'
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 'NoAddFromNetwork' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: AddRemovePrograms/NoAddFromNetwork
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall'
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 'NoAddFromNetwork' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": AddRemovePrograms/NoAddFromNetwork
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall'
Remove-ItemProperty -Path $k -Name 'NoAddFromNetwork' -ErrorAction SilentlyContinue