<?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>Codelab Blog &#187; Windows Service</title>
	<atom:link href="http://blog.codelab.co.nz/tag/windows-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codelab.co.nz</link>
	<description>Technical Articles and News from Codelab Ltd</description>
	<lastBuildDate>Tue, 17 Jan 2012 13:10:43 +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>Manually removing a windows service</title>
		<link>http://blog.codelab.co.nz/2009/01/23/manually-removing-a-windows-service/</link>
		<comments>http://blog.codelab.co.nz/2009/01/23/manually-removing-a-windows-service/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 03:22:52 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Service]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=64</guid>
		<description><![CDATA[I was working on a small project which involved building a .NET WorkFlow library and a windows service that invokes the WF library to perform a number of sequence activities.   After building the application I also had to build the installer so that I could install the service automatically on the production server. The thing [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on a small project which involved building a .NET WorkFlow library and a windows service that invokes the WF library to perform a number of sequence activities.   After building the application I also had to build the installer so that I could install the service automatically on the production server.</p>
<p>The thing I missed was to put a custom action in the installer to remove the service.   So, when I uninstalled the application on the production server the service still existed.<br />
Easiest way to remove a service is to open regedt32 and navigate to this path:</p>
<blockquote><p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services</p></blockquote>
<p>Find the service you are looking for and delete it.</p>
<p>I did attempt to use the command from the command prompt “sc delete &lt;service_name&gt;” but this failed to remove it.</p>
<p><em><strong>References:</strong></em></p>
<p><a href="http://stackoverflow.com/questions/197876/how-do-i-uninstall-a-windows-service-if-the-files-does-not-exist-anymore">http://stackoverflow.com/questions/197876/how-do-i-uninstall-a-windows-service-if-the-files-does-not-exist-anymore</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2009/01/23/manually-removing-a-windows-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

