Windows program shutdown


















If the target computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. For more information, see:.

Default local groups. Default groups. If you specify major and minor reason codes, you must first define these reason codes on each computer where you plan to use the reasons. If the reason codes aren't defined on the target computer, Shutdown Event Tracker can't log the correct reason text. Remember to indicate that a shutdown is planned by using the p parameter.

Not using the p parameter, indicates that the shutdown was unplanned. Using the p parameter, along the reason code for an unplanned shutdown, causes the shutdown to fail.

Not using the p parameter, and only providing the reason code for an planned shutdown, also causes the shutdown to fail. To force apps to close and to restart the local computer after a one-minute delay, with the reason Application: Maintenance Planned and the comment "Reconfiguring myapp. To restart the remote computer myremoteserver with the same parameters as the previous example, type:.

Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Additional information Published by barbez. Published by barbez.

Developed by Barbez. Approximate size Age rating For all ages. This app can Access all your files, peripheral devices, apps, programs and registry Microsoft. Permissions info. Installation Get this app while signed in to your Microsoft account and install on up to ten Windows 10 devices. Accessibility The product developer believes this product meets accessibility requirements, making it easier for everyone to use. Language supported English United States.

Publisher Info Shutdown website Shutdown support. Additional terms Shutdown privacy policy Terms of transaction. Seizure warnings Photosensitive seizure warning. Report this product Report this app to Microsoft Thanks for reporting your concern. Our team will review it and, if necessary, take action. Sign in to report this app to Microsoft. Report this app to Microsoft. Report this app to Microsoft Potential violation Offensive content Child exploitation Malware or virus Privacy concerns Misleading app Poor performance.

How you found the violation and any other useful info. This sounds a bit hard, but it's not. The exact details do differ depending on your version of Windows , though. Once found, right-click or tap-and-hold it and choose Go to details. If you don't see the Processes tab, Task Manager might not be opened in full view.

Choose More details at the bottom of the Task Manager window. Right-click it and then click Go To Process. You may be tempted to simply End task directly from that pop-up menu, but don't. While this might be perfectly fine for some programs, doing this "the long way" as we're describing here is a much more effective way to force quit a program more on this below.

Right-click or tap-and-hold the highlighted item you see and choose End process tree. You should be in the Details tab if you're using Windows 10 or Windows 8, or the Processes tab if you're using an older version of Windows. Click or tap End process tree in the warning that appears. In Windows 10, for example, this warning looks like this:. This is a good thing — it means that not only will this individual program you want to be closed actually close , it means Windows will also end any processes that that program started, which are probably also hung up but much harder to track down yourself.

That's it! The program should have closed immediately but it could take several seconds if there were lots of child processes connected to the frozen program or the program was using a lot of system memory. Easy as pie Here are a few more ideas if Task Manager didn't do the trick:. That's probably not advice you've seen elsewhere, so let's explain. In some cases, you can actually give a problematic program a little nudge off the cliff, so to speak, pushing it into a full-blown frozen state, sending a message to Windows that it should probably be terminated.

To do this, do as many "things" as you can think to do in the program, even if they don't do anything because the program is crashing. For example, click on menu items over and over, drag items around, open and close fields, try exiting half a dozen times—whatever you want, so long as you do them in the program you're hoping to force quit. Assuming this works, you'll get a window with a [program name] is not responding heading, usually with options like Check for a solution and restart the program , Close the program , Wait for the program to respond , or End Now in older versions of Windows.

Tap or click Close the program or End Now to do just that. We have one last trick to force quit a program, but it's an advanced one. A particular command in Windows, called taskkill , does just that—it kills the task you specify, completely from the command line. This trick is great in one of those hopefully rare situations where some kind of malware has prevented your computer from working normally, you still have access to Command Prompt , and you know the filename of the program you want to "kill.

Open Command Prompt. There's usually no need to open an elevated Command Prompt , and any method you use to get it open is fine. Execute the taskkill command like this:. If in the very rare situation that you don't know the filename, but do know the PID process ID , you can execute taskkill like this instead:. If you get an ERROR response that says that a process was not found , check that the filename or PID you used with the taskkill command was entered correctly.

The first PID listed in the response is the PID for the program you're closing and the second is usually for explorer. If even taskkill doesn't work, you're left with having to restart your computer , essentially a force-quit for every program running Software programs and apps sometimes stop responding and won't close on Apple, Linux, and other operating systems and devices, too. It's certainly not a problem exclusive to Windows machines.



0コメント

  • 1000 / 1000