Discussion Locked

Kixtart

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What is the command in a Kixtart script to reboot a PC. Running Windows 2000 Professional ???

1 reply

by fossil

This is from the NT .40 Kixstart manual -- should still work for W2K. Also, there's a workaround for W9x. More at http://kixtart.org/ . The entire section was too long to include here

SHUTDOWN
Action
Shuts down or reboots a computer.
Syntax
SHUTDOWN ("computer", "message", wait, force, reboot)

SHUTDOWN does not work reliably on Windows 9x due to an issue in the underlying Windows API. As a workaround, try the following command :
SHELL "%windir%\RUNDLL32.EXE user.exe,ExitWindows"
Example
$RC = Shutdown("", "System is being rebooted to enable new settings.", 60, 0, 1)

This discussion is closed to new replies.