Update Enable GamesDows Playnite V3.bat

This commit is contained in:
jazir5 2024-11-03 21:36:01 -08:00 committed by GitHub
parent 214f2ddd5f
commit 03cf4a7e19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,9 @@ SETLOCAL EnableExtensions EnableDelayedExpansion
echo Setting Playnite as default shell
REM Disable Logon UI
reg add "%KEY_NAME%" /v DisableLogonUI /t REG_DWORD /d 1 /f
SET "KEY_NAME=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
SET "VALUE_NAME=Shell"
SET "PLAYNITE_FOLDER=%LOCALAPPDATA%\Playnite"
@ -14,9 +17,6 @@ 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
(