ouch!
with or without user approval? and why?
as in you can follow the path that most winders OSes go through when after some action, OS wanna restart.
"Winders need to restart. Restart now? yes and no button"
"Winders need to restart. Restart now? ONLY yes button" no lose focus, restart or just look at screen.
If you don't know how to do this, maybe you shouldn't be....
Now, I have seen, and tried a DOS batch file, long ago.
I say tried, because it only worked on some PCs, and I don't have the code... wish I could find now.
Anyway, it sent the "reset" message to (most) mobos, and PC rebooted as if you had pressed Reset button on box. Good for malicious prank (run me and lose all work!).
why? do would you want to do this?