PDA

View Full Version : Stopping reboot


Tom Gur
July 3rd 07, 03:15 PM
Hi,
Is there any way to cancel a reboot (before it actually preforms)
after I've clicked shut-down -> restart ?

Joe Grover
July 3rd 07, 03:21 PM
If you're quick you can open a command prompt and try typing:

shutdown /a

Joe

"Tom Gur" > wrote in message
ups.com...
> Hi,
> Is there any way to cancel a reboot (before it actually preforms)
> after I've clicked shut-down -> restart ?
>

Joe Grover
July 3rd 07, 03:23 PM
Scratch that, it appears you can only use the shutdown /a command during the
timeout period (i.e. "the computer will be shut down in XX seconds").

Joe

"Tom Gur" > wrote in message
ups.com...
> Hi,
> Is there any way to cancel a reboot (before it actually preforms)
> after I've clicked shut-down -> restart ?
>

Newbie Coder
July 3rd 07, 03:36 PM
Tom,

Yes there is a way of doing it

On the GotDotNet site I wrote a program to stop it. You will have to compile it
though

Also, in code you can remove (revoke) the shutdown privilege
(SE_SHUTDOWN_PRIVILEGE). There is a policy to remove it too, but all it does is
change a registry key DWORD, which can easily be overridden.

The START | CMD | shutdown.exe -a only stops the RPC errors or if shutdown has
been invoked using it (shutdown.exe)

--
Newbie Coder
(It's just a name)

P.S. Spoof your e-mail unless you like SPAM


"Tom Gur" > wrote in message
ups.com...
> Hi,
> Is there any way to cancel a reboot (before it actually preforms)
> after I've clicked shut-down -> restart ?
>

Google