w10install/scripts/disable-autologon.cmd
Michael H.G. Schmidt cdf57b941d removed vivetool
2023-01-19 11:34:13 +01:00

12 lines
414 B
Batchfile

@echo off
echo ####### %0 #######
echo disabling autologon for admin ...
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /f 2>nul
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /f 2>nul
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /f 2>nul
echo ####### %0 #######