Permitir delegação de credenciais padrão com autenticação de servidor somente NTML: valor do Registro AllowDefCredentialsWhenNTLMOnly e mais 1 (CredentialsDelegation)ComputadorHKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation

ID da política
AllowDefCredentialsWhenNTLMOnly
Escopo
Configuração do Computador
Compatível com
Windows Vista ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Sistema › Delegação de Credenciais

Registro

AllowDefCredentialsWhenNTLMOnly

REG_DWORDComputador
Valor habilitado
1
Valor desabilitado
0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredentialsDelegation]

; Opções (use apenas uma)
; Habilitada
"AllowDefCredentialsWhenNTLMOnly"=dword:00000001
; Desabilitada
"AllowDefCredentialsWhenNTLMOnly"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "AllowDefCredentialsWhenNTLMOnly" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "AllowDefCredentialsWhenNTLMOnly" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'AllowDefCredentialsWhenNTLMOnly' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'AllowDefCredentialsWhenNTLMOnly' -PropertyType DWord -Value 0 -Force | Out-Null

(valores da lista)

REG_SZComputador
Valor habilitado
Depende do valor da opção
Elemento
Adicionar servidores à lista:
Tipo de valor
REG_SZ
Prefixo do nome do valor
-
Adicionar ao valor existente
true
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowDefCredentialsWhenNTLMOnly]

; Adicione um valor por entrada da lista, aumentando o número
"1"="<inserir valor>"
"2"="<inserir valor>"
CMD
:: Adicione um valor por entrada da lista, aumentando o número

reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowDefCredentialsWhenNTLMOnly" /v "1" /t REG_SZ /d "<inserir valor>" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowDefCredentialsWhenNTLMOnly" /v "2" /t REG_SZ /d "<inserir valor>" /f
PowerShell
# Adicione um valor por entrada da lista, aumentando o número

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowDefCredentialsWhenNTLMOnly' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowDefCredentialsWhenNTLMOnly' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowDefCredentialsWhenNTLMOnly' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null

ConcatenateDefaults_AllowDefNTLMOnly

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Concatenar padrões do sistema operacional com entrada acima
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredentialsDelegation]

; Opções (use apenas uma)
; Marcado
"ConcatenateDefaults_AllowDefNTLMOnly"=dword:00000001
; Desmarcado
"ConcatenateDefaults_AllowDefNTLMOnly"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "ConcatenateDefaults_AllowDefNTLMOnly" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "ConcatenateDefaults_AllowDefNTLMOnly" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'ConcatenateDefaults_AllowDefNTLMOnly' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'ConcatenateDefaults_AllowDefNTLMOnly' -PropertyType DWord -Value 0 -Force | Out-Null