Questions tagged [taskkill]

Command line tool in Windows systems used to terminate tasks by process id (PID) or image name.

Useful links:

  1. TASKKILL on technet.
  2. TASKKILL on SS64 help pages.
280 questions
0
votes
1 answer

Killing inactive form session through oracle application server

I am trying use host command in Oracle forms. I get the process id as input from the user and on clicking ok the form should kill the session related to process id. PS: Users will be entering only frmweb.exe process id which are inactive. cmd :=…
balaaagi
  • 502
  • 11
  • 21
0
votes
2 answers

Forced close in my application after using a task killer

I have an application that works correctly. I press the "back" button and close the application, then I open the application and working properly I press the "home" and go to the main screen of the device, then I open the application and working…
Sergio76
  • 3,835
  • 16
  • 61
  • 88
0
votes
1 answer

Getting Force Close on start after taskilling the app

One customer has sent me feedback about my app force closing on startup after he has killed the app with a Task Killer. I've told him task killers are dangerous and do not do anything good to the phone performance since Android does not manage RAM…
Charlie-Blake
  • 10,832
  • 13
  • 55
  • 90
0
votes
1 answer

Why is there difference between the errorlevels in these two cases?

Scenario 1: calc.exe is running taskkill /IM calc.exe /f | if "%ERRORLEVEL%"=="0" taskkill /IM calc.exe /f This sets 1 as the errorlevel. Scenario 2: calc.exe is not running taskkill /IM calc.exe /f This sets 128 as the errorlevel. Can…
sachin11
  • 1,087
  • 3
  • 13
  • 17
0
votes
1 answer

android task killer app did not fully kill my application

I have an application that I tried uses task killer app to forcefully close it. But when I open back the application, it remains back at the same activity before I task kill it. It did not return back to the main activity and go through onCreate…
IssacZH.
  • 1,457
  • 3
  • 24
  • 54
0
votes
1 answer

Eclipse Run Configuration to kill python.exe?

I am running a Django server from my run configuration which translates to: python manage.py runserver --noreload The stop button in the error panel doesn't kill the process, so I usually run pskill python How do I add this to my Eclipse run…
user1438003
  • 6,603
  • 8
  • 30
  • 36
-1
votes
1 answer

TypeError: a bytes-like object is required, not 'str' when trying to iterate over a list of running process

I am using Python in Windows. I am trying to kill a windows running process if it is already running but i get below error: TypeError: a bytes-like object is required, not 'str' I import the following modules: import os import subprocess from time…
Willy
  • 9,848
  • 22
  • 141
  • 284
-1
votes
1 answer

How to end only a single task using taskkill?

I have a .bat file that end another .bat file using taskkill but it ends up killing itself and the other .bat file. So how do I make sure it kills only the oldest .bat file? Because the 2nd bat file runs after the first I can't use PID because the…
User not found
  • 479
  • 3
  • 15
-1
votes
1 answer

How to create a shortcut or batch file to kill a process

I would like to create a shortcut or batch file to kill a process NorisWin32.exe in two clicks instead of repeatedly killing it in Task Manager.
Karel
  • 75
  • 1
  • 2
  • 9
-1
votes
1 answer

CMD TaskKill Explorer.exe slows down opening File Explorer

I'm Running Windows 8.1 and am having issues restarting Explore.exe with CMD. The code work in regards to killing explorer.exe and starting it up again,but once these 2 codes run I can't use windows explorer at all. To fix this issues I have to…
Brett Nelson
  • 113
  • 3
  • 19
-1
votes
1 answer

Why is taskkill hanging when called from c# code?

Taskkill is (ironically) hanging when I call it from a c# library to clear WerFault.exe processes I'm trying to use taskkill to close WerFault processes that are spawned duriung a load test running from nunit. The WerFault.exe is created whenever an…
Dave00Galloway
  • 609
  • 1
  • 6
  • 20
-1
votes
2 answers

close hta file with vbs not working?

Im trying to close a *.hta file ussing vbs but i cant get it to close I thoght the following would be the right way about ? Set ws=CreateObject("WScript.Shell") ws.Run "TASKKILL.exe /F /IM 1846.hta"
LabRat
  • 1,996
  • 11
  • 56
  • 91
-2
votes
1 answer

terminate a python program when it hanged using subprocess python

I have a main.py which open a new cmd (subprocess) when another program (test.py, in same directory) is hanged. To determining test.py is hanged or not, I used latest modified time (os.path.getmtime(test.log)) log file, test.log (test.py is…
-2
votes
1 answer

taskkill command to delete a program

A scheduled task runs every night to trigger a batch file. This batch file executes the application “AProgram.exe” with a configuration file to import data into a system. Occasionally this program fails to exit properly, leaving a “headless”…
-2
votes
1 answer

batch script to kill last application

I would like to create a batch script, which when launched by a keyboard shortcut, will use taskkill /f /im to force quit the last application I was on. I think that this could probably work by getting the last app's name as a variable, and then…
Sam
  • 157
  • 1
  • 10
1 2 3
18
19