1
0
kopia lustrzana https://github.com/dockur/windows.git synced 2026-06-10 11:59:33 +08:00

fix: Disallow RDP login with blank password (#1202)

This commit is contained in:
Kroese
2025-04-14 12:46:21 +02:00
zatwierdzone przez GitHub
rodzic fda0d7fbf9
commit a1e68622e9
40 zmienionych plików z 0 dodań i 198 usunięć
-5
Wyświetl plik
@@ -354,11 +354,6 @@
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
<Description>Disable SMB signing requirement</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>3</Order>
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
<Description>Allow RDP login with blank password</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>4</Order>
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>