12 lines
414 B
Batchfile
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 #######
|
|
|