BGInfo to show pending reboot

Joseph Terry 26 Reputation points
2022-08-19T18:01:24.14+00:00

We used to have a PC Info tool that gave us some really nice system information. One of these items was a status on whether the PC was pending a restart or not.
I would like to configure something similar with BGInfo, but I'm not real sure on what to reference or how to implement it.

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,162 questions
{count} votes

Accepted answer
  1. Rafael da Rocha 5,166 Reputation points
    2022-08-19T22:15:14.423+00:00

    Hello, you may use the attached script, as shown in the screenshot.
    233024-bginfo.png

    Remember to change the extension from txt to vbs.
    This script will output "YES" or "NO", but this can be changed.

    rebootvbs.txt


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.