Open in the explorer

Hide Network Tab

Masquer l’onglet Réseau

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Windows Media Player › Networking FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Lecteur Windows Media › Mise en réseau
Supported on
Windows Media Player for Windows XP and later. FR: Lecteur Windows Media pour Windows XP et version ultérieure.
ADMX file
windowsmediaplayer.admx
Internal name
windowsmediaplayer/DisableNetworkSettings

Explanation

This policy setting allows you to hide the Network tab.

If you enable this policy setting, the Network tab in Windows Media Player is hidden. The default network settings are used unless the user has previously defined network settings for the Player.

If you disable or do not configure this policy setting, the Network tab appears and users can use it to configure network settings.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de masquer l’onglet Réseau.

Si vous activez ce paramètre de stratégie, l’onglet Réseau du Lecteur Windows Media est masqué. Les paramètres réseau par défaut sont utilisés, sauf si l’utilisateur a préalablement défini des paramètres réseau pour le Lecteur.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’onglet Réseau apparaît et les utilisateurs peuvent y faire appel pour configurer les paramètres réseau.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer
Value name
HideNetworkTab
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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/DisableNetworkSettings
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HideNetworkTab' -Value 1 -Type DWord

Disable

# Disable: windowsmediaplayer/DisableNetworkSettings
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HideNetworkTab' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": windowsmediaplayer/DisableNetworkSettings
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
Remove-ItemProperty -Path $k -Name 'HideNetworkTab' -ErrorAction SilentlyContinue

Availability