Windows 8 Task Scheduler will not run "At system startup" task

AWS

Staff member
Jan 10, 2007
Florida
I have moved to Windows 8 from XP where &quoton startup&quot tasks worked fine.
In Windows 8 I can't for the life of me get one to run. I add it through the UI and have Enable Tasks History set, but it never runs and there are no errors in the Event Log.
The task is (for now) just to run a test .bat script, and is defined as:
&lt?xml version=&quot1.0&quot encoding=&quotUTF-16&quot?&gt
&ltTask version=&quot1.4&quot xmlns=&quothttp://schemas.microsoft.com/windows/2004/02/mit/task&quot&gt
&ltRegistrationInfo&gt
&ltDate&gt2013-01-05T11:04:13.4996188&lt/Date&gt
&ltAuthor&gtJCPR-Dell-3peter&lt/Author&gt
&lt/RegistrationInfo&gt
&ltTriggers&gt
&ltBootTrigger&gt
&ltEnabled&gttrue&lt/Enabled&gt
&ltDelay&gtPT10S&lt/Delay&gt
&lt/BootTrigger&gt
&lt/Triggers&gt
&ltPrincipals&gt
&ltPrincipal id=&quotAuthor&quot&gt
&ltRunLevel&gtHighestAvailable&lt/RunLevel&gt
&ltUserId&gtS-1-5-18&lt/UserId&gt
&lt/Principal&gt
&lt/Principals&gt
&ltSettings&gt
&ltMultipleInstancesPolicy&gtIgnoreNew&lt/MultipleInstancesPolicy&gt
&ltDisallowStartIfOnBatteries&gttrue&lt/DisallowStartIfOnBatteries&gt
&ltStopIfGoingOnBatteries&gttrue&lt/StopIfGoingOnBatteries&gt
&ltAllowHardTerminate&gttrue&lt/AllowHardTerminate&gt
&ltStartWhenAvailable&gtfalse&lt/StartWhenAvailable&gt
&ltRunOnlyIfNetworkAvailable&gtfalse&lt/RunOnlyIfNetworkAvailable&gt
&ltIdleSettings&gt
&ltStopOnIdleEnd&gttrue&lt/StopOnIdleEnd&gt
&ltRestartOnIdle&gtfalse&lt/RestartOnIdle&gt
&lt/IdleSettings&gt
&ltAllowStartOnDemand&gttrue&lt/AllowStartOnDemand&gt
&ltEnabled&gttrue&lt/Enabled&gt
&ltHidden&gtfalse&lt/Hidden&gt
&ltRunOnlyIfIdle&gtfalse&lt/RunOnlyIfIdle&gt
&ltDisallowStartOnRemoteAppSession&gtfalse&lt/DisallowStartOnRemoteAppSession&gt
&ltUseUnifiedSchedulingEngine&gtfalse&lt/UseUnifiedSchedulingEngine&gt
&ltWakeToRun&gtfalse&lt/WakeToRun&gt
&ltExecutionTimeLimit&gtP3D&lt/ExecutionTimeLimit&gt
&ltPriority&gt7&lt/Priority&gt
&lt/Settings&gt
&ltActions Context=&quotAuthor&quot&gt
&ltExec&gt
&ltCommand&gtcmd&lt/Command&gt
&ltArguments&gt/c E:utilscy-test.bat arg1 arg2&lt/Arguments&gt
&lt/Exec&gt
&lt/Actions&gt
&lt/Task&gt
The scheduler task is running (other tasks run and show history).
I have tried without and with the &quot&ltDelay&gtPT10S&lt/Delay&gt&quot.

What on earth is (not) going on?




View the full article
 
Back
Top Bottom