It’s been a while, but I believe the “shutdown.exe” program from the NT4 ResKit will work. But you need a couple of other switches. Best command is:
shutdown /l /r /y /c
This gives local execute, reboot, “yes” to all close requests, and “forces” all programs/processes/services to “close” – preventing hangs. Note that some programs ( PCAnywhere Host is one ), may cause the server to go to shutdown but fail to reboot – leaving it with the “safe to turn off” window.
You might want to check some of the older small, free shutdown shareware/freeware utiities as an alternative. “KillWin” was one I used a while back that worked well. Should be available on some of the shareware sites like WinFiles or 2Cows.