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

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

Cette révision appartient à :
Kroese
2025-04-14 12:46:21 +02:00
révisé par GitHub
Parent fda0d7fbf9
révision a1e68622e9
40 fichiers modifiés avec 0 ajouts et 198 suppressions
-5
Voir le fichier
@@ -231,11 +231,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>