<?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>James Wiseman &#187; W3SVC</title>
	<atom:link href="http://www.jameswiseman.com/blog/tag/w3svc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jameswiseman.com/blog</link>
	<description>My Programming Notebook and Other Things</description>
	<lastBuildDate>Fri, 03 Feb 2012 15:13:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Start and Stop IIS From the Command Line</title>
		<link>http://www.jameswiseman.com/blog/2010/07/05/start-and-stop-iis-from-the-command-line/</link>
		<comments>http://www.jameswiseman.com/blog/2010/07/05/start-and-stop-iis-from-the-command-line/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 17:00:50 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[taskkill]]></category>
		<category><![CDATA[W3SVC]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=995</guid>
		<description><![CDATA[I don&#8217;t know about you, but I find it hassle having to navigate to the Windows Services list in order to stop and start IIS at will: Start Menu -&#62; Control Panel -&#62; Administrative Tools -&#62; Services So, how can we do this quickly without all the fiddly and tedious navigation. Easy! Simply use these [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I don&#8217;t know about you, but I find it hassle having to navigate to the Windows Services list in order to stop and start IIS at will:</p>
<p><em><strong>Start Menu -&gt; Control Panel -&gt; Administrative Tools -&gt; Services</strong></em></p>
<p><a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/07/Windows-Services-Dialog.jpg"><img class="alignnone size-medium wp-image-1014" title="Windows-Services-Dialog" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/07/Windows-Services-Dialog-300x128.jpg" alt="Windows Services Dialog" width="300" height="128" /></a></p>
<p>So, how can we do this quickly without all the fiddly and tedious navigation. Easy! Simply use these command-line commands:</p>
<p><strong>Stop:</strong><br />
<span style="font-family: monospace;">net stop iisadmin</span></p>
<p><strong>Stop All Dependent Services:</strong><br />
<span style="font-family: monospace;">net stop iisadmin /y</span></p>
<p><code></code><strong>Start:</strong><br />
<span style="font-family: monospace;">net start w3svc</span></p>
<p><strong>Kill</strong></p>
<div>This lead me to another annoying problem in that the W3SVC service acutally got stuck stopping. I sumbled upon some <a title="Killing Process Completely" href="http://www.petri.co.il/forums/showthread.php?t=25844" target="_blank">useful information on killing the process completely</a>. Simply use the <a title="TaskKill Command" href="http://technet.microsoft.com/en-us/library/bb491009.aspx" target="_blank">TaskKill command</a>.</div>
<p><code>Taskkill /F /FI "SERVICES eq w3svc"</code><br />
<code>Taskkill /F /FI "SERVICES eq iisadmin"</code></p>
<p>Ater this the services may be displayed as being started, so be sure to stop them again.</p>
<div class="shr-publisher-995"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jameswiseman.com%2Fblog%2F2010%2F07%2F05%2Fstart-and-stop-iis-from-the-command-line%2F' data-shr_title='Start+and+Stop+IIS+From+the+Command+Line'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jameswiseman.com%2Fblog%2F2010%2F07%2F05%2Fstart-and-stop-iis-from-the-command-line%2F' data-shr_title='Start+and+Stop+IIS+From+the+Command+Line'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/07/05/start-and-stop-iis-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src="http://www.jameswiseman.com/blog/wp-content/plugins/mystat/mystat.php?act=time_load&id=616974&rnd=439717572" /></channel>
</rss>

