Try
having a look at the source code of isetup by Jordan Russell. It has a procedure
in the main.pas which is called restartcomputer which sets the required
SeShutdownPrivilege for NT and if that fails it creates a reboot32.exe file
directly from code in the reboot.inc.
It can
be downloaded from
|
- [DUG]: Rebooting computer from dos prompt Jeremy Coulter
- RE: [DUG]: Rebooting computer from dos prompt Stacey Verner
- RE: [DUG]: Rebooting computer from dos prompt Coulter, Jeremy
- Greg Nixon