Убиите процеси от командния ред в Windows

Tue, Nov 17, 2009

Tips'n'Tricks, Windows 7, Windows XP

На всички нас ни се е случвало да ползваме в един или друг момент Task Manager за да премахнем даден процес. Това приложение ни дава добра възможност да управляваме процесите но пробвали ли сте да спрете множество процеси? Можете да премахвате  само по един процес.  Windows  Ви позволява да управлявате процесите и от командният ред, от където можете да убиете множество процеси в едни и същ момент.

Отворете командния ред в администраторски режим и напишете tasklist, ще ви се покаже листа със стартираните процеси.

CommandPrompt_thumb

Сега можете да премахнете които процес си поискате с командата Taskkill.  Пример за спирането на Firefox:

Taskkill /IM firefox.exe /F

където /F се използва за силово прекратяване на процеса. Можете да спрете процес и като използвате  ID, tasklist изписва и идентификатора на процеса в PID колоната. Напишете:

Taskkill /PID 364 /F

Сега за да убиете множество процеси ползвайте горната команда с PID номерата на процесите които искате да прекратите:

Taskkill /PID 266 234 222  /F

, ,

Коментарите са затворени.

PHVsPjxsaT48c3Ryb25nPndvb19hZF8zMDBfYWRzZW5zZTwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2FkXzMwMF9pbWFnZTwvc3Ryb25nPiAtIGh0dHA6Ly93d3cud29vdGhlbWVzLmNvbS9hZHMvd29vdGhlbWVzLTMwMHgyNTAtMi5naWY8L2xpPjxsaT48c3Ryb25nPndvb19hZF8zMDBfdXJsPC9zdHJvbmc+IC0gaHR0cDovL3d3dy53b290aGVtZXMuY29tPC9saT48bGk+PHN0cm9uZz53b29fYWRfaW1hZ2VfMTwvc3Ryb25nPiAtIGh0dHA6Ly93d3cud29vdGhlbWVzLmNvbS9hZHMvd29vdGhlbWVzLTEyNXgxMjUtMS5naWY8L2xpPjxsaT48c3Ryb25nPndvb19hZF9pbWFnZV8yPC9zdHJvbmc+IC0gaHR0cDovL3d3dy53b290aGVtZXMuY29tL2Fkcy93b290aGVtZXMtMTI1eDEyNS0yLmdpZjwvbGk+PGxpPjxzdHJvbmc+d29vX2FkX2ltYWdlXzM8L3N0cm9uZz4gL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