Open in the explorer

Turn off KMS Client Online AVS Validation

Désactiver la validation AVS en ligne de client KMS

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Software Protection Platform FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Plateforme de protection de licence logicielle
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
AVSValidationGP.admx
Internal name
AVSValidationGP/NoAcquireGT

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)

French text from Windows 11 26H2

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
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: 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 DWord

Disable

# 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 DWord

Revert 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

Availability