.
This commit is contained in:
parent
c7cca6418a
commit
756db1f93a
@ -12,6 +12,9 @@ reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" ^
|
||||
echo Creating user %THINUSER% ...
|
||||
net user %THINUSER% %THINPASS% /ADD
|
||||
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ^
|
||||
/v DisableLockWorkstation /t REG_DWORD /d "1" /f 2>/nul
|
||||
|
||||
echo Activating Auto Logon for user %THINUSER% ...
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" ^
|
||||
/v AutoAdminLogon /t REG_SZ /d "1" /f 2>/nul
|
||||
|
Loading…
Reference in New Issue
Block a user