Solved

File to check on pending reboot

Posted on 2009-05-12
1
1,104 Views
Last Modified: 2012-05-06
Need a batch file to search network for servers and computers that have a pending reboot.
0
Comment
Question by:sslbell
1 Comment
 
LVL 5

Accepted Solution

by:
AbqBill earned 500 total points
ID: 24463054
Hi sslbell, by 'a pending reboot', do you mean 'a machine that has a 'PendingFileRenameOperations' value in the registry? If so, I wrote a command-line tool called 'needboot' that can check for this on the local machine. You could combine needboot.exe with PSExec and find out which machines need rebooting. You can get needboot.exe from my web site: http://www.westmesatech.com/. Bill.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question