steelie34
pub hero!
+603|6659|the land of bourbon
if some fail asshat posts a rickroll link with annoying pop-up boxes, or you want to get rid of a task that isn't responding, use the taskkill command.

for example, to force close IE you would type this is the run line:

taskkill /im iexplore.exe /f

just put in the name of the process you want to kill in place of the iexplore.exe.

this command has several advantages over using the ctl+alt+del task manager.  it will forcefully kill an unresponsive process, no matter what state the process is currently in, and it will close ALL processes with that name at the same time.  (for example: if you have 20 internet explorer windows open, all of them will close with just this one command.)

Last edited by steelie34 (2008-03-04 17:51:38)

https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
Hope_is_lost117
Psy squad
+49|6274|Belgium
Thanks after testing the method is deemed valid and I approve, yet another trick to close a rogue process
CrazeD
Member
+368|6951|Maine
Yeah, Ctrl+alt+del is so overrated...
steelie34
pub hero!
+603|6659|the land of bourbon

CrazeD wrote:

Yeah, Ctrl+alt+del is so overrated...
well if you have mulitple browser windows open at the same time, the task manager only lets you click and end each one individually.  using the taskkill command will close all of them at once.

and sometimes a hung app doesnt respond to the end process button.  the /f on the end of the taskkill will force the app closed, even if it is unresponsive.

Last edited by steelie34 (2008-03-04 12:08:40)

https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
Shadow893
lel
+75|6970|England
so do we do this with the spaces in between or all as one?
Noobeater
Northern numpty
+194|6725|Boulder, CO
I generally use Alt F4.

Interesting to know though.

Last edited by Noobeater (2008-03-04 12:18:38)

steelie34
pub hero!
+603|6659|the land of bourbon

Noobeater wrote:

I generally use Alt F4.

Interesting to know though.
i think alt+f4 is a regular "end task," and doesnt cause a force kill... it might, though, im not sure.  i think its just force of habit for me to use taskkill, bc it always works to kill all processes. 

Shadow893 wrote:

so do we do this with the spaces in between or all as one?
yes with the spaces.  there is more to that command than just the switches i showed there.  from a command prompt, type taskkill /? and you can see all the available options.  you can kill by PID, kill processes on a remote machine (very useful for servers), and set filters to show by type.  it is closely tied to the tasklist command, which gives a great deal more information about tasks than the task manager does.  for instance, you can type:

tasklist /svc

to list all of the services running inside of your processes.  say you just installed something, and all of a sudden one of your svchost.exe processes is hogging your resources, you can use the above command to list all the services running inside the svchost process. you can then identify the cause of the problem.  type tasklist /? from a command line to see available options.

just for the lulz type taskkill /im lsass.exe /f

Last edited by steelie34 (2008-03-04 12:28:28)

https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
Ryan
Member
+1,230|7121|Alberta, Canada

Ctrl+Alt+Del > Processes > Kill the internet explorer/firefox process. Same thing.
steelie34
pub hero!
+603|6659|the land of bourbon

Ryan wrote:

Ctrl+Alt+Del > Processes > Kill the internet explorer/firefox process. Same thing.
wrong

you must not have read my other posts.  using the end process button doesn't "forcefully" kill a process like the /f does on the taskkill command.  and, if you have multiple processes running with the same name, the taskkill will close them all, instead of having to click on each one in task manager.

try it.  open three browser windows, and close them all with task manager.

now do the same thing with taskkill... see the difference?

Last edited by steelie34 (2008-03-04 17:55:41)

https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
PigPopTart
Shotgun whore
+133|6567|Pacific NW, USA

steelie34 wrote:

just for the lulz type taskkill /im lsass.exe /f
lsass.exe is the fucking file that cannot be found on my computer....it has been epic fail for 3 months cause I can't get into windows and i don't want to reformat.
geNius
..!.,
+144|6720|SoCal

PigPopTart wrote:

steelie34 wrote:

just for the lulz type taskkill /im lsass.exe /f
lsass.exe is the fucking file that cannot be found on my computer....it has been epic fail for 3 months cause I can't get into windows and i don't want to reformat.
Repair install.
https://srejects.com/genius/srejects.png
steelie34
pub hero!
+603|6659|the land of bourbon

geNius wrote:

PigPopTart wrote:

steelie34 wrote:

just for the lulz type taskkill /im lsass.exe /f
lsass.exe is the fucking file that cannot be found on my computer....it has been epic fail for 3 months cause I can't get into windows and i don't want to reformat.
Repair install.
yeah that should do it.  lsass is a biggie, it basically lets windows work, thats why when you kill it your pc shuts down.
https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
Tehremos
Parcel of ol' Crams
+128|6686|Somersetshire
where would i type this in?
Sydney
2λчиэλ
+783|7121|Reykjavík, Iceland.

Tehremos wrote:

where would i type this in?
run > cmd
steelie34
pub hero!
+603|6659|the land of bourbon

PBAsydney wrote:

Tehremos wrote:

where would i type this in?
run > cmd
or just the run line... both work.  u won't see all the feedback if you use the run line, but its a bit faster

Last edited by steelie34 (2008-03-06 06:32:55)

https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
PigPopTart
Shotgun whore
+133|6567|Pacific NW, USA

steelie34 wrote:

geNius wrote:

PigPopTart wrote:

lsass.exe is the fucking file that cannot be found on my computer....it has been epic fail for 3 months cause I can't get into windows and i don't want to reformat.
Repair install.
yeah that should do it.  lsass is a biggie, it basically lets windows work, thats why when you kill it your pc shuts down.
You need a windowsXP CD to repair install correct?

I never got the disc when I bought my computer, only a CDkey.    Anyway i can copy WindowsXP home off my working laptop in order to fix my PC?

Last edited by PigPopTart (2008-03-06 10:21:15)

steelie34
pub hero!
+603|6659|the land of bourbon
thats a toughie.  the most i can find online is this:

http://support.microsoft.com/kb/150497/en-us

but it seems to apply to NT and assumes you have a recovery floppy available.  basically just substitue the \windows folder when in it references the \winnt folder.  this *might* work, otherwise you'll have to find an installation cd.

Last edited by steelie34 (2008-03-06 10:48:44)

https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
sinnik
Member
+16|6276|@defamations pad taking notes.
hmm both commands aren't recognised by my sys (xp home) either in the run box or as a command prompt - any ideas?
steelie34
pub hero!
+603|6659|the land of bourbon

sinnik wrote:

hmm both commands aren't recognised by my sys (xp home) either in the run box or as a command prompt - any ideas?
unfortunately these do not work on XP home.  only pro and vista... sorry
for XP home you can use:

tskill iexplore.exe

just substitute the process name in place of the iexplore.exe, but it doesnt have the ability to force close, so you are better off with the task manager.

Last edited by steelie34 (2008-03-06 11:41:06)

https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
elbekko
Your lord and master
+36|6679|Leuven, Belgium

steelie34 wrote:

Ryan wrote:

Ctrl+Alt+Del > Processes > Kill the internet explorer/firefox process. Same thing.
wrong

you must not have read my other posts.  using the end process button doesn't "forcefully" kill a process like the /f does on the taskkill command.  and, if you have multiple processes running with the same name, the taskkill will close them all, instead of having to click on each one in task manager.
You must not have read his.

In the task manager, go to Processes. Not Applications. Right-click on the process, and select End Process or End Process Tree. It'll forcefully kill that process.
steelie34
pub hero!
+603|6659|the land of bourbon

elbekko wrote:

steelie34 wrote:

Ryan wrote:

Ctrl+Alt+Del > Processes > Kill the internet explorer/firefox process. Same thing.
wrong

you must not have read my other posts.  using the end process button doesn't "forcefully" kill a process like the /f does on the taskkill command.  and, if you have multiple processes running with the same name, the taskkill will close them all, instead of having to click on each one in task manager.
You must not have read his.

In the task manager, go to Processes. Not Applications. Right-click on the process, and select End Process or End Process Tree. It'll forcefully kill that process.
no!  try to close lsass.exe from the processes tab, then use taskkill.  task manager is not always a force kill.  AND, you cannot kill mulitple processes with the task manager, which is the true usefullness of this command.  he said using the task manager processes tab can end them exactly the way taskkill can, which is wrong.  the end process tree just closes the process and any process initiated by the one you are killing.  but if you have several processes open indenpendant of each other, this will close them ALL at the same time.

edit: in vista, the task manager does use a force kill procedure, which it does not in XP pro, so i stand corrected.  but there are still merits to the taskkill utility like closing process running within services, and closing multiple processes at once.

Last edited by steelie34 (2008-03-06 11:58:24)

https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
sinnik
Member
+16|6276|@defamations pad taking notes.
thanks for clearing that up Is there any way to get something similar to the tasklist command for home as i have 7 svchosts running and one takes up a wad of memory atm
steelie34
pub hero!
+603|6659|the land of bourbon

sinnik wrote:

thanks for clearing that up Is there any way to get something similar to the tasklist command for home as i have 7 svchosts running and one takes up a wad of memory atm
of course!  go here --> http://www.microsoft.com/technet/sysint … lorer.mspx

and download process explorer.  i would encourage anyone who uses windows to download this utility.  it is unbelievably useful with the amount of information it gives.  it's basically like the task manager on steroids, and shows an easy-to-understand interface with alot of power to manipulate the running processes on your system.  it's part of the sysinternals set of utilities, and is definitely one of the more useful features.  all of it was written by a guy named Mark Russinovich, who is a bit of hero for his work combatting windows root-kits with his utilites.  he is now working for Microsoft (money talks i guess) and all of his tools can now be downloaded from them for free. 

this thread will never die
https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
sinnik
Member
+16|6276|@defamations pad taking notes.
Sweet nice one. That app kicks task managers ass!!
Thanks for the help

Board footer

Privacy Policy - © 2025 Jeff Minard