<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechChunks: Latest Technology Tips, Gadgets, SEO, Blogging, Social Media &#187; Windows NT/2000/XP</title>
	<atom:link href="http://techchunks.com/category/technology/microsoft/windows-nt2000xp/feed/" rel="self" type="application/rss+xml" />
	<link>http://techchunks.com</link>
	<description>Chunks of Latest Tech Tips, Tricks and Tweaks - Latest Technology News, Updates on New Mobile Phones, Gadgets,  Gaming, iPhone, iPod Touch, Web 2.0 and more</description>
	<lastBuildDate>Tue, 22 May 2012 17:03:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to kill (stop) a Process from Command Prompt in Windows NT/2000/XP?</title>
		<link>http://techchunks.com/technology/microsoft/how-to-kill-stop-a-process-from-command-prompt-in-windows-nt2000xp/</link>
		<comments>http://techchunks.com/technology/microsoft/how-to-kill-stop-a-process-from-command-prompt-in-windows-nt2000xp/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 04:33:49 +0000</pubDate>
		<dc:creator>TechChunks</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Windows NT/2000/XP]]></category>
		<category><![CDATA[Command Prompt]]></category>
		<category><![CDATA[Cool Tips]]></category>
		<category><![CDATA[Easiest Trick]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Stop a Process]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Tweaks]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://techchunks.com/?p=499</guid>
		<description><![CDATA[The ability to perform tasks from a system’s command line allows those tasks to be used in batch files. This simple trick describes several uses of taskkill to terminate Windows processes.

Usually to stop a process, you start task manager, select the Processes tab, select the process and click "End Process". However, you can also accomplish the same from the command prompt. For this, first you would need to know the name of the process that you want to kill/stop. To do so:

Open Command Prompt with alleviated privileges (Administrator) i.e yourdrive:\> Now in the command prompt, type tasklist and press Enter. This should give you a list of currently running tasks like below:]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>The ability to perform tasks from a system’s command line allows those tasks to be used in batch files. This simple trick describes several uses of taskkill to terminate Windows processes.</strong></p>
<p style="text-align: justify;">Usually to stop a process, you <em>start task manager, select the  Processes tab</em>, <em>select the process and click &#8220;End Process&#8221;.</em> However, you can also <em>accomplish the same from the command promp</em>t. For this, first you would need to know the name of the process that you want to kill/stop. To do so:</p>
<p style="text-align: justify;"><em>Open Command Prompt with alleviated privileges (Administrator) i.e </em><em>yourdrive:\&gt; Now in the command prompt, type </em><em>tasklist and press Enter. This should give you a list of currently running tasks like below:</em></p>
<p style="text-align: justify;"><em> </em><a href="http://techchunks.com/wp-content/uploads/2009/10/How-to-kill-stop-a-Process-from-Command-Prompt-in-Windows-NT-2000-XP.jpg"><img class="aligncenter size-full wp-image-500" title="How to kill (stop) a Process from Command Prompt in Windows NT 2000 XP" src="http://techchunks.com/wp-content/uploads/2009/10/How-to-kill-stop-a-Process-from-Command-Prompt-in-Windows-NT-2000-XP.jpg" alt="How to kill (stop) a Process from Command Prompt in Windows NT 2000 XP" width="608" height="304" /></a></p>
<p style="text-align: justify;">Now since you know the name of the process to kill, for example notepad.exe, use the following command from the command prompt to end it:</p>
<p style="text-align: justify;"><em><code>taskkill /IM notepad.exe</code></em></p>
<p style="text-align: justify;">This will cause the program to terminate gracefully, asking for confirmation if there are unsaved changes.  But sometimes this may not work. In such cases, to forcefully kill the same process add the /F option to the command line.</p>
<p style="text-align: justify;"><em><code>taskkill /IM notepad.exe /F<br />
</code></em></p>
<p style="text-align: justify;"><em> </em>But be careful with the /F option as it will terminate all matching processes without confirmation.</p>
<p style="text-align: justify;">To kill a single instance of a process, specify its process id (PID). For example, if the desired process has a PID of 827, use the following command to kill it:</p>
<p style="text-align: justify;"><em><code>taskkill /PID 827</code></em></p>
<p style="text-align: justify;">Using filters, a variety of different patterns can be used to specify the processes to kill. For example, the following filter syntax will forcefully kill all processes owned by the user <em><code>TechChunks</code></em>:</p>
<p style="text-align: justify;"><em><code>taskkill /F /FI "USERNAME </code></em><code>eq </code><em><code>TechChunks"</code></em></p>
<p style="text-align: justify;"><strong>Parameters:</strong><br />
eq: equals                 ne: not equal<br />
gt: greater than           lt: less than<br />
gt: greater than or equal  le: less than or equal</p>
<p style="text-align: justify;">Hope this little tutorial helps you to <strong>kill a non-responding windows process from the command prompt using the taskkill command, in case the task manager also refuses to respond</strong>. Let us hear how it worked for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://techchunks.com/technology/microsoft/how-to-kill-stop-a-process-from-command-prompt-in-windows-nt2000xp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

