Update Enable GamesDows Steam V3.bat

This commit is contained in:
jazir5
2025-10-18 02:01:15 -07:00
committed by GitHub
parent 0006eefd9f
commit 489f61b54c

View File

@@ -79,49 +79,49 @@ echo Delete the existing XML file if it exists
IF EXIST "%XML_PATH%" DEL "%XML_PATH%" IF EXIST "%XML_PATH%" DEL "%XML_PATH%"
( (
echo ^<?xml version="1.0" encoding="UTF-16"?^> echo(<?xml version="1.0" encoding="UTF-16"?>
echo ^<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"^> echo(^<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"^>
echo ^<RegistrationInfo^> echo( ^<RegistrationInfo^>
echo ^<Date^>2020-01-01T00:00:00^</Date^> echo( ^<Date^>2020-01-01T00:00:00^</Date^>
echo ^<Author^>"%USERNAME%"^</Author^> echo( ^<Author^>!USERNAME!^</Author^>
echo ^<Description^>Run DelayedExplorerStart.bat at logon.^</Description^> echo( ^<Description^>Run DelayedExplorerStart.bat at logon.^</Description^>
echo ^</RegistrationInfo^> echo( ^</RegistrationInfo^>
echo ^<Triggers^> echo( ^<Triggers^>
echo ^<LogonTrigger^> echo( ^<LogonTrigger^>
echo ^<Enabled^>true^</Enabled^> echo( ^<Enabled^>true^</Enabled^>
echo ^</LogonTrigger^> echo( ^</LogonTrigger^>
echo ^</Triggers^> echo( ^</Triggers^>
echo ^<Principals^> echo( ^<Principals^>
echo ^<Principal id="Author"^> echo( ^<Principal id="Author"^>
echo ^<UserId^>%USERNAME%</UserId^> echo( ^<UserId^>!USERNAME!^</UserId^>
echo ^<LogonType>InteractiveToken</LogonType> echo( ^<LogonType^>InteractiveToken^</LogonType^>
echo ^<RunLevel^>HighestAvailable^</RunLevel^> echo( ^<RunLevel^>HighestAvailable^</RunLevel^>
echo ^</Principal^> echo( ^</Principal^>
echo ^</Principals^> echo( ^</Principals^>
echo ^<Settings^> echo( ^<Settings^>
echo ^<MultipleInstancesPolicy^>IgnoreNew^</MultipleInstancesPolicy^> echo( ^<MultipleInstancesPolicy^>IgnoreNew^</MultipleInstancesPolicy^>
echo ^<DisallowStartIfOnBatteries^>false^</DisallowStartIfOnBatteries^> echo( ^<DisallowStartIfOnBatteries^>false^</DisallowStartIfOnBatteries^>
echo ^<StopIfGoingOnBatteries^>false^</StopIfGoingOnBatteries^> echo( ^<StopIfGoingOnBatteries^>false^</StopIfGoingOnBatteries^>
echo ^<AllowHardTerminate^>true^</AllowHardTerminate^> echo( ^<AllowHardTerminate^>true^</AllowHardTerminate^>
echo ^<StartWhenAvailable^>true^</StartWhenAvailable^> echo( ^<StartWhenAvailable^>true^</StartWhenAvailable^>
echo ^<RunOnlyIfNetworkAvailable^>false^</RunOnlyIfNetworkAvailable^> echo( ^<RunOnlyIfNetworkAvailable^>false^</RunOnlyIfNetworkAvailable^>
echo ^<IdleSettings^> echo( ^<IdleSettings^>
echo ^<StopOnIdleEnd^>true^</StopOnIdleEnd^> echo( ^<StopOnIdleEnd^>true^</StopOnIdleEnd^>
echo ^<RestartOnIdle^>false^</RestartOnIdle^> echo( ^<RestartOnIdle^>false^</RestartOnIdle^>
echo ^</IdleSettings^> echo( ^</IdleSettings^>
echo ^<Enabled^>true^</Enabled^> echo( ^<Enabled^>true^</Enabled^>
echo ^<Hidden^>false^</Hidden^> echo( ^<Hidden^>false^</Hidden^>
echo ^<WakeToRun^>false^</WakeToRun^> echo( ^<WakeToRun^>false^</WakeToRun^>
echo ^<ExecutionTimeLimit^>PT72H^</ExecutionTimeLimit^> echo( ^<ExecutionTimeLimit^>PT72H^</ExecutionTimeLimit^>
echo ^<Priority^>7^</Priority^> echo( ^<Priority^>7^</Priority^>
echo ^</Settings^> echo( ^</Settings^>
echo ^<Actions Context="Author"^> echo( ^<Actions Context="Author"^>
echo ^<Exec^> echo( ^<Exec^>
echo ^<Command^>wscript.exe^</Command^> echo( ^<Command^>wscript.exe^</Command^>
echo ^<Arguments^>"%VBS_PATH%"^</Arguments^> echo( ^<Arguments^>"!VBS_PATH!"^</Arguments^>
echo ^</Exec^> echo( ^</Exec^>
echo ^</Actions^> echo( ^</Actions^>
echo ^</Task^> echo(^</Task^>
) > "%XML_PATH%" ) > "%XML_PATH%"
echo Delete the existing scheduled task if it exists echo Delete the existing scheduled task if it exists