mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-06-06 15:47:22 +02:00
Update Enable GamesDows Playnite V3.bat
This commit is contained in:
parent
a343a75727
commit
214f2ddd5f
@ -14,6 +14,9 @@ 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
|
||||
|
||||
(
|
||||
@ -22,6 +25,10 @@ echo rem Check if user is logged on
|
||||
echo whoami ^| find /i "%%USERNAME%%" ^>nul
|
||||
echo if ERRORLEVEL 1 exit
|
||||
|
||||
|
||||
REM Disable Logon UI
|
||||
reg add "%KEY_NAME%" /v DisableLogonUI /t REG_DWORD /d 1 /f
|
||||
|
||||
echo rem Set taskbar to autohide
|
||||
echo powershell -command ^^
|
||||
"^$settingsPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';" ^^
|
||||
@ -129,9 +136,6 @@ echo Applying system optimizations
|
||||
REM Disable the boot UI
|
||||
bcdedit.exe -set {globalsettings} bootuxdisabled on
|
||||
|
||||
REM Disable Logon UI
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DisableLogonUI /t REG_DWORD /d 1 /f
|
||||
|
||||
REM Disable Visual Effects
|
||||
reg add "HKCU\Control Panel\Desktop" /v VisualFXSetting /t REG_DWORD /d 2 /f
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user