Update Disable GamesDows.bat

This commit is contained in:
jazir5 2024-06-24 02:48:40 -07:00 committed by GitHub
parent aa142f68fc
commit ab12c08ce6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,10 +26,6 @@ IF EXIST "%XML_PATH%" DEL "%XML_PATH%"
:: Delete the scheduled task
schtasks /delete /tn "RunDelayedExplorerStart" /f
:: Disable automatic logon
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 0 /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /f
:: Enable the boot UI
bcdedit.exe -set {globalsettings} bootuxdisabled off