Fix XML echo commands and update schtasks command

This commit is contained in:
jazir5
2025-10-17 16:13:15 -07:00
committed by GitHub
parent a8cee33437
commit e69d1db9b1

View File

@@ -94,7 +94,7 @@ 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^>
@@ -128,7 +128,7 @@ echo Delete the existing scheduled task if it exists
schtasks /delete /tn "RunDelayedExplorerStart" /f schtasks /delete /tn "RunDelayedExplorerStart" /f
echo Create the scheduled task using the XML file echo Create the scheduled task using the XML file
schtasks /create /tn "RunDelayedExplorerStart" /xml "%XML_PATH%" /ru "%USERNAME%" schtasks /create /tn "RunDelayedExplorerStart" /xml "%XML_PATH%" /ru "%USERNAME%" /rp ""
echo Delayed Explorer start script and VBScript created in Steam folder. echo Delayed Explorer start script and VBScript created in Steam folder.
echo Scheduled Task added to run the script at logon. echo Scheduled Task added to run the script at logon.