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

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

Šī revīzija ir iekļauta:
Kroese
2025-04-14 12:46:21 +02:00
revīziju iesūtīja GitHub
vecāks fda0d7fbf9
revīzija a1e68622e9
40 mainīti faili ar 0 papildinājumiem un 198 dzēšanām
-5
Parādīt failu
@@ -326,11 +326,6 @@
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
<Description>Allow guest access to network shares</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</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>3</Order>
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>