From 9c3d8d98736c28e06df2e0916957aa7eff94893c Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Sun, 3 Nov 2024 20:57:57 -0800 Subject: [PATCH] Update Enable GamesDows Playnite V3.bat --- Enable GamesDows Playnite V3.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Enable GamesDows Playnite V3.bat b/Enable GamesDows Playnite V3.bat index 4513134..6bb99f4 100644 --- a/Enable GamesDows Playnite V3.bat +++ b/Enable GamesDows Playnite V3.bat @@ -21,6 +21,8 @@ echo @echo off echo rem Check if user is logged on echo whoami ^| find /i "%%USERNAME%%" ^>nul echo if ERRORLEVEL 1 exit +echo timeout /t 10 /nobreak ^>nul +REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f echo rem Set taskbar to autohide echo powershell -command ^^ @@ -30,8 +32,7 @@ echo powershell -command ^^ "Set-ItemProperty -Path ^$settingsPath -Name 'Settings' -Value ^$settings" echo rem Start Explorer -REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f -echo start "" "%EXPLORER_PATH%" /desktop +echo start C:\Windows\explorer.exe /desktop echo rem Wait for Explorer to start echo timeout /t 2 /nobreak ^>nul