Non consentire autenticazione Negotiate: valore del Registro di sistema AllowNegotiate (Service)ComputerHKLM\Software\Policies\Microsoft\Windows\WinRM\Service

ID criterio
DisallowNegotiate_1
Ambito
Configurazione computer
Supportato in
Almeno Windows Vista
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Componenti di Windows › Gestione remota Windows › Servizio Gestione remota Windows

Registro

AllowNegotiate

REG_DWORDComputer
Valore abilitato
0
Valore disabilitato
1
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service]

; Opzioni (usarne solo una)
; Abilitato
"AllowNegotiate"=dword:00000000
; Disabilitato
"AllowNegotiate"=dword:00000001
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "AllowNegotiate" /t REG_DWORD /d 0 /f
:: Disabilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "AllowNegotiate" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'AllowNegotiate' -PropertyType DWord -Value 0 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'AllowNegotiate' -PropertyType DWord -Value 1 -Force | Out-Null