Permit use of Preferences tab
Autoriser l’utilisation de l’onglet Préférences
Explanation
This policy setting allows you to permit or prohibit use of the Preferences tab. When prohibited, the Preferences tab does not appear when you view a preference extension in the Group Policy Management Editor window of the GPMC. The Extended and Standard tabs are unaffected, and you can still create and manage preference items.
If you enable this policy setting, you permit use of the Preferences tab. Enabling this policy setting does not override policy settings that restrict the use of preference extensions.
If you disable this policy setting, you prohibit use of the Preferences tab.
If you do not configure this policy setting, you permit use of the Preferences tab.
Ce paramètre de stratégie permet d’autoriser ou d’interdire l’utilisation de l’onglet Préférences. En cas d’interdiction, l’onglet Préférences n’est pas visible lorsque vous affichez une extension de préférence dans la fenêtre de l’Éditeur de gestion des stratégies de groupe de la console GPMC. Les onglets Étendu et Standard ne sont pas concernés et vous avez toujours la possibilité de créer et de gérer des éléments de préférence.
Si vous activez ce paramètre de stratégie, l’utilisation de l’onglet Préférences est permise. L’activation de ce paramètre de stratégie ne remplace pas les paramètres de stratégie ayant pour effet de restreindre l’utilisation des extensions de préférence.
Si vous désactivez ce paramètre de stratégie, l’utilisation de l’onglet Préférences est interdite.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisation de l’onglet Préférences est autorisée.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\MMC\{45B01F1C-5AC2-458c-9457-42A81B34A26D}- Value name
Restrict_Run
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
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: grouppolicypreferences/MMC_GPO_ViewExtensionPro
$k = 'HKCU:\Software\Policies\Microsoft\MMC\{45B01F1C-5AC2-458c-9457-42A81B34A26D}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Restrict_Run' -Value 0 -Type DWordDisable
# Disable: grouppolicypreferences/MMC_GPO_ViewExtensionPro
$k = 'HKCU:\Software\Policies\Microsoft\MMC\{45B01F1C-5AC2-458c-9457-42A81B34A26D}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Restrict_Run' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": grouppolicypreferences/MMC_GPO_ViewExtensionPro
$k = 'HKCU:\Software\Policies\Microsoft\MMC\{45B01F1C-5AC2-458c-9457-42A81B34A26D}'
Remove-ItemProperty -Path $k -Name 'Restrict_Run' -ErrorAction SilentlyContinue