Running a script before installing software updates in SCCM.

  • Running a script before installing software updates in SCCM.

    Posted by Roddy Gelberty on 18 July 2020 at 8:03 pm

    Is there a way to run VB Scripts or PowerShell scripts before SCCM could install Software updates on a machine.
    There are certain machines in our environment that require some actions to happen before installing Software updates.

    • This discussion was modified 3 years, 9 months ago by  Topaz George.
    Roddy Gelberty replied 3 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply
  • Roddy Gelberty

    Member
    18 July 2020 at 8:28 pm

    Use the new experimental feature in the Microsoft End Point Configuration Manager 2004 release called “Orchestration Groups’. This is used to call the “Server Groups” historically.
    https://docs.microsoft.com/en-us/mem/configmgr/sum/deploy-use/orchestration-groups
    Pretty straight forward. Gives you an opportunity to run a script before and after software update deployments for a group of devices managed by SCCM.
    Also, remember if the software deployment begins on one device the deployment would also start on the other devices in the ‘Orchestration Group’.
    This is a cool feature with multiple use cases.

Log in to reply.

DCOM hardening issue.

This application fails to authenticate with WMI on the SCCM server because Microsoft has not yet hardened DCOM on their Windows Preinstallation Environment. We are working on a different approach, but it will only be released during the first quarter of 2024. But until that time, the only workaround will be to uninstall the update corresponding to KB5004442.