Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Server 2008 Reboot Script / with descritption?

Posted on 2011-09-15
2
Medium Priority
?
382 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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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…

782 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