From 214f2ddd5fd0d92b9262df21971605aa56bf1436 Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Sun, 3 Nov 2024 21:34:11 -0800 Subject: [PATCH] Update Enable GamesDows Playnite V3.bat --- Enable GamesDows Playnite V3.bat | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Enable GamesDows Playnite V3.bat b/Enable GamesDows Playnite V3.bat index 64930f5..1d51f1a 100644 --- a/Enable GamesDows Playnite V3.bat +++ b/Enable GamesDows Playnite V3.bat @@ -14,6 +14,9 @@ SET "EXPLORER_PATH=%SystemRoot%\explorer.exe" SET "VBS_NAME=RunBatchSilently.vbs" SET "VBS_PATH=%PLAYNITE_FOLDER%\%VBS_NAME%" +REM Disable Logon UI +reg add "%KEY_NAME%" /v DisableLogonUI /t REG_DWORD /d 1 /f + echo Creating DelayedExplorerStart.bat script ( @@ -22,6 +25,10 @@ echo rem Check if user is logged on echo whoami ^| find /i "%%USERNAME%%" ^>nul echo if ERRORLEVEL 1 exit + +REM Disable Logon UI +reg add "%KEY_NAME%" /v DisableLogonUI /t REG_DWORD /d 1 /f + echo rem Set taskbar to autohide echo powershell -command ^^ "^$settingsPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';" ^^ @@ -129,9 +136,6 @@ echo Applying system optimizations REM Disable the boot UI bcdedit.exe -set {globalsettings} bootuxdisabled on -REM Disable Logon UI -reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DisableLogonUI /t REG_DWORD /d 1 /f - REM Disable Visual Effects reg add "HKCU\Control Panel\Desktop" /v VisualFXSetting /t REG_DWORD /d 2 /f