Ouvrir dans l'explorateur

Contrôler la réactivation des appareils de vente au détail

Control Device Reactivation for Retail devices

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Plateforme de protection de licence logicielle EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Software Protection Platform
Pris en charge sur
Au moins Windows Server 2016, Windows 10 EN : At least Windows Server 2016, Windows 10
Fichier ADMX
AVSValidationGP.admx
Nom interne
AVSValidationGP/AllowWindowsEntitlementReactivation

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie détermine si la réactivation du système d’exploitation est ou non bloquée sur un appareil.
Options de stratégie :
- Non configuré (valeur par défaut ; l’inscription et la réactivation de Windows sont autorisées)
- Désactivé (l’inscription et la réactivation de Windows ne sont pas autorisées)
- Activé (l’inscription de Windows est autorisée)

This policy setting controls whether OS Reactivation is blocked on a device.
Policy Options:
- Not Configured (default -- Windows registration and reactivation is allowed)
- Disabled (Windows registration and reactivation is not allowed)
- Enabled (Windows registration is allowed)

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform
Nom de la valeur
AllowWindowsEntitlementReactivation
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : AVSValidationGP/AllowWindowsEntitlementReactivation
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowWindowsEntitlementReactivation' -Value 1 -Type DWord

Désactiver

# Désactiver : AVSValidationGP/AllowWindowsEntitlementReactivation
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowWindowsEntitlementReactivation' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : AVSValidationGP/AllowWindowsEntitlementReactivation
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform'
Remove-ItemProperty -Path $k -Name 'AllowWindowsEntitlementReactivation' -ErrorAction SilentlyContinue

Disponibilité