Contrôler la réactivation des appareils de vente au détail
Control Device Reactivation for Retail devices
Explication
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
| État | Valeur é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 DWordDé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 DWordRevenir à « 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