diff --git a/Enable GamesDows Playnite V3.bat b/Enable GamesDows Playnite V3.bat index b36835f..8c366a6 100644 --- a/Enable GamesDows Playnite V3.bat +++ b/Enable GamesDows Playnite V3.bat @@ -21,8 +21,6 @@ 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 ^^ @@ -31,6 +29,8 @@ echo powershell -command ^^ "^$settings[8] = ^$settings[8] -bor 0x08;" ^^ "Set-ItemProperty -Path ^$settingsPath -Name 'Settings' -Value ^$settings" +REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f +echo timeout /t 10 /nobreak ^>nul echo rem Start Explorer echo start C:\Windows\explorer.exe