Blocco avanzato NTLM: valore del Registro di sistema EnhancedNtlmBlocks e altri 5ComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters
- ID criterio
- BlockNtlm
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows 11 versione 24H2
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Sistema › NTLM
Registro
EnhancedNtlmBlocks
REG_DWORDComputer- Valore abilitato
- 1
- Valore disabilitato
- 0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Opzioni (usarne solo una) ; Abilitato "EnhancedNtlmBlocks"=dword:00000001 ; Disabilitato "EnhancedNtlmBlocks"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 0 -Force | Out-Null
BlockDomainAccountSSO
REG_DWORDComputer- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Blocca l'accesso Single Sign-On di NTLM per gli account di dominio
| Voce | Valore memorizzato |
|---|---|
| Controllo | 1 |
| Abilitata | 2 |
| Disabilitata | 0 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Opzioni (usarne solo una) ; Controllo "BlockDomainAccountSSO"=dword:00000001 ; Abilitata "BlockDomainAccountSSO"=dword:00000002 ; Disabilitata "BlockDomainAccountSSO"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Controllo reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 1 /f :: Abilitata reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 2 /f :: Disabilitata reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Opzioni (usarne solo una) # Controllo New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 1 -Force | Out-Null # Abilitata New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 2 -Force | Out-Null # Disabilitata New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 0 -Force | Out-Null
BlockDomainControllerAuth
REG_DWORDComputer- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Blocca NTLM per i controller di dominio
| Voce | Valore memorizzato |
|---|---|
| Controllo | 1 |
| Abilitata | 2 |
| Disabilitata | 0 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Opzioni (usarne solo una) ; Controllo "BlockDomainControllerAuth"=dword:00000001 ; Abilitata "BlockDomainControllerAuth"=dword:00000002 ; Disabilitata "BlockDomainControllerAuth"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Controllo reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 1 /f :: Abilitata reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 2 /f :: Disabilitata reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Opzioni (usarne solo una) # Controllo New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 1 -Force | Out-Null # Abilitata New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 2 -Force | Out-Null # Disabilitata New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 0 -Force | Out-Null
EnforceMachineBinding
REG_DWORDComputer- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Blocca NTLM quando il binding del computer non riesce
| Voce | Valore memorizzato |
|---|---|
| Controllo | 1 |
| Abilitata | 2 |
| Disabilitata | 0 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Opzioni (usarne solo una) ; Controllo "EnforceMachineBinding"=dword:00000001 ; Abilitata "EnforceMachineBinding"=dword:00000002 ; Disabilitata "EnforceMachineBinding"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Controllo reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 1 /f :: Abilitata reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 2 /f :: Disabilitata reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Opzioni (usarne solo una) # Controllo New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 1 -Force | Out-Null # Abilitata New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 2 -Force | Out-Null # Disabilitata New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 0 -Force | Out-Null
BlockAll
REG_DWORDComputer- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Blocca tutte le autenticazioni NTLM
| Voce | Valore memorizzato |
|---|---|
| Controllo | 1 |
| Abilitata | 2 |
| Disabilitata | 0 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Opzioni (usarne solo una) ; Controllo "BlockAll"=dword:00000001 ; Abilitata "BlockAll"=dword:00000002 ; Disabilitata "BlockAll"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Controllo reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 1 /f :: Abilitata reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 2 /f :: Disabilitata reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Opzioni (usarne solo una) # Controllo New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 1 -Force | Out-Null # Abilitata New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 2 -Force | Out-Null # Disabilitata New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 0 -Force | Out-Null
EnhancedMachineBlockingAllowList
REG_MULTI_SZComputer- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Specificare l'elenco di elementi consentiti per i criteri di blocco avanzato:
- Tipo di valore
- REG_MULTI_SZ
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati ; I dati hex(2) e hex(7) vanno scritti in esadecimale (UTF-16LE) "EnhancedMachineBlockingAllowList"=hex(7):<inserisci valore>
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedMachineBlockingAllowList" /t REG_MULTI_SZ /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedMachineBlockingAllowList' -PropertyType MultiString -Value '<inserisci valore>' -Force | Out-Null