Tuesday, February 19, 2013

Schedule reboot of Server 2008 R2

We always need to configure it, but how was that syntax again…

Create new item in scheduler, in action browse for c:\windows\system32\shutdown.exe , add arguments /r /d p:1:1

image

/r         Full shutdown and restart the computer.

/d [p|u:]xx:yy  Provide the reason for the restart or shutdown.
           p indicates that the restart or shutdown is planned.
           u indicates that the reason is user defined.
           If neither p nor u is specified the restart or shutdown is
           unplanned.

P     1       1       Hardware: Maintenance (Planned)

No comments: