Klient sieci Microsoft: wyślij niezaszyfrowane hasło w celu nawiązania połączenia z innymi serwerami SMB: wartość rejestru EnablePlainTextPasswordKomputerHKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters
- Kategoria
- Ustawienia zabezpieczeń › Zasady lokalne › Opcje zabezpieczeń
- Zakres
- Konfiguracja komputera
- Źródło
- Windows 11 (wersja 26H2 · 26300.9457)
Rejestr
EnablePlainTextPassword
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\Services\LanmanWorkstation\Parameters] ; Opcje (użyj tylko jednej) ; Włączone "EnablePlainTextPassword"=dword:00000001 ; Wyłączone "EnablePlainTextPassword"=dword:00000000
CMD
:: Opcje (użyj tylko jednej) :: Włączone reg add "HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "EnablePlainTextPassword" /t REG_DWORD /d 1 /f :: Wyłączone reg add "HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "EnablePlainTextPassword" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LanmanWorkstation\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Włączone New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanmanWorkstation\Parameters' -Name 'EnablePlainTextPassword' -PropertyType DWord -Value 1 -Force | Out-Null # Wyłączone New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanmanWorkstation\Parameters' -Name 'EnablePlainTextPassword' -PropertyType DWord -Value 0 -Force | Out-Null