Hide Security Tab
Masquer l’onglet Sécurité
Explanation
This policy setting allows you to hide the Security tab in Windows Media Player.
If you enable this policy setting, the default security settings for the options on the Security tab are used unless the user changed the settings previously. Users can still change security and zone settings by using Internet Explorer unless these settings have been hidden or disabled by Internet Explorer policies.
If you disable or do not configure this policy setting, users can configure the security settings on the Security tab.
Ce paramètre de stratégie permet de masquer l’onglet Sécurité du Lecteur Windows Media.
Si vous activez ce paramètre de stratégie, les paramètres de sécurité par défaut sont appliqués aux options de l’onglet Sécurité, sauf si l’utilisateur a préalablement modifié les paramètres. Les utilisateurs peuvent toujours modifier les paramètres de zone et de sécurité dans Internet Explorer, sauf si ces paramètres ont été masqués ou désactivés par des stratégies Internet Explorer.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent configurer les paramètres de sécurité dans l’onglet Sécurité.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer- Value name
HideSecurityTab
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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: windowsmediaplayer/HideSecurityTab
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HideSecurityTab' -Value 1 -Type DWordDisable
# Disable: windowsmediaplayer/HideSecurityTab
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HideSecurityTab' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": windowsmediaplayer/HideSecurityTab
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
Remove-ItemProperty -Path $k -Name 'HideSecurityTab' -ErrorAction SilentlyContinue