Prevent Radio Station Preset Retrieval
Empêcher la récupération des présélections radio
Explanation
This policy setting allows you to prevent radio station presets from being retrieved from the Internet.
If you enable this policy setting, the Player is prevented from automatically retrieving radio station presets from the Internet and displaying them in Media Library. In addition, presets that exist before the policy is configured are not be updated, and presets a user adds are not be displayed.
If you disable or do not configure this policy setting, the Player automatically retrieves radio station presets from the Internet.
Ce paramètre de stratégie permet d’empêcher la récupération des présélections radio depuis Internet.
Si vous activez ce paramètre de stratégie, le Lecteur ne peut pas récupérer automatiquement sur Internet les stations radio présélectionnées et les afficher dans la Bibliothèque multimédia. En outre, les présélections qui existaient avant que ce paramètre de stratégie ne soit configuré ne sont pas mises à jour et les présélections ajoutées par un utilisateur ne sont pas affichées.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, le Lecteur récupère automatiquement les présélections radio à partir d’Internet.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer- Value name
PreventRadioPresetsRetrieval
| 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/PreventRadioPresetsRetrieval
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventRadioPresetsRetrieval' -Value 1 -Type DWordDisable
# Disable: windowsmediaplayer/PreventRadioPresetsRetrieval
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventRadioPresetsRetrieval' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": windowsmediaplayer/PreventRadioPresetsRetrieval
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
Remove-ItemProperty -Path $k -Name 'PreventRadioPresetsRetrieval' -ErrorAction SilentlyContinue