I've been successfully deploying software to clients using both packages and task sequences for a while, but I've only just started using Maintenance Windows to try to restrict when these deployments can run. The intention is to use them in conjunction with WOL.
With packages these windows work perfectly, but I've recently discovered some odd behaviour with task sequences.
I know that the total time available within the service window has to exceed the maximum possible run time for a package (plus five minutes) and that's exactly what I've found. But when I try to run a TS in a service window they tend to fail with an error of "Program may never run due to Service Window Constraints" unless the maintenance window is at least six hours long. I've found that the actual contents of the TS doesn't seem to make a difference. Even running a couple of packages within one with maximum durations of five or ten minutes each, still gives the same error if the window itself is less than six hours. But set the window for six hours or more and there is no problem and the task sequence successfully runs when the mandatory advertisement starts.
I don't want to set the advertisements to ignore the maintenance windows (that would defy the whole point of using them) and if need be I can use longer windows, but it just seems bizzare that there is this restriction.
Does anyone know what is causing this or if there is a workaround? I haven't been able to find any documentation relating to this particular issue!
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
I've been successfully deploying software to clients using both packages and task sequences for a while, but I've only just started using Maintenance Windows to try to restrict when these deployments can run. The intention is to use them in conjunction with WOL.
With packages these windows work perfectly, but I've recently discovered some odd behaviour with task sequences.
I know that the total time available within the service window has to exceed the maximum possible run time for a package (plus five minutes) and that's exactly what I've found. But when I try to run a TS in a service window they tend to fail with an error of "Program may never run due to Service Window Constraints" unless the maintenance window is at least six hours long. I've found that the actual contents of the TS doesn't seem to make a difference. Even running a couple of packages within one with maximum durations of five or ten minutes each, still gives the same error if the window itself is less than six hours. But set the window for six hours or more and there is no problem and the task sequence successfully runs when the mandatory advertisement starts.
I don't want to set the advertisements to ignore the maintenance windows (that would defy the whole point of using them) and if need be I can use longer windows, but it just seems bizzare that there is this restriction.
Does anyone know what is causing this or if there is a workaround? I haven't been able to find any documentation relating to this particular issue!
Share this post
Link to post
Share on other sites