Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Task Scheduler query

Reply
 
Old 06-04-2007   #1 (permalink)
Delboy


 
 

Task Scheduler query

I have finally got Task Scheduler to create System Restore Points. Why it
stopped, I have no idea. Maybe something to do with the reload recommended
by Packard Bell following DVD R/RW drive. Question: What is "Universal
Time"? Does this mean GMT? (Zulu Time) If so my SRs are due 00.00 British
Summertime (UT not ticked). But since I am an early bird, this now means SR
at next Start Up. No a desperate question, just curious.

--

Delboy

A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools.

Douglas Adams


My System SpecsSystem Spec
Old 06-04-2007   #2 (permalink)
Jon


 
 

Re: Task Scheduler query


"Delboy" <spamfree.delboy.hoy@btinternet.com> wrote in message
news:u0VG9TspHHA.1852@TK2MSFTNGP05.phx.gbl...
>I have finally got Task Scheduler to create System Restore Points. Why it
>stopped, I have no idea. Maybe something to do with the reload recommended
>by Packard Bell following DVD R/RW drive. Question: What is "Universal
>Time"? Does this mean GMT? (Zulu Time) If so my SRs are due 00.00 British
>Summertime (UT not ticked). But since I am an early bird, this now means SR
>at next Start Up. No a desperate question, just curious.
>
> --
>
> Delboy
>
> A common mistake that people make when trying to design something
> completely foolproof is to underestimate the ingenuity of complete fools.
>
> Douglas Adams



Now that you've configured it to work correctly, it might help others if you
exported the working task as .xml, opened it up in notepad, and pasted it in
here. I know a number of people have had problems with that partcular
scheduled task, so it would be interesting to see if / how your
configuration differs from the default. (remove any personal details if you
like).

--
Jon


My System SpecsSystem Spec
Old 06-05-2007   #3 (permalink)
Delboy


 
 

Re: Task Scheduler query

Hi Jon,

Here are my settings (also attached as SR 3day.xml). I think I have set it
to make RPs at 3 day; or ASAP after the trigger (in case I have gone to bed
early).


<?xml version="1.0" encoding="UTF-16" ?>
- <Task version="1.2"
xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
- <RegistrationInfo>
<Source>Microsoft Corporation</Source>
<Author>Microsoft Corporation</Author>
<Description>This task creates regular system protection
points.</Description>
<URI>Microsoft\Windows\SystemRestore\SR</URI>
</RegistrationInfo>
- <Triggers>
- <CalendarTrigger id="1135f611-8faf-40e6-9fe7-deb23224f0b1">
<StartBoundary>2007-06-03T00:00:00</StartBoundary>
<Enabled>true</Enabled>
- <ScheduleByDay>
<DaysInterval>3</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
- <CalendarTrigger id="16a2fa56-feae-455a-8dea-0ab1e6f2212b">
<StartBoundary>2007-06-05T00:00:00</StartBoundary>
<Enabled>false</Enabled>
- <ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
</Triggers>
- <Principals>
- <Principal id="LocalSystem">
<UserId>SYSTEM</UserId>
<RunLevel>LeastPrivilege</RunLevel>
</Principal>
</Principals>
- <Settings>
- <IdleSettings>
<Duration>PT10M</Duration>
<WaitTimeout>PT1H</WaitTimeout>
<StopOnIdleEnd>false</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>true</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>P3D</ExecutionTimeLimit>
<Priority>7</Priority>
- <RestartOnFailure>
<Interval>PT1M</Interval>
<Count>3</Count>
</RestartOnFailure>
</Settings>
- <Actions Context="LocalSystem">
- <Exec>
<Command>%windir%\system32\rundll32.exe</Command>
<Arguments>/d srrstr.dll,ExecuteScheduledSPPCreation</Arguments>
</Exec>
</Actions>
</Task>

Not that it answers my question :-}. Incidentally, it seems as though
setting Backup & Restore ALSO triggers a RP at the same time although I have
not tested any restorations. Here is a simple test (courtesy of Mike M over
on windowsme.general).

1 put any shortcut on the desktop.
2 create or wait until next SR point.
3 Delete the shortcut made in 1.
4 Restore to SR made in 2.
5 If shortcut reappears, RP & R both successful.

BTW, I mentioned in my OP that following problems with my DVD R/RW drive,
Packard Bell had me re install back to "out of the box" status. Before doing
this, I am half sure I saw a System Scheduled Set Point, but never again
since. Perhaps I imagined it ...

--

Delboy

A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools.

Douglas Adams
"Jon" <Email_Address@SomewhereOrOther.com> wrote in message
news:%23C1ij7tpHHA.2652@TK2MSFTNGP02.phx.gbl...
>
> "Delboy" <spamfree.delboy.hoy@btinternet.com> wrote in message
> news:u0VG9TspHHA.1852@TK2MSFTNGP05.phx.gbl...
>>I have finally got Task Scheduler to create System Restore Points. Why it
>>stopped, I have no idea. Maybe something to do with the reload recommended
>>by Packard Bell following DVD R/RW drive. Question: What is "Universal
>>Time"? Does this mean GMT? (Zulu Time) If so my SRs are due 00.00 British
>>Summertime (UT not ticked). But since I am an early bird, this now means
>>SR at next Start Up. No a desperate question, just curious.
>>
>> --
>>
>> Delboy
>>
>> A common mistake that people make when trying to design something
>> completely foolproof is to underestimate the ingenuity of complete fools.
>>
>> Douglas Adams

>
>
> Now that you've configured it to work correctly, it might help others if
> you exported the working task as .xml, opened it up in notepad, and pasted
> it in here. I know a number of people have had problems with that
> particular scheduled task, so it would be interesting to see if / how your
> configuration differs from the default. (remove any personal details if
> you like).
>
> --
> Jon
>
>


My System SpecsSystem Spec
Old 06-05-2007   #4 (permalink)
Jon


 
 

Re: Task Scheduler query

Hi Delboy

Thanks for that. Imported it here sucessfully. Looks like you've made some
interesting changes, compared to the original task.


I see you've unchecked all the conditions on the conditions tab
eg the 'on idle' condition (which I have a feeling may well be the culprit)
and the 'start only when on ac power' setting.

and you've also enabled the 'If the task fails, restart every..' every
minute for once a minute for 3 minutes' which probably helps too.

That may well help other people who are having problems with the task.



Re your UTC question, this is pasted from the Task Scheduler 'Help' section
regarding 'Triggers' which may help to resolve that question.....

"Check the Universal check box to make the time relative to Coordinated
Universal Time (UTC) instead of the time zone that is set on the computer
that runs the task. Use the Universal setting when you want to coordinate a
set of tasks to run simultaneously in multiple time zones. "

So I suppose the task would run at the same time, regardless of whether
you've switched to a different time zone in the course of your travels.

--
Jon


"Delboy" <spamfree.delboy.hoy@btinternet.com> wrote in message
news:%23DKf7S4pHHA.3508@TK2MSFTNGP05.phx.gbl...
> Hi Jon,
>
> Here are my settings (also attached as SR 3day.xml). I think I have set
> it
> to make RPs at 3 day; or ASAP after the trigger (in case I have gone to
> bed
> early).
>
>
> <?xml version="1.0" encoding="UTF-16" ?>
> - <Task version="1.2"
> xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
> - <RegistrationInfo>
> <Source>Microsoft Corporation</Source>
> <Author>Microsoft Corporation</Author>
> <Description>This task creates regular system protection
> points.</Description>
> <URI>Microsoft\Windows\SystemRestore\SR</URI>
> </RegistrationInfo>
> - <Triggers>
> - <CalendarTrigger id="1135f611-8faf-40e6-9fe7-deb23224f0b1">
> <StartBoundary>2007-06-03T00:00:00</StartBoundary>
> <Enabled>true</Enabled>
> - <ScheduleByDay>
> <DaysInterval>3</DaysInterval>
> </ScheduleByDay>
> </CalendarTrigger>
> - <CalendarTrigger id="16a2fa56-feae-455a-8dea-0ab1e6f2212b">
> <StartBoundary>2007-06-05T00:00:00</StartBoundary>
> <Enabled>false</Enabled>
> - <ScheduleByDay>
> <DaysInterval>1</DaysInterval>
> </ScheduleByDay>
> </CalendarTrigger>
> </Triggers>
> - <Principals>
> - <Principal id="LocalSystem">
> <UserId>SYSTEM</UserId>
> <RunLevel>LeastPrivilege</RunLevel>
> </Principal>
> </Principals>
> - <Settings>
> - <IdleSettings>
> <Duration>PT10M</Duration>
> <WaitTimeout>PT1H</WaitTimeout>
> <StopOnIdleEnd>false</StopOnIdleEnd>
> <RestartOnIdle>false</RestartOnIdle>
> </IdleSettings>
> <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
> <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
> <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
> <AllowHardTerminate>true</AllowHardTerminate>
> <StartWhenAvailable>true</StartWhenAvailable>
> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
> <AllowStartOnDemand>true</AllowStartOnDemand>
> <Enabled>true</Enabled>
> <Hidden>false</Hidden>
> <RunOnlyIfIdle>false</RunOnlyIfIdle>
> <WakeToRun>false</WakeToRun>
> <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
> <Priority>7</Priority>
> - <RestartOnFailure>
> <Interval>PT1M</Interval>
> <Count>3</Count>
> </RestartOnFailure>
> </Settings>
> - <Actions Context="LocalSystem">
> - <Exec>
> <Command>%windir%\system32\rundll32.exe</Command>
> <Arguments>/d srrstr.dll,ExecuteScheduledSPPCreation</Arguments>
> </Exec>
> </Actions>
> </Task>
>
> Not that it answers my question :-}. Incidentally, it seems as though
> setting Backup & Restore ALSO triggers a RP at the same time although I
> have
> not tested any restorations. Here is a simple test (courtesy of Mike M
> over
> on windowsme.general).
>
> 1 put any shortcut on the desktop.
> 2 create or wait until next SR point.
> 3 Delete the shortcut made in 1.
> 4 Restore to SR made in 2.
> 5 If shortcut reappears, RP & R both successful.
>
> BTW, I mentioned in my OP that following problems with my DVD R/RW drive,
> Packard Bell had me re install back to "out of the box" status. Before
> doing
> this, I am half sure I saw a System Scheduled Set Point, but never again
> since. Perhaps I imagined it ...
>
> --
>
> Delboy
>
> A common mistake that people make when trying to design something
> completely
> foolproof is to underestimate the ingenuity of complete fools.
>
> Douglas Adams
> "Jon" <Email_Address@SomewhereOrOther.com> wrote in message
> news:%23C1ij7tpHHA.2652@TK2MSFTNGP02.phx.gbl...
>>
>> "Delboy" <spamfree.delboy.hoy@btinternet.com> wrote in message
>> news:u0VG9TspHHA.1852@TK2MSFTNGP05.phx.gbl...
>>>I have finally got Task Scheduler to create System Restore Points. Why it
>>>stopped, I have no idea. Maybe something to do with the reload
>>>recommended
>>>by Packard Bell following DVD R/RW drive. Question: What is "Universal
>>>Time"? Does this mean GMT? (Zulu Time) If so my SRs are due 00.00 British
>>>Summertime (UT not ticked). But since I am an early bird, this now means
>>>SR at next Start Up. No a desperate question, just curious.
>>>
>>> --
>>>
>>> Delboy
>>>
>>> A common mistake that people make when trying to design something
>>> completely foolproof is to underestimate the ingenuity of complete
>>> fools.
>>>
>>> Douglas Adams

>>
>>
>> Now that you've configured it to work correctly, it might help others if
>> you exported the working task as .xml, opened it up in notepad, and
>> pasted
>> it in here. I know a number of people have had problems with that
>> particular scheduled task, so it would be interesting to see if / how
>> your
>> configuration differs from the default. (remove any personal details if
>> you like).
>>
>> --
>> Jon
>>
>>

>


My System SpecsSystem Spec
Old 06-05-2007   #5 (permalink)
Delboy


 
 

Re: Task Scheduler query

You're welcome Jon,

After considering the options and a couple of NBG efforts, that's what I
came up with. I more or less unticked everything that seemed to do with
laptops, which seemed to work.

Always willing to help others (unlike some of the trolls one sees in here).
A pleasant "thank you" helps as well. :-}

--

Delboy

A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools.

Douglas Adams
"Jon" <Email_Address@SomewhereOrOther.com> wrote in message
news:OXeJiY6pHHA.3644@TK2MSFTNGP02.phx.gbl...
> Hi Delboy
>
> Thanks for that. Imported it here sucessfully. Looks like you've made some
> interesting changes, compared to the original task.
>
>
> I see you've unchecked all the conditions on the conditions tab
> eg the 'on idle' condition (which I have a feeling may well be the
> culprit) and the 'start only when on ac power' setting.
>
> and you've also enabled the 'If the task fails, restart every..' every
> minute for once a minute for 3 minutes' which probably helps too.
>
> That may well help other people who are having problems with the task.
>
>
>
> Re your UTC question, this is pasted from the Task Scheduler 'Help'
> section regarding 'Triggers' which may help to resolve that question.....
>
> "Check the Universal check box to make the time relative to Coordinated
> Universal Time (UTC) instead of the time zone that is set on the computer
> that runs the task. Use the Universal setting when you want to coordinate
> a set of tasks to run simultaneously in multiple time zones. "
>
> So I suppose the task would run at the same time, regardless of whether
> you've switched to a different time zone in the course of your travels.
>
> --
> Jon
>
>
> "Delboy" <spamfree.delboy.hoy@btinternet.com> wrote in message
> news:%23DKf7S4pHHA.3508@TK2MSFTNGP05.phx.gbl...
>> Hi Jon,
>>
>> Here are my settings (also attached as SR 3day.xml). I think I have set
>> it
>> to make RPs at 3 day; or ASAP after the trigger (in case I have gone to
>> bed
>> early).
>>
>>
>> <?xml version="1.0" encoding="UTF-16" ?>
>> - <Task version="1.2"
>> xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
>> - <RegistrationInfo>
>> <Source>Microsoft Corporation</Source>
>> <Author>Microsoft Corporation</Author>
>> <Description>This task creates regular system protection
>> points.</Description>
>> <URI>Microsoft\Windows\SystemRestore\SR</URI>
>> </RegistrationInfo>
>> - <Triggers>
>> - <CalendarTrigger id="1135f611-8faf-40e6-9fe7-deb23224f0b1">
>> <StartBoundary>2007-06-03T00:00:00</StartBoundary>
>> <Enabled>true</Enabled>
>> - <ScheduleByDay>
>> <DaysInterval>3</DaysInterval>
>> </ScheduleByDay>
>> </CalendarTrigger>
>> - <CalendarTrigger id="16a2fa56-feae-455a-8dea-0ab1e6f2212b">
>> <StartBoundary>2007-06-05T00:00:00</StartBoundary>
>> <Enabled>false</Enabled>
>> - <ScheduleByDay>
>> <DaysInterval>1</DaysInterval>
>> </ScheduleByDay>
>> </CalendarTrigger>
>> </Triggers>
>> - <Principals>
>> - <Principal id="LocalSystem">
>> <UserId>SYSTEM</UserId>
>> <RunLevel>LeastPrivilege</RunLevel>
>> </Principal>
>> </Principals>
>> - <Settings>
>> - <IdleSettings>
>> <Duration>PT10M</Duration>
>> <WaitTimeout>PT1H</WaitTimeout>
>> <StopOnIdleEnd>false</StopOnIdleEnd>
>> <RestartOnIdle>false</RestartOnIdle>
>> </IdleSettings>
>> <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
>> <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
>> <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
>> <AllowHardTerminate>true</AllowHardTerminate>
>> <StartWhenAvailable>true</StartWhenAvailable>
>> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
>> <AllowStartOnDemand>true</AllowStartOnDemand>
>> <Enabled>true</Enabled>
>> <Hidden>false</Hidden>
>> <RunOnlyIfIdle>false</RunOnlyIfIdle>
>> <WakeToRun>false</WakeToRun>
>> <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
>> <Priority>7</Priority>
>> - <RestartOnFailure>
>> <Interval>PT1M</Interval>
>> <Count>3</Count>
>> </RestartOnFailure>
>> </Settings>
>> - <Actions Context="LocalSystem">
>> - <Exec>
>> <Command>%windir%\system32\rundll32.exe</Command>
>> <Arguments>/d srrstr.dll,ExecuteScheduledSPPCreation</Arguments>
>> </Exec>
>> </Actions>
>> </Task>
>>
>> Not that it answers my question :-}. Incidentally, it seems as though
>> setting Backup & Restore ALSO triggers a RP at the same time although I
>> have
>> not tested any restorations. Here is a simple test (courtesy of Mike M
>> over
>> on windowsme.general).
>>
>> 1 put any shortcut on the desktop.
>> 2 create or wait until next SR point.
>> 3 Delete the shortcut made in 1.
>> 4 Restore to SR made in 2.
>> 5 If shortcut reappears, RP & R both successful.
>>
>> BTW, I mentioned in my OP that following problems with my DVD R/RW drive,
>> Packard Bell had me re install back to "out of the box" status. Before
>> doing
>> this, I am half sure I saw a System Scheduled Set Point, but never again
>> since. Perhaps I imagined it ...
>>
>> --
>>
>> Delboy
>>
>> A common mistake that people make when trying to design something
>> completely
>> foolproof is to underestimate the ingenuity of complete fools.
>>
>> Douglas Adams
>> "Jon" <Email_Address@SomewhereOrOther.com> wrote in message
>> news:%23C1ij7tpHHA.2652@TK2MSFTNGP02.phx.gbl...
>>>
>>> "Delboy" <spamfree.delboy.hoy@btinternet.com> wrote in message
>>> news:u0VG9TspHHA.1852@TK2MSFTNGP05.phx.gbl...
>>>>I have finally got Task Scheduler to create System Restore Points. Why
>>>>it
>>>>stopped, I have no idea. Maybe something to do with the reload
>>>>recommended
>>>>by Packard Bell following DVD R/RW drive. Question: What is "Universal
>>>>Time"? Does this mean GMT? (Zulu Time) If so my SRs are due 00.00
>>>>British
>>>>Summertime (UT not ticked). But since I am an early bird, this now means
>>>>SR at next Start Up. No a desperate question, just curious.
>>>>
>>>> --
>>>>
>>>> Delboy
>>>>
>>>> A common mistake that people make when trying to design something
>>>> completely foolproof is to underestimate the ingenuity of complete
>>>> fools.
>>>>
>>>> Douglas Adams
>>>
>>>
>>> Now that you've configured it to work correctly, it might help others if
>>> you exported the working task as .xml, opened it up in notepad, and
>>> pasted
>>> it in here. I know a number of people have had problems with that
>>> particular scheduled task, so it would be interesting to see if / how
>>> your
>>> configuration differs from the default. (remove any personal details if
>>> you like).
>>>
>>> --
>>> Jon
>>>
>>>

>>

>


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Task Scheduler Compatibility module task status update failed General Discussion
Task Scheduler Error-task image corrupt or has been tampered with User_Feed_Synchroni General Discussion
Schedule a task with Vista task Scheduler wakes up computer and mo Vista General
Task scheduler returns an error : the task image is corrupt ortamp Vista performance & maintenance
Task Scheduler - command <schtasks /query /fo csv /nh> does not wo Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46