Solved

File to check on pending reboot

Posted on 2009-05-12
1
1,085 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now