Update Enable GamesDows Playnite no splashscreen disabled welcome UI.bat

This commit is contained in:
jazir5 2024-11-11 23:12:12 -08:00 committed by GitHub
parent 875f667410
commit fca65f1a62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,8 +189,6 @@ schtasks /delete /tn "SetDisableLogonUI" /f
echo Create the scheduled task using the XML file
schtasks /create /tn "SetDisableLogonUI" /xml "%XML_STARTUP_TASK_PATH%" /ru SYSTEM
:: End new code
echo Disable the boot UI
bcdedit.exe -set {globalsettings} bootuxdisabled on
@ -198,11 +196,6 @@ echo Disable Logon UI
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DisableLogonUI /t REG_DWORD /d 1 /f
echo Enabling AutoAdminLogon
reg add "%KEY_NAME%" /v AutoAdminLogon /t REG_SZ /d "1" /f
reg add "%KEY_NAME%" /v DefaultUserName /t REG_SZ /d "%USERNAME%" /f
reg add "%KEY_NAME%" /v DefaultPassword /t REG_SZ /d "" /f
echo Disabling Automatic Restart Sign-On
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableAutomaticRestartSignOn /t REG_DWORD /d 1 /f