Update Enable GamesDows Playnite V3.bat

This commit is contained in:
jazir5 2024-11-03 21:08:21 -08:00 committed by GitHub
parent 066442d06b
commit 3c5fa4470d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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