Shut Down Windows
CFUTIL NTSHUT [seconds]
This utility causes shutdown and reboot of Windows after an optional delay time. You require sufficient privileges in order to successfully complete the shutdown. See the NTREBOOT topic for examples of setting privileges.