Solved

File to check on pending reboot

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

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 …
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 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