reset pc

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

Hello all,
is there a way to reboot my PC with a c# command? I don't mean 'shutdown -s'
or some other command. I mean a hard interrupt (INTxx), like pushing the
resetbutton on my PC.

Thanks for your help
Frank
 
Frank said:
is there a way to reboot my PC with a c# command? I don't mean
'shutdown -s' or some other command. I mean a hard interrupt (INTxx), like
pushing the resetbutton on my PC.

I imagine that the INTxx will only be allowed from a device driver. If it
were possible to do it from a user program, any runaway program would be
able to crash the system, which is not desirable in a well-behaved operating
system.
 
Hi,

Frank said:
Hello all,
is there a way to reboot my PC with a c# command? I don't mean
'shutdown -s' or some other command. I mean a hard interrupt (INTxx), like
pushing the resetbutton on my PC.

May I ask why you want to do that? It sounds like very drastic to me
 
Hello,
yes, if an INTxx is possible all kinds of virusprograms could do unwanted
stuff. But I can always have a look round, can't I?
Why do I need it? I have problems with remote servers that do not respond to
a shutdown, so maybe a hard reset is a solution.
So if there is some way to do an INTxx I would like to know.
Regards
Frank
 
Been there... a different solution (that doesn't depend on *anything*
working on the server) is a networked power switch, and a BIOS that
auto-ons when the power comes back.

Or, use "Robotics Studio" (May CTP now available) to build yourself a
scutter with access to the big red button ;-p

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top