mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-06-06 23:57:25 +02:00
Create Re-Enable Auto-Sign In
This commit is contained in:
parent
87798b29c0
commit
ebd529a9cc
18
Re-Enable Auto-Sign In
Normal file
18
Re-Enable Auto-Sign In
Normal file
@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
SETLOCAL EnableExtensions EnableDelayedExpansion
|
||||
|
||||
:: Set your username and password
|
||||
SET "USERNAME=your_username"
|
||||
SET "PASSWORD=your_password"
|
||||
|
||||
:: Enable AutoAdminLogon
|
||||
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 1 /f
|
||||
|
||||
:: Set DefaultUserName
|
||||
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d "%USERNAME%" /f
|
||||
|
||||
:: Set DefaultPassword
|
||||
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /t REG_SZ /d "%PASSWORD%" /f
|
||||
|
||||
echo Automatic login enabled with the specified username and password.
|
||||
pause
|
Loading…
x
Reference in New Issue
Block a user