Task Scheduler won't open an interactive Window in Windows 8 Pro?

AWS

Staff member
Jan 10, 2007
Florida
If I use Task Scheduler to open a file or program, the file or program opens (I can see it's opened in Task Manager) but it does not show up in an interactive Window. The code below is for opening an Internet Explorer Window with a html file that plays
a song and reminds me to take my medication. I can hear the song playing when the task activates but no interactive Window opens. I can also see Internet Explorer is running in Task Manager and I can end the task there or in Task Scheduler. The same thing
happens if I try to use Task Scheduler to open an .exe program. The task is set to run in Windows 8 and I'm running Windows 8 Pro. Could that be the problem?
The Code:
&lt?xml version=&quot1.0&quot encoding=&quotUTF-16&quot?&gt
&ltTask version=&quot1.2&quot There was a Microsoft link here but it caused a submission error&gt
&ltRegistrationInfo&gt
&ltDate&gt2013-01-07T17:03:01.063985&lt/Date&gt
&ltAuthor&gtRobs-PCRob&lt/Author&gt
&ltDescription&gtTake Morning Medication&lt/Description&gt
&lt/RegistrationInfo&gt
&ltTriggers&gt
&ltCalendarTrigger&gt
&ltStartBoundary&gt2013-01-07T08:29:30&lt/StartBoundary&gt
&ltExecutionTimeLimit&gtP3D&lt/ExecutionTimeLimit&gt
&ltEnabled&gttrue&lt/Enabled&gt
&ltScheduleByDay&gt
&ltDaysInterval&gt1&lt/DaysInterval&gt
&lt/ScheduleByDay&gt
&lt/CalendarTrigger&gt
&lt/Triggers&gt
&ltPrincipals&gt
&ltPrincipal id=&quotAuthor&quot&gt
&ltUserId&gtRobs-PCRob&lt/UserId&gt
&ltLogonType&gtPassword&lt/LogonType&gt
&ltRunLevel&gtHighestAvailable&lt/RunLevel&gt
&lt/Principal&gt
&lt/Principals&gt
&ltSettings&gt
&ltMultipleInstancesPolicy&gtIgnoreNew&lt/MultipleInstancesPolicy&gt
&ltDisallowStartIfOnBatteries&gtfalse&lt/DisallowStartIfOnBatteries&gt
&ltStopIfGoingOnBatteries&gtfalse&lt/StopIfGoingOnBatteries&gt
&ltAllowHardTerminate&gttrue&lt/AllowHardTerminate&gt
&ltStartWhenAvailable&gttrue&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
&ltWakeToRun&gttrue&lt/WakeToRun&gt
&ltExecutionTimeLimit&gtP3D&lt/ExecutionTimeLimit&gt
&ltPriority&gt7&lt/Priority&gt
&lt/Settings&gt
&ltActions Context=&quotAuthor&quot&gt
&ltExec&gt
&ltCommand&gtC:UsersRobertScheduled-TasksTake-Morning-Medication.htm&lt/Command&gt
&lt/Exec&gt
&lt/Actions&gt
&lt/Task&gt
********
The link used to open the html file works from the Start/Run command line.

View the full article
 
Back
Top Bottom