Solved

File to check on pending reboot

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

10 Experts available now in Live!

Get 1:1 Help Now