ähm, ich hab einen kleinen fehler drin...
die kommandos die ich oben aufgeführt habe, funktionieren unter nt4/w2k/xp nicht...
dafür gibts die shutdown.exe aus dem AINTX tool kit (nicht die aus dem nt ressourcekit

)
link zu den AINTX tools:
http://maxx.mc.net/~jlh/nttools/html/nttools.htm
verwendung:
Code:
C:\>shutdown --?
Error: Usage: shutdown shuts down computer
Syntax: shutdown [ -fr -m msg -w time ] [-h hostname]
Switches
-f: fast shutdown
-h: name of computer to shutdown
-m: message to connected users
-r: reboot
-w: time to wait before initiation of shutdown
Notes
1) default shutdown wait is 60 seconds
2) shutdown runs %SYSTEMROOT%\system32\shutdown.bat if hostname
is not specified and shutdown.bat exists
C:\>
das programm kannst nimma beenden wenns mal läuft, verwende es weise...
[edit]
AINTX tools link hinzugefügt