Stopping reboot

  • Thread starter Thread starter Tom Gur
  • Start date Start date
T

Tom Gur

Hi,
Is there any way to cancel a reboot (before it actually preforms)
after I've clicked shut-down -> restart ?
 
If you're quick you can open a command prompt and try typing:

shutdown /a

Joe
 
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,

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)
 

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