Turn off KMS Client Online AVS Validation
Désactiver la validation AVS en ligne de client KMS
Explanation
This policy setting lets you opt-out of sending KMS client activation data to Microsoft automatically. Enabling this setting prevents this computer from sending data to Microsoft regarding its activation state.
If you disable or do not configure this policy setting, KMS client activation data will be sent to Microsoft services when this device activates.
Policy Options:
- Not Configured (default -- data will be automatically sent to Microsoft)
- Disabled (data will be automatically sent to Microsoft)
- Enabled (data will not be sent to Microsoft)
Ce paramètre de stratégie vous permet de désactiver l'envoi automatique de données d'activation de client KMS à Microsoft. L'activation de ce paramètre empêche cet ordinateur d'envoyer des données à Microsoft sur son état d'activation.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les données d'activation de client KMS seront envoyées aux services Microsoft à l'activation de cet appareil.
Options de la stratégie :
- Non configurée (par défaut -- les données sont envoyées automatiquement à Microsoft)
- Désactivée (les données sont envoyées automatiquement à Microsoft)
- Activée (les données ne sont pas envoyées à Microsoft)
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform- Value name
NoGenTicket
| 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: AVSValidationGP/NoAcquireGT
$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 'NoGenTicket' -Value 1 -Type DWordDisable
# Disable: AVSValidationGP/NoAcquireGT
$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 'NoGenTicket' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": AVSValidationGP/NoAcquireGT
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform'
Remove-ItemProperty -Path $k -Name 'NoGenTicket' -ErrorAction SilentlyContinue