Home > SCCM Software Updates > Reboot Pending

Reboot Pending

You can create a collection to contain devices that are pending a reboot after software updates are deployed.  To do this create a collection and add a query with the statement containing:

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System  inner join SMS_G_System_PatchStatusEx on SMS_G_System_PatchStatusEx.ResourceID = SMS_R_System.ResourceId where SMS_G_System_PatchStatusEx.LastStateName = "reboot pending"


Categories: SCCM Software Updates
  1. Jeroen Erkelens
    June 14, 2011 at 5:09 am

    Hi Josh,

    Good post, but I have one question; here you’re using the patch mgt return states, but is there a way of finding all pending reboots using SCCM (without querying the remote registry/event logs)?


    • June 14, 2011 at 6:44 am

      Without querying the remote WMI instance I am not sure this can be done. If it is a reboot tied to a software deployment that you are doing you might (have not tried it) be able get that information since it is in the SCCM reports.

  1. February 13, 2012 at 9:40 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: