| View previous topic :: View next topic |
| Author |
Message |
Jaysun
Joined: 01 Nov 2004 Posts: 20
|
Posted: Mon Aug 21, 2006 1:23 am Post subject: Force immediate reboot (no "Windows is shutting down... |
|
|
The computers hard drives' are "frozen" with DeepFreeze so there is no possible damage to the system by forcing an immediate reboot (just like pressing the reset button on the cpu).
I know that software can do a force immedate reboot, but is there someway I can do it with AutoHotKey or some other free utility?
Thanks much! _________________ Jason Weinstein
Application Support Technician
Eugene Public Library (Oregon) |
|
| Back to top |
|
 |
Scott Guest
|
Posted: Mon Aug 21, 2006 1:35 am Post subject: |
|
|
If you type 'shutdown -s -f -t 00' at the command line, it will wait 0 seconds, force all applications to close, and shut down the computer.
You can also do it remotely with -m \\computername.
All options are viewable with shutdown /?.
You may actually be able to type this in start, run, but I'm not sure. |
|
| Back to top |
|
 |
Jaysun
Joined: 01 Nov 2004 Posts: 20
|
Posted: Mon Aug 21, 2006 7:46 pm Post subject: |
|
|
I know I can use 'shutdown -s -f -t 00' to close all applications and shut down the computer, but that isn't what I am looking to do.
I want to immediately restart the computer just like pressing the reset button. I don't want Windows to close all applications. I don't want Windows to go through its shutdown process. I want the computer to restar immediately just like pressing the reset button on the CPU.
Thanks! _________________ Jason Weinstein
Application Support Technician
Eugene Public Library (Oregon) |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5376 Location: /b/
|
Posted: Mon Aug 21, 2006 7:48 pm Post subject: |
|
|
You can use Shutdown with the Reboot code. _________________
 |
|
| Back to top |
|
 |
Scott Guest
|
Posted: Mon Aug 21, 2006 11:07 pm Post subject: |
|
|
Well, you can use shutdown to reboot the computer, too.
The problem is, I don't think there's anything you can do from inside the OS to just cut power, like hitting the power/reset button does. |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 6223
|
Posted: Tue Aug 22, 2006 7:23 am Post subject: |
|
|
| Scott wrote: | | I don't think there's anything you can do from inside the OS to just cut power, like hitting the power/reset button does. |
Well! I share a similar view!
When I used to play with x86 based computers with AT form factor, the power supply (SMPS)
had a single Orange wire running to the Mainboard (Motherboard). Things have changed
with ATX form factor. I see 3 or more Orange wires running to the Mainboard!.
This Orange wire transmits ( what is called as ) "Power Good" signal to the microprocessor continuously.
Okay!
Whenever the computer is powered On, the SMPS takes 200ms - 500ms to stabilise the power supply -
after which it sends the "Power Good" signal - after which your hear the speaker beep indicating the boot
process has started.
Why was it designed such?
500ms is a large slice of time for a microprocessor and it can process billion instructions within that duration.
Microprocessors are sensitive and cannot function correctly without correct voltage. The design was to make sure
that the microprocessor resets whenever the voltage was faulty and thus the "Power Good" signal exists as
a solution.
Simply put:
Whenever the SMPS cannot render the correct voltage it stops "Power Good" signal.
Whenever "Power Good" signal is missing, the microprocessor keeps resetting. (many times per ms)
and to conclude
Whenever you press the Reset button you stop the "Power Good" signal.
Regards,  _________________
 |
|
| Back to top |
|
 |
Jaysun
Joined: 01 Nov 2004 Posts: 20
|
Posted: Tue Aug 22, 2006 6:30 pm Post subject: |
|
|
It is indeed possible!
I've seen WinXP do it many times when it kernel panics. I think it is the default option in WinXP to just reboot instead showing the BSOD.
Is there a command I can use to make XP kernel panic? It seems like there's gotta be some DllCall out that causes XP to completely freak out. _________________ Jason Weinstein
Application Support Technician
Eugene Public Library (Oregon) |
|
| Back to top |
|
 |
|