Open in the explorer

Set default name for new Group Policy objects

Définir le nom par défaut pour les objets de stratégie de groupe

Type
User
GPO path
User Configuration › Policies › Administrative Templates › System › Group Policy FR: Configuration utilisateur › Stratégies › Modèles d'administration › Système › Stratégie de groupe
Supported on
At least Windows 2000 FR: Au minimum Windows 2000
ADMX file
GroupPolicy.admx
Internal name
GroupPolicy/NewGPODisplayName

Explanation

This policy setting allows you to set the default display name for new Group Policy objects.

This setting allows you to specify the default name for new Group Policy objects created from policy compliant Group Policy Management tools including the Group Policy tab in Active Directory tools and the GPO browser.

The display name can contain environment variables and can be a maximum of 255 characters long.

If this setting is Disabled or Not Configured, the default display name of New Group Policy object is used.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de définir le nom complet par défaut des nouveaux objets de stratégie de groupe.

Ce paramètre de stratégie vous permet de spécifier le nom par défaut des nouveaux objets de stratégie de groupe créés à partir des outils compatibles de gestion de stratégie de groupe, incluant l’onglet Stratégie de groupe dans les outils Active Directory et le navigateur des objets de stratégie de groupe.

Le nom complet peut contenir des variables d’environnement et peut comporter jusqu’à 255 caractères maximum.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le nom complet par défaut de l’objet de stratégie de groupe est utilisé.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Group Policy Editor
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: GroupPolicy/NewGPODisplayName
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Group Policy Editor'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# GPO Name
Set-ItemProperty -Path $k -Name 'GPODisplayName' -Value '<value>' -Type String

Disable

# Disable: GroupPolicy/NewGPODisplayName
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": GroupPolicy/NewGPODisplayName
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Group Policy Editor'
Remove-ItemProperty -Path $k -Name 'GPODisplayName' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
GPO Name:Nom d’objet de stratégie de groupe :NewGPODisplayNameHeadingText boxtextGPODisplayNameREG_SZ
Required · Max length: 255

Availability