Permitir delegação de novas credenciais com autenticação de servidor somente NTML: valor do Registro AllowFreshCredentialsWhenNTLMOnly (AllowFreshCredentialsWhenNTLMOnly)ComputadorHKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowFreshCredentialsWhenNTLMOnly
- ID da política
- AllowFreshCredentialsWhenNTLMOnly
- 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
AllowFreshCredentialsWhenNTLMOnly
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 "AllowFreshCredentialsWhenNTLMOnly"=dword:00000001 ; Desabilitada "AllowFreshCredentialsWhenNTLMOnly"=dword:00000000
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "AllowFreshCredentialsWhenNTLMOnly" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "AllowFreshCredentialsWhenNTLMOnly" /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 'AllowFreshCredentialsWhenNTLMOnly' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'AllowFreshCredentialsWhenNTLMOnly' -PropertyType DWord -Value 0 -Force | Out-Null
(valores da lista)
REG_SZComputadorHKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowFreshCredentialsWhenNTLMOnly Chave atual
- 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\AllowFreshCredentialsWhenNTLMOnly] ; 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\AllowFreshCredentialsWhenNTLMOnly" /v "1" /t REG_SZ /d "<inserir valor>" /f reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowFreshCredentialsWhenNTLMOnly" /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\AllowFreshCredentialsWhenNTLMOnly' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowFreshCredentialsWhenNTLMOnly' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation\AllowFreshCredentialsWhenNTLMOnly' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
ConcatenateDefaults_AllowFreshNTLMOnly
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_AllowFreshNTLMOnly"=dword:00000001 ; Desmarcado "ConcatenateDefaults_AllowFreshNTLMOnly"=dword:00000000
CMD
:: Opções (use apenas uma) :: Marcado reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "ConcatenateDefaults_AllowFreshNTLMOnly" /t REG_DWORD /d 1 /f :: Desmarcado reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "ConcatenateDefaults_AllowFreshNTLMOnly" /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_AllowFreshNTLMOnly' -PropertyType DWord -Value 1 -Force | Out-Null # Desmarcado New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'ConcatenateDefaults_AllowFreshNTLMOnly' -PropertyType DWord -Value 0 -Force | Out-Null