none
Maximum Allowed Run Time RRS feed

  • Question

  • Is there any possibility of conflict between Maximum Allowed Run Time and maintenance windows during app deployment? If so, which one will prevail?
    Tuesday, September 10, 2019 9:16 AM

Answers

  • Hi,

    I also hope that the information below will be helpful to you:

    If you use maintenance windows on the same collection to which you deploy this program, a conflict could occur if the Maximum allowed run time is longer than the scheduled maintenance window. If you set the maximum run time to Unknown, the program starts to run during the maintenance window. It then continues to run as needed after the maintenance window is closed. If you set the maximum run time to a specific period that's greater than the length of any available maintenance window, then the client doesn't run the program.

    reference: https://docs.microsoft.com/en-us/sccm/apps/deploy-use/packages-and-programs

    So, please set an exact value for "Maximum Allowed Run Time" because the maintenance window uses it to determine if the window is large enough to run the installation.



    Best regards,
    Larry


    Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, September 10, 2019 9:51 AM
  • Tuesday, September 10, 2019 9:29 AM
  • The maintenance window will take precedence over any deployment regardless of the maximum allowed run time.

    Website: www.walshamsolutions.com Technical Blog: https://www.walshamsolutions.com/technical-blog Personal Blog: https://www.walshamsolutions.com/personal-blog Twitter: Dwalshampro

    Tuesday, September 10, 2019 9:29 AM
  • Hi,

    By default, computer restarts caused by a deployment aren't allowed outside of a maintenance window, but you can override the default. Maintenance windows affect only the time when the deployment program runs; applications configured to download and run locally can download content outside of the window. It means no reboots outside of MWs unless you override this behavior on the deployment. Also, content download is never affected by MWs.

    When a client computer is a member of a device collection that has a maintenance window, a deployment program runs only if the maximum allowed run time doesn't exceed the duration configured for the window. If the program fails to run, an alert is generated and the deployment is rerun during the next scheduled maintenance window that has available time. It means that the configured run time of the program or deployment must be less than the duration of the MW otherwise it won't be able to run during that MW.

    Please refer to: Understanding Maintenance window in SCCM 2012 CB

    Hope my answer could help you. Thanks for your time.

    Best regards,
    Simon Ren

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by PratikP1981 Tuesday, September 10, 2019 2:39 PM
    Tuesday, September 10, 2019 9:58 AM

All replies

  • Tuesday, September 10, 2019 9:29 AM
  • The maintenance window will take precedence over any deployment regardless of the maximum allowed run time.

    Website: www.walshamsolutions.com Technical Blog: https://www.walshamsolutions.com/technical-blog Personal Blog: https://www.walshamsolutions.com/personal-blog Twitter: Dwalshampro

    Tuesday, September 10, 2019 9:29 AM
  • Hi,

    I also hope that the information below will be helpful to you:

    If you use maintenance windows on the same collection to which you deploy this program, a conflict could occur if the Maximum allowed run time is longer than the scheduled maintenance window. If you set the maximum run time to Unknown, the program starts to run during the maintenance window. It then continues to run as needed after the maintenance window is closed. If you set the maximum run time to a specific period that's greater than the length of any available maintenance window, then the client doesn't run the program.

    reference: https://docs.microsoft.com/en-us/sccm/apps/deploy-use/packages-and-programs

    So, please set an exact value for "Maximum Allowed Run Time" because the maintenance window uses it to determine if the window is large enough to run the installation.



    Best regards,
    Larry


    Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, September 10, 2019 9:51 AM
  • Hi,

    By default, computer restarts caused by a deployment aren't allowed outside of a maintenance window, but you can override the default. Maintenance windows affect only the time when the deployment program runs; applications configured to download and run locally can download content outside of the window. It means no reboots outside of MWs unless you override this behavior on the deployment. Also, content download is never affected by MWs.

    When a client computer is a member of a device collection that has a maintenance window, a deployment program runs only if the maximum allowed run time doesn't exceed the duration configured for the window. If the program fails to run, an alert is generated and the deployment is rerun during the next scheduled maintenance window that has available time. It means that the configured run time of the program or deployment must be less than the duration of the MW otherwise it won't be able to run during that MW.

    Please refer to: Understanding Maintenance window in SCCM 2012 CB

    Hope my answer could help you. Thanks for your time.

    Best regards,
    Simon Ren

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by PratikP1981 Tuesday, September 10, 2019 2:39 PM
    Tuesday, September 10, 2019 9:58 AM