Command On For Force Shutdown Of A Program

Posted on  by 

On a Mac, force quitting is best done from the Doc or via the Force Quit option from the Apple menu. See How to Use the Force Quit to Terminate a Wayward Mac Application for details. In Linux, the xkill command is one really easy way to force quit a program. Open a terminal window, type it, and then click the open program to kill it. Command Prompt is a feature of Windows that provides an entry point for typing MS‑DOS (Microsoft Disk Operating System) commands and other computer commands. You can use the Command Prompt to remotely shutdown or restart another computer.

  1. Command On For Force Shutdown Of A Program
Command On For Force Shutdown Of A Program

The f parameter in the command is to force restart your computer. You can also schedule the restart by typing command 'shutdown-r-f-t 00' in the command window. So, now you know how to reboot or what buttons to use to force your computer to restart or reset.

It can be frustrating when you have an application that won’t respond. But manually turning off your computer by hitting the power button can damage your computer. Instead of waiting for the application to respond, here’s how to force quit applications on a Windows 10 PC in three ways.

How to Force Quit on a Windows 10 PC Using Keyboard Shortcuts

  1. Click on the frozen application. You have to select the application, so your computer knows that that’s the one you’re trying to close.
  2. Next, press the Alt + F4 keys at the same time. The F4 key is at the top of your keyboard, while the Alt key is to the left of most keyboards.

If you don’t select awindow or application, this shortcut may cause your computer to shutdown.

If this keyboard shortcut doesn’t work on your Windows 10 PC, or your laptop doesn’t have F (function) keys, you can use Task Manager instead.

How to Force Quit on a Windows 10 PC Using Windows Task Manager

  1. Press the Ctrl + Alt + Delete keys at the same time. This brings up a screen that says, “Preparing security settings” before you see a short list of tasks.

    Note: The “delete” key is not the same as the “backspace” key. If you don’t have a delete key, try pressing Ctrl + Shift + Esc to open the Task Manager window.

  2. Then select Task Manager from the list. This is the last option on the list.
  3. Click on the application you want to force quit. If you don’t see your application in the list, make sure to hit the More details button in the bottom-left corner of the window.
  4. Click End task to close the program.

How to Force Quit an Application using Command Prompt

  1. Click the Windows key + R on your keyboard at the same time. The Windows key is the one with the Windows logo to the left of your space bar.
  2. Then type “cmd” in the search box and hit enter on your keyboard. If this doesn’t work for you, check out our guide on how to open Command Prompt for other methods.
  3. Type “tasklist” into Command Prompt. This brings up all the tasks and programs running on your machine, including the problematic one.
  4. Finally, type “taskkill/im {name_of_program}.exe.” Replace {name_of_program} with the name of the program you want to force quit. Remember to leave a space between “taskkill/im” and the name of the program.
  5. Finally, hit enter on your keyboard.

For example, if you wantto force quit Microsoft Word, you would type “taskkill/im word.exe” and hitenter. Command Prompt will send a confirmation message that the task kill wassuccessful.

If you are using these shortcuts to force quit applications frequently, it may be time for you to run a health check on your PC. Check out our guide on how to remove malware from your Windows 10 PC here.

Was this article helpful?

Related Articles

Force Shutdown or Restart from Command Line

If you’ve been using the power button to force shutdown your PC, try this Command Line trick to Force Shutdown and to Force Restart your PC. This Command Line trick allows you to specify normal Shutdown/Restart or if you want to Force Shutdown/Restart and also allows you to specify the time to wait before Force Shutdown/Restart. Shutdown.exe is the process responsible for System Shutdown and Restart. Normal Shutdown is the term we’ve used here to mention the default Shutdown. Force Shutdown will stop all processes and forcefully shuts down your PC. Force Shutdown with time set as a parameter, will force shutdown your PC at the specified time. The same goes for Restart and Force Restart except for the base parameter (-r instead of -s)

Shutdown

Normal Shutdown
To perform a normal Shutdown, open Run (Start >> Run) and type in Shutdown –s . Your PC will shutdown just as it would when you click Shutdown from the Start menu

Force Shutdown
To perform a Force Shutdown, type in Shutdown –s –f. Notice a new parameter –f? This parameter is responsible for Fore Shutdown.

Force Shutdown with Time
To perform a Timed Force Shutdown, type in Shutdown –s –f –t 00. This will Force Shutdown your PC in 00 seconds (waiting time). Forza horizon 4 crack. Setting it to 05 will shutdown your PC after 05 seconds i.e after waiting for 5 seconds.

Force shutdown mac

Restart

To restart, simply replace –s with –r. If you are unsure, proceed reading.

Smoothscroll 1.1.6. Normal Restart
To perform a normal Restart, open Run (Start >> Run) and type in Shutdown –r . Your PC will reboot just as it would when you click Restart from the Start menu

CommandProgram

Force Restart
To perform a Force Restart, type in Shutdown –r –f.

Force Restart with Time
To perform a Timed Force Restart, type in Shutdown –r –f –t 00.

Command On For Force Shutdown Of A Program

Read Command Line Parameters to try more commands.

Coments are closed