From 87c64e1313040073b7d2c657a8e99e92241b0e87 Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Wed, 5 Mar 2025 22:41:28 -0800 Subject: [PATCH] Update Enable GamesDows Playnite.bat --- Enable GamesDows Playnite.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Enable GamesDows Playnite.bat b/Enable GamesDows Playnite.bat index 81a9a16..361c3c5 100644 --- a/Enable GamesDows Playnite.bat +++ b/Enable GamesDows Playnite.bat @@ -46,11 +46,11 @@ echo rem Check if user is logged on echo whoami ^| find /i "%USERNAME%" ^>nul echo if ERRORLEVEL 1 exit echo rem Set Shell back to Explorer -echo REG ADD "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f +echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f echo timeout /t 20 /nobreak ^>nul -echo start C:\Windows\explorer.exe +echo powershell -WindowStyle Hidden -NoProfile -Command "Start-Process explorer.exe" echo timeout /t 10 /nobreak ^>nul -echo REG ADD "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%PLAYNITE_PATH%" /f +echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%PLAYNITE_PATH%" /f ) > "%SCRIPT_PATH%"