Servidor de rede Microsoft: tentar S4U2Self para obter informações de declaração: valor do Registro EnableS4U2SelfForClaimsComputadorHKLM\System\CurrentControlSet\Services\LanManServer\Parameters
- Categoria
- Configurações de segurança › Políticas locais › Opções de segurança
- Escopo
- Configuração do Computador
- Fonte
- Windows 11 (versão 26H2 · 26300.9457)
Registro
EnableS4U2SelfForClaims
REG_DWORDComputador
- Valor habilitado
- Depende do valor da opção
- Elemento
- Servidor de rede Microsoft: tentar S4U2Self para obter informações de declaração
Opções
| Item | Valor armazenado |
| Padrão | 0 |
| Habilitado | 1 |
| Desabilitado | 2 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters]
; Opções (use apenas uma)
; Padrão
"EnableS4U2SelfForClaims"=dword:00000000
; Habilitado
"EnableS4U2SelfForClaims"=dword:00000001
; Desabilitado
"EnableS4U2SelfForClaims"=dword:00000002
CMD
:: Opções (use apenas uma)
:: Padrão
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 0 /f
:: Habilitado
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 1 /f
:: Desabilitado
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 2 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Force | Out-Null
# Opções (use apenas uma)
# Padrão
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 0 -Force | Out-Null
# Habilitado
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitado
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 2 -Force | Out-Null