Discussion:
Intentional reboot from a driver?
(too old to reply)
Myles
2004-04-09 06:39:40 UTC
Permalink
Is there a way, preferably documented, for a Windows 98 device driver to
reboot the system immediately, without user intervention?

The context: a PC that I use remotely via VNC fails abruptly several hours
(usually less than a day) after power-on. No BSOD, no system error, no
repeatability; the screen just blanks. VNC is no longer running because I
can't connect to it, but the system still responds to pings. This suggests
making a driver that reboots the system when it receives no updates from an
accompanying application.

M.
Walter Oney
2004-04-09 11:08:54 UTC
Permalink
Post by Myles
Is there a way, preferably documented, for a Windows 98 device driver to
reboot the system immediately, without user intervention?
Once upon a time, there was a REBOOT VxD that exported one or more
services. If it's still there in the modern systems, I'm sure you could
reverse engineer your way to a solution.

--
Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at http://www.oneysoft.com
Dale L
2004-04-12 18:21:19 UTC
Permalink
Post by Myles
Is there a way, preferably documented, for a Windows 98 device driver to
reboot the system immediately, without user intervention?
The context: a PC that I use remotely via VNC fails abruptly several hours
(usually less than a day) after power-on. No BSOD, no system error, no
repeatability; the screen just blanks. VNC is no longer running because I
can't connect to it, but the system still responds to pings. This suggests
making a driver that reboots the system when it receives no updates from an
accompanying application.
M.
Not sure if I understand your question properly but have you looked at
ExitWindowsEx with the EWX_FORCE and/or EWX_REBOOT parameters?

Dale L
dll
at
quartercity
dot
com
Robert Zanatta
2004-08-23 07:51:07 UTC
Permalink
Write a 0feh out to port 64h. ;-)
Post by Myles
Is there a way, preferably documented, for a Windows 98 device driver to
reboot the system immediately, without user intervention?
The context: a PC that I use remotely via VNC fails abruptly several hours
(usually less than a day) after power-on. No BSOD, no system error, no
repeatability; the screen just blanks. VNC is no longer running because I
can't connect to it, but the system still responds to pings. This suggests
making a driver that reboots the system when it receives no updates from an
accompanying application.
M.
Loading...