1
0
espelhamento de https://github.com/dockur/windows.git sincronizado 2026-06-10 11:59:33 +08:00

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

Esse commit está contido em:
Kroese
2025-04-14 12:46:21 +02:00
commit de GitHub
commit a1e68622e9
40 arquivos alterados com 0 adições e 198 exclusões
-5
Ver Arquivo
@@ -197,11 +197,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>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>