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
Solved

Server 2008 Reboot Script / with descritption?

Posted on 2011-09-15
2
375 Views
Last Modified: 2012-05-12
I have a basic shutdown.exe -r script that  I use to auto reboot a 2008 server.  Ever time the reboot happens, I log on to that server, there is the pop up asking to put a description why the server rebooted.

Doesn't anyone have a way that I can reboot the server automatically without getting the pop message ever morning.
0
Comment
Question by:rdabate
  • 2
2 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 500 total points
ID: 36542210
Have you tried using:

shutdown /r /t 10 /c "Because I wanted to reboot" /dp:00:00

i.e. restart, timeout 10 secs (or whatever), add a command, reason = planned, code = 0.0

List of codes is in the help for shutdown, shutdown /?

If you are already doing this I think there is a group policy which requires a request for reboot information that could be asking regardless of the fact you have supplied the info. already?
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 36543011
Guess you weren't using that option then :-)  Hope it helped.,

Steve
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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 …
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 …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 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