<?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>Kale Davis &#187; Administration</title>
	<atom:link href="http://kaledavis.com/category/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://kaledavis.com</link>
	<description>This is a blog, it goes bit bit</description>
	<lastBuildDate>Wed, 21 Jul 2010 10:59:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Killing Windows Services that hang on &#8216;STOPPING&#8217;</title>
		<link>http://kaledavis.com/2009/12/23/killing-windows-services-that-hang-on-stopping/</link>
		<comments>http://kaledavis.com/2009/12/23/killing-windows-services-that-hang-on-stopping/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 14:45:29 +0000</pubDate>
		<dc:creator>Kale</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[taskkill]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://kaledavis.com/?p=111</guid>
		<description><![CDATA[Although rare, sometimes a Windows Service can hang while stopping or restarting. This happened to me yesterday on one of my SharePoint servers and thought I would write-up a quick note in case I ever need it again. In my case the Office SharePoint Search Service had stopped responding and when I tried to restart [...]]]></description>
			<content:encoded><![CDATA[<p>Although rare, sometimes a <a href="http://en.wikipedia.org/wiki/Windows_service">Windows Service</a> can hang while stopping or restarting. This happened to me yesterday on one of my SharePoint servers and thought I would write-up a quick note in case I ever need it again. In my case the <a href="http://technet.microsoft.com/en-us/library/cc262700.aspx">Office SharePoint Search Service</a> had stopped responding and when I tried to restart the service it hung on &#8216;STOPPING&#8217;. A reboot would of fixed it, but that isn&#8217;t an option for a production server usually.</p>
<p>First, find the service name:<br />
<img src="http://kaledavis.com/blog/wp-content/uploads/2009/12/service-name.png" alt="" title="service name" width="410" height="213" class="size-full wp-image-112" /></p>
<p>Next you can use the <a href="http://technet.microsoft.com/en-us/library/bb490995.aspx">SC</a> command with queryex to find the PID for that service and then use <a href="http://technet.microsoft.com/en-us/library/bb491009.aspx">taskkill</a> to kill the service:<br />
<img src="http://kaledavis.com/blog/wp-content/uploads/2009/12/sc-queryex-and-taskkill.png" alt="" title="sc queryex and taskkill" width="668" height="331" class="size-full wp-image-113" /></p>
<p><em>Couple notes</em> &#8211; the /F flag is for forcing the service to stop. Try it first without the /F. A service hanging on &#8216;STOPPING&#8217; is usually a bad sign, so you may want to figure out why this is happening before doing this.</p>
]]></content:encoded>
			<wfw:commentRss>http://kaledavis.com/2009/12/23/killing-windows-services-that-hang-on-stopping/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.379 seconds -->
