question

Hannes-0921 avatar image
0 Votes"
Hannes-0921 asked ElevenYu-MSFT answered

Repeating scheduled task is running out of schedule

Hi,

We have an issue where a scheduled task configured by GPO is running out of schedule on some devices. The behavior is so inconsistent that I could not come up with any logical explanation.

Requirements:
The task should run at every full hour from 20:00 (8 pm) to 7:00 (7 am) during the week and every hour on weekends.

Setup:
42781-remote-desktop-connection1.png

The triggers are defines as shown in the screenshot.
"Synchronize across time zones" is NOT enabled.
"Run task as soon as possible after a scheduled start is missed" is NOT enabled.

Problem:
On the device where I took the screenshot, everything is working as expected. The tasks starts at 20:00 and the last run is at 07:00.
However, there are devices where the tasks starts at 20:00 and keeps repeating until 10:00. Sometimes.

42772-microsoftteams-image-2.png

So while this happened yesterday, the same issue did not occur on the same device with the same network connection today:

42782-microsoftteams-image-1.png

My intuition was that this had something to do with time zone settings, but I compared them with another device where the issue did not occur so far and the settings were the same (same time zone, automatic daylight saving time switching enabled). However, even if wrong time settings should be causing the issue, then the start time should be delayed as well, but it is not.

Any ideas what I could be missing here?

Thank you!



windows-10-generalwindows-group-policy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered

Hi,

Could you please also share screenshots of below settings? Please hide your personal information.

42912-image.png
42913-image.png
42921-image.png
42922-image.png



Thanks,
Eleven


image.png (27.3 KiB)
image.png (26.4 KiB)
image.png (28.7 KiB)
image.png (28.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hannes-0921 avatar image
0 Votes"
Hannes-0921 answered

Hi Eleven,

Thank you for your reply! I have attached screenshots of the task as applied on a computer as well as the XML configuration of the User GPO Task.

42919-2020-11-26-12-39-01-remote-desktop-connection.png
42920-2020-11-26-12-42-50-remote-desktop-connection.png
43024-2020-11-26-12-41-06-remote-desktop-connection.png
43042-2020-11-26-12-41-33-remote-desktop-connection.png
43061-2020-11-26-12-41-55-remote-desktop-connection.png
43036-2020-11-26-12-43-33-remote-desktop-connection.png
43043-2020-11-26-12-44-17-remote-desktop-connection.png

43037-task.xml



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered

Hi,

Thanks for your information.

It seems there is no setting problem as per the screenshots. In this case, you might need to capture some dumps or traces to further investigate the issue, which I suggest to contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue.
 
You may find phone number for your region accordingly from the link below:
Global Customer Service phone numbers
https://support.microsoft.com/en-us/help/4051701/global-customer-service-phone-numbers

Thanks,
Eleven

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.