Open in the explorer

Prevent Music File Media Information Retrieval

Empêcher la récupération d’informations sur le média pour les fichiers de musique

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Windows Media Player FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Lecteur Windows Media
Supported on
Windows Media Player 9 Series and later. FR: Lecteur Windows Media Série 9 et version ultérieure.
ADMX file
windowsmediaplayer.admx
Internal name
windowsmediaplayer/PreventMusicFileMetadataRetrieval

Explanation

This policy setting allows you to prevent media information for music files from being retrieved from the Internet.

If you enable this policy setting, the Player is prevented from automatically obtaining media information for music files such as Windows Media Audio (WMA) and MP3 files from the Internet. In addition, the Update my music files (WMA and MP3 files) by retrieving missing media information from the Internet check box in the first use dialog box and on the Privacy and Media Library tabs in the Player are not selected and are not available.

If you disable or do not configure this policy setting, users can change the setting of the Update my music files (WMA and MP3 files) by retrieving missing media information from the Internet check box.

French text from Windows 11 26H2

Ce paramètre de stratégie permet d’empêcher la récupération d’informations sur le média depuis Internet pour les fichiers de musique.

Si vous activez ce paramètre de stratégie, le Lecteur ne peut pas récupérer automatiquement des informations sur le média depuis Internet pour des fichiers de musique de type MP3 et WMA (audio Windows Media). En outre, la case à cocher Mettre à jour mes fichiers de musique (WMA et MP3) en récupérant les informations manquantes sur Internet, disponible dans la boîte de dialogue de configuration à la première exécution du Lecteur et dans les onglets Confidentialité et Bibliothèque multimédia du Lecteur n’est pas activée et n’est pas disponible.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent modifier le paramètre de la case à cocher Mettre à jour mes fichiers de musique (WMA et MP3) en récupérant les informations manquantes sur Internet.

Registry

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

Disable

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

Revert to "Not configured"

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

Availability