Friday, May 18, 2018

SCCM Server Groups

What Are Server Groups?

Within SCCM Assets and Compliance you can create a collection containing Server Client membership. Once the 'Server Group' feature is enabled the properties of the collection will contain an additional option to declare that all members of the collection are part of a server group.  This means SCCM knows that the servers within this collection must be treated with specific logic and settings.

In the example below the collection contains three nodes of a cluster and only one node may be Software Updated at a time.

Once policy is received for the Software Update Group deployment an election is held in which one of the nodes will engage a lock state forcing the other nodes to wait until it has been released.

The UpdatesDeployment.log details the 'Lock State'. Once the node has taken the lock (Lock State: 1) the server will then run the 'Node Drain Script' and continue if the script has an exit code of 0 zero or if the script times out (600 seconds default).

After the main deployment is complete the 'Node resume script' is run and the lock state is returned to 2.

'Node Drain Script' [Untested in Production]

'Node resume script'

Lock States
There are four lock states:

Waiting for Lock: 0
Have Lock: 1
Released Lock: 2
Node Script Failed: 3

The SQL script below will report on all Server Groups with Pre and Post Actions as well as current client Lock states.



  1. Your script won't fit as a collection setting, it is limited to 255 characters. For better details see

  2. We created the software program with eyesight to provide companies worldwide high-quality internet structures which easily simplify the way they do business
    web design & development company

  3. I would like to thank the developers of this super mobile app consultancies
    services website for this hyperlink and to supply us with the comfortability for incomes after the utilization of it!

  4. If somebody wants expert take on the main topic of blogging next I advise him/her to go to this site, continue the fussy job.
    interactive design firms

  5. If somebody wants expert take on the main topic of blogging next I advise him/her to go to this site, continue the fussy job.
    best logo design company in the world

  6. It’s amazing to visit again n again coming to your blogs the superb effort is here.
    top website designing companies

  7. Hey buddies, such a marvelous blog you have made I’m surprised to read such informative stuf
    UX design studios