Is it possible to invoke a hard reboot under Windows 2000 (assume Administrator privileges)? I mean, such as int 19h in DOS, or maybe even a reset. Not ExitWindowsEx(), but instantanous reboot without notifying Windows about it.
Posted on 2003-09-13 19:35:31 by comrade
KMD and use the keyboard-controller method of resetting the processor is one way.
Posted on 2003-09-13 20:20:35 by f0dder
i actually found a way a while back but its not the way you would want to do it lol.... i found while running regmon and calling a inproper reg command it would force a reboot..
Posted on 2003-09-13 23:50:26 by devilsclaw
Cool, it worked.
	mov al, 0FEh

out 64h, al



Thanks to Four-F's KMD kit I was able to make this in about 5 minutes. :)
Just added those two lines to his beeper example, and now have program that makes three deadly beeps and then reboots. :)


DO NOT RUN ATTACHMENT!
Posted on 2003-09-14 00:45:48 by comrade
@comrade: What is this useful for? :confused:
Posted on 2003-09-14 00:48:50 by CuTedEvil
When ExitWindowsEx() fails. :)
Posted on 2003-09-14 01:00:20 by comrade
:alright:
Posted on 2003-09-14 01:05:43 by CuTedEvil
@Comrade:
here is a must faster way:

Ctrl+D type HBOOT


hahaha :)
Posted on 2003-09-14 03:23:58 by wizzra
And don't forget that many computers have a reset button.
Posted on 2003-09-14 06:12:56 by Sephiroth3

When ExitWindowsEx() fails. :)


Have you tried to specify FORCE flag for this API? I think this way it will always restart system
Posted on 2003-09-14 09:01:39 by Mikky
its dangerous just to reboot an xp(nt) system.
Next thing you get to write is the registry repair tool.
Posted on 2003-09-14 15:53:50 by RobotBob
you can always flush the filesystem before you do it...
sysinternal's sync.exe will do this for you
Posted on 2003-09-17 21:50:48 by grv575
My computer freeze many times in summer and hot weather, a hundred times in total probably. No registry problem.
Posted on 2003-09-18 07:25:39 by comrade