SCCM 2012 SP2 Upgrade - Pending system restart

SCCM 2012 SP2 Upgrade - Pending Restart

If you attempt to run the SCCM 2012 SP2 upgrade, the prerequisite checker may inform you that the server is 'Pending a restart'. If after restarting the server you still get the same error message over and over, I have found a solution below:

ConfigMgrPrereq.log extract

<11-06-2015 13:00:36> ServerName001.domain.local;    Pending system restart;    Error;    Another program requires the server to be restarted before Setup can continue.


HKLM\Software\Microsoft\Server manager'

'CurrentRebootAttempts' should be set to 0 (and not 2)
'Actions' should be clear (Delete string value if present)

For more SCCM tips and consulting, just leave a comment below!