2022-04-01

Check for pending restart

 Windows pending restart is unfortunately not a singular registration, but is in three differen places in the Windows Registry:

  • HKLM: SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
  • HKLM: System\CurrentControlSet\Control\Session Manager, PendingFileRenameOperations
  • HKLM: SOFTWARE\CapaSystems\RestartStatus, Reboot
The last one is specific for the Capa (CapaSystems.dk) systems, that I have met in a IT infrastructure.