Solved

File to check on pending reboot

Posted on 2009-05-12
1
1,116 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
batch file problem 5 80
batch file or script 4 66
Set variable with 'OR' logic possible? 12 17
Deploy Window Patch 6 35
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 …
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 …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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