Tuesday, September 8, 2015

Pending Reboot: Where to check

When a computer is "Pending Reboot" the Windows Installer service is suspended.  That means that nothing can be installed until the reboot takes place.  Nothing includes Windows Updates, so it is important to ensure the computers in your environment don't just sit around in "Pending Reboot".  Here is where you need to check to see if a computer is currently pending reboot:

Component Based Servicing (Windows 2008) - Registry Check
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\
RebootPending

Windows Update / Auto Update (Windows 2003 / 2008) - Registry Check
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\
RebootRequired

PendingFileRenameOperations (Windows 2003 / 2008) - Registry Check
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
<any contents>

CCMClientSDK = SCCM 2012 Clients only - WMI Check
Invoke-WmiMethod -Class CCM_ClientUtilities -Name DetermineIfRebootPending -Namespace ROOT\ccm\ClientSDK - Computer <computername>

If you want these already made into CIs for you, check this post:
Reboot Pending configuration item and baseline

No comments:

Post a Comment