Zabezpieczenia sieciowe: Zezwalaj lokalnemu systemowi na uwierzytelnianie NTLM przy użyciu tożsamości komputera: wartość rejestru UseMachineIdKomputerHKLM\System\CurrentControlSet\Control\Lsa

Kategoria
Ustawienia zabezpieczeń › Zasady lokalne › Opcje zabezpieczeń
Zakres
Konfiguracja komputera
Źródło
Windows 11 (wersja 26H2 · 26300.9457)

Rejestr

UseMachineId

REG_DWORDKomputer
Wartość włączona
1
Wartość wyłączona
0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa]

; Opcje (użyj tylko jednej)
; Włączone
"UseMachineId"=dword:00000001
; Wyłączone
"UseMachineId"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Włączone
reg add "HKLM\System\CurrentControlSet\Control\Lsa" /v "UseMachineId" /t REG_DWORD /d 1 /f
:: Wyłączone
reg add "HKLM\System\CurrentControlSet\Control\Lsa" /v "UseMachineId" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Włączone
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa' -Name 'UseMachineId' -PropertyType DWord -Value 1 -Force | Out-Null
# Wyłączone
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa' -Name 'UseMachineId' -PropertyType DWord -Value 0 -Force | Out-Null