Open in the explorer

Prevent Windows Media DRM Internet Access

Empêcher Windows Media DRM d’accéder à Internet

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Media Digital Rights Management FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Gestion des droits numériques Windows Media
Supported on
At least Windows Server 2003 FR: Au minimum Windows Server 2003
ADMX file
windowsmediadrm.admx
Internal name
windowsmediadrm/DisableOnline

Explanation

Prevents Windows Media Digital Rights Management (DRM) from accessing the Internet (or intranet).

When enabled, Windows Media DRM is prevented from accessing the Internet (or intranet) for license acquisition and security upgrades.

When this policy is enabled, programs are not able to acquire licenses for secure content, upgrade Windows Media DRM security components, or restore backed up content licenses. Secure content that is already licensed to the local computer will continue to play. Users are also able to protect music that they copy from a CD and play this protected content on their computer, since the license is generated locally in this scenario.

When this policy is either disabled or not configured, Windows Media DRM functions normally and will connect to the Internet (or intranet) to acquire licenses, download security upgrades, and perform license restoration.

French text from Windows 11 26H2

Empêche la gestion des droits numériques Windows Media (Windows Media Digital Rights Management, DRM) d’accéder à Internet (ou à un intranet).

Lorsqu’elle est activée, Windows Media DRM empêche d’accéder à Internet (ou à un intranet) pour obtenir des licences ou des mises à niveau de sécurité.

Lorsque cette stratégie est activée, les programmes ne peuvent pas acquérir des licences pour du contenu sécurisé, mettre à niveau les composants de sécurité de Windows Media DRM ou restaurer des licences de contenu sauvegardées. Le contenu sécurisé qui est déjà sous licence pour l’ordinateur local va continuer à être utilisé. Les utilisateurs peuvent également protéger la musique qu’ils copient à partir d’un CD et lire ce contenu protégé sur leur ordinateur, puisque, dans ce cas, la licence est générée localement.

Lorsque cette stratégie est désactivée ou non configurée, Windows Media DRM fonctionne normalement et permet de se connecter à Internet (ou à un intranet) pour obtenir des licences, télécharger des mises à niveau de sécurité et restaurer des licences.

Registry

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

Disable

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

Revert to "Not configured"

# Revert to "Not configured": windowsmediadrm/DisableOnline
$k = 'HKLM:\Software\Policies\Microsoft\WMDRM'
Remove-ItemProperty -Path $k -Name 'DisableOnline' -ErrorAction SilentlyContinue

Availability