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
066442d06b
commit
3c5fa4470d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user