Shutdown

Shutdown

Friday 26 August 2011

How to cancel Shutdown?

It easy to cancel to shutdown but it will be canceled only if the shutdown is requested by any application.

Windows will not allow to cancel shutdown if it is called by Windows Shutdown button.


Just call this anywhere in your function:

I am using C#:

if you don't know C# just pass these Parameters as run command in your code

System.Diagnostics.Process.Start("shutdown", "/a);

/a= Abort shutdown


  



God Bless You,

Jai SiyaRam

No comments:

Post a Comment