Top "Shutdown" questions

This refers to the process where the system state is systematically (and preferably gracefully) changed to the fully inactive state.

How do I shutdown, restart, or log off Windows via a bat file?

I've been using Remote Desktop Connection to get into a workstation. But in this environment, I cannot use the power …

windows batch-file command-line restart shutdown
How do I exit a WPF application programmatically?

In the few years I've been using C# (Windows Forms), I've never used WPF. But, now I love WPF, but …

c# .net wpf shutdown
How to shut down the computer from C#

What's the best way to shut down the computer from a C# program? I've found a few methods that work …

c# .net windows shutdown
Stop MySQL service windows

I am developing a website and need to refresh data. Therefore MySQL must be stopped. How can I stop the …

mysql shutdown restart
How can I get the Windows last reboot reason

I'd like to know what is the Windows API function (if any exists) that provides information about the last Windows …

windows winapi shutdown reboot
Executing a batch script on Windows shutdown

Is there any way, in Windows 7 Professional, to run a batch script (e.g., a .BAT file) when the user …

windows batch-file windows-7 shutdown group-policy
Android Service Stops When App Is Closed

I am starting a service from my main Android activity as follows: final Context context = base.getApplicationContext(); final Intent intent = …

android service android-activity restart shutdown
Shutting down a computer

Is there a way to shutdown a computer using a built-in Java method?

java cross-platform shutdown
Windows 7 remote shutdown: Access denied(5)

I am trying to force a remote shutdown from my laptop to my PC: machine> shutdown -m \\192.168.2.10 -s -f …

networking windows-7 cmd remote-access shutdown
How do I shutdown JBoss AS 7 server?

I recently updated from jboss-as.7.1.0.CR1b to jboss-as.7.1.0.Final and want to shutdown running instance from the console. In …

shutdown jboss7.x