Specify default category for Add New Programs
Spécifie la catégorie par défaut pour Ajouter de nouveaux programmes
Explanation
Specifies the category of programs that appears when users open the "Add New Programs" page.
If you enable this setting, only the programs in the category you specify are displayed when the "Add New Programs" page opens. Users can use the Category box on the "Add New Programs" page to display programs in other categories.
To use this setting, type the name of a category in the Category box for this setting. You must enter a category that is already defined in Add or Remove Programs. To define a category, use Software Installation.
If you disable this setting or do not configure it, all programs (Category: All) are displayed when the "Add New Programs" page opens.
You can use this setting to direct users to the programs they are most likely to need.
Note: This setting is ignored if either the "Remove Add or Remove Programs" setting or the "Hide Add New Programs page" setting is enabled.
Spécifie la catégorie des programmes qui apparaît quand les utilisateurs ouvrent la page « Ajouter de nouveaux programmes ».
Si vous activez ce paramètre, seuls sont affichés les programmes appartenant à la catégorie que vous spécifiez lorsque la page « Ajouter de nouveaux programmes » s’ouvre. Les utilisateurs peuvent utiliser la zone Catégorie sur la page « Ajouter de nouveaux programmes » pour afficher les programmes dans d’autres catégories.
Pour utiliser ce paramètre, tapez le nom d’une catégorie dans la zone Catégorie pour ce paramètre. Vous devez entrer une catégorie qui est déjà définie dans Ajouter ou supprimer des programmes. Pour définir une catégorie, utilisez Installation de logiciel.
Si vous désactivez ce paramètre ou ne le configurez pas, tous les programmes (Catégorie : toutes) sont affichés lorsque la page « Ajouter de nouveaux programmes » s’ouvre.
Vous pouvez utiliser ce paramètre pour diriger les utilisateurs vers les programmes dont ils auront certainement besoin.
Remarque : ce paramètre est ignoré si le paramètre « Supprimer l’application Ajouter ou supprimer des programmes » ou le paramètre « Masquer la page Ajouter de nouveaux programmes » est activé.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
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/DefaultCategory
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Category
Set-ItemProperty -Path $k -Name 'DefaultCategory' -Value '<value>' -Type StringDisable
# Disable: AddRemovePrograms/DefaultCategory
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": AddRemovePrograms/DefaultCategory
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall'
Remove-ItemProperty -Path $k -Name 'DefaultCategory' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Category:Catégorie :DefaultCategoryBox | Text boxtext | DefaultCategory | REG_SZ | Required |