<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx</link><description>We can use sc.exe in the Windows Server 2003 to control services, create services and delete services. Since some people thought they must directly modify the registry to delete a service, I would like to share how to use sc.exe to delete a service without</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>How to delete a service in Windows Server 2003 | Easy Read Articles</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1695406</link><pubDate>Mon, 15 Jun 2009 05:48:53 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1695406</guid><dc:creator>How to delete a service in Windows Server 2003 | Easy Read Articles</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;How to delete a service in Windows Server 2003 | Easy Read Articles&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1695406" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1657506</link><pubDate>Tue, 23 Dec 2008 00:08:20 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657506</guid><dc:creator>Anonymous</dc:creator><description>&lt;p&gt;Also an easier way to get the service name is to open the services administrative tool and then open the service. &amp;nbsp;At the very top is the actual name of the service along with the display name below it. &amp;nbsp;You need the actual name to delete the service. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps you out.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657506" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1656176</link><pubDate>Mon, 08 Dec 2008 16:53:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1656176</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;You need to find the actual service name first, then you can do the delete command. If the service is inactive, you can&amp;#39;t use the state= all, which doesn&amp;#39;t show inactive services. Also, since the services list is so long, you need to &amp;quot;pipe&amp;quot; it to a text file. Here is how:&lt;/p&gt;
&lt;p&gt;From command prompt:&lt;/p&gt;
&lt;p&gt;sc query state= inactive &amp;gt;services.txt&lt;/p&gt;
&lt;p&gt;Find the service name from services.txt, then:&lt;/p&gt;
&lt;p&gt;sc \\servername delete servicename&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1656176" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1655144</link><pubDate>Wed, 26 Nov 2008 16:12:16 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1655144</guid><dc:creator>MaestroDabla</dc:creator><description>&lt;p&gt;Thank you for the information on how to delete a service without having to edit the registry. Good information.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1655144" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1653412</link><pubDate>Fri, 07 Nov 2008 16:25:37 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1653412</guid><dc:creator>Bishakha Sinha</dc:creator><description>&lt;p&gt;Hi Guys,&lt;/p&gt;
&lt;p&gt;There is one easy command for deleting Services in Windows Server 2003.&lt;/p&gt;
&lt;p&gt;Instsrv &amp;lt;ServiceName&amp;gt; Remove&lt;/p&gt;
&lt;p&gt;Hope it Helps !!&lt;/p&gt;
&lt;p&gt;Thanks Much,&lt;/p&gt;
&lt;p&gt;Bishakha&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1653412" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1648693</link><pubDate>Tue, 23 Sep 2008 19:06:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1648693</guid><dc:creator>Saurabh Deshpande</dc:creator><description>&lt;p&gt;Thanks Guys,&lt;/p&gt;
&lt;p&gt;After going through your conversation&lt;/p&gt;
&lt;p&gt;I found my solution&lt;/p&gt;
&lt;p&gt;Thanks very Much&lt;/p&gt;
&lt;p&gt;Saurabh &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1648693" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1642134</link><pubDate>Fri, 25 Jul 2008 17:10:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1642134</guid><dc:creator>Horace Miles</dc:creator><description>&lt;p&gt;Thank you for the information on how to delete a service without having to edit the registry. Good information.&lt;/p&gt;
&lt;p&gt;Miles&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1642134" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1630686</link><pubDate>Tue, 03 Jun 2008 13:55:34 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1630686</guid><dc:creator>Brad Shoap</dc:creator><description>&lt;p&gt;Thanx you for the post on use of SC to delete a service. &amp;nbsp;Your universal engergy is good!&lt;/p&gt;
&lt;p&gt;PEACE&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1630686" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1629146</link><pubDate>Fri, 30 May 2008 09:21:24 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1629146</guid><dc:creator>Pankaj Kathar</dc:creator><description>&lt;p&gt;Thanks a lot !!! &lt;/p&gt;
&lt;p&gt;sc delete &amp;quot;service_name&amp;quot;&lt;/p&gt;
&lt;p&gt;Worked for me... :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1629146" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1621143</link><pubDate>Mon, 12 May 2008 19:55:29 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1621143</guid><dc:creator>chris dolese</dc:creator><description>&lt;p&gt;also looking for assitance on how to delete those services where the service name is made up of more than one word ???&lt;/p&gt;
&lt;p&gt;thanks &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1621143" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1610861</link><pubDate>Thu, 01 May 2008 14:49:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1610861</guid><dc:creator>AOOMMEN</dc:creator><description>&lt;p&gt;My email is aoommen77@yahoo.com, I asked for help in deleting windows service that has more than one word. for example&lt;/p&gt;
&lt;p&gt;SQL Server Analysis Services (CSA)&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1610861" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1610857</link><pubDate>Thu, 01 May 2008 14:46:23 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1610857</guid><dc:creator>AOOMMEN</dc:creator><description>&lt;p&gt;Can you tell me how to delete a service form windows 2003 server, I tried sc delete command, but it does not work. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The server name in not just one word, it is like this&lt;/p&gt;
&lt;p&gt;SQL Server (CSA)&lt;/p&gt;
&lt;p&gt;SQL Server Analysis Services (CSA)&lt;/p&gt;
&lt;p&gt;I am not able to delete these. can you help&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1610857" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1552687</link><pubDate>Tue, 25 Mar 2008 07:08:32 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1552687</guid><dc:creator>Christine</dc:creator><description>&lt;p&gt;How do i enable a disabled service using this command?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1552687" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1429253</link><pubDate>Mon, 31 Dec 2007 15:02:08 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1429253</guid><dc:creator>Tina</dc:creator><description>&lt;p&gt;Thanks again Nuoyan&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1429253" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1421050</link><pubDate>Thu, 27 Dec 2007 01:05:09 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1421050</guid><dc:creator>Nuo Yan</dc:creator><description>&lt;p&gt;In Windows 2000, sc.exe is provided as a resource kit utility. In Windows Server 2003, sc.exe is a buit-in tool.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1421050" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1420699</link><pubDate>Wed, 26 Dec 2007 20:44:18 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1420699</guid><dc:creator>Tina</dc:creator><description>&lt;p&gt;Hi nuoyan,&lt;/p&gt;
&lt;p&gt;Can this file &lt;a rel="nofollow" target="_new" href="http://www.dynawell.com/reskit/microsoft/win2000/sc.zip"&gt;www.dynawell.com/.../sc.zip&lt;/a&gt; be used for windows server 2003 or just for windows-2000?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1420699" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1410088</link><pubDate>Fri, 21 Dec 2007 17:44:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1410088</guid><dc:creator>Tina</dc:creator><description>&lt;p&gt;Hi nuoyan,&lt;/p&gt;
&lt;p&gt;The information provided was very helpful for me. Thanks a lot to you.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1410088" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1247986</link><pubDate>Tue, 16 Oct 2007 05:12:04 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1247986</guid><dc:creator>Nuo Yan</dc:creator><description>&lt;p&gt;Hi Leigh,&lt;/p&gt;
&lt;p&gt;There are several comments in this article (&lt;a rel="nofollow" target="_new" href="http://jayseae.cxliv.org/2005/02/03/manually_remove_a_windows_service.php"&gt;jayseae.cxliv.org/.../manually_remove_a_windows_service.php&lt;/a&gt;) seems to be in same situation as your problem.&lt;/p&gt;
&lt;p&gt;Some are:&lt;/p&gt;
&lt;p&gt;First disable MySQL service, try to desinstall all MySQL packages, delete all files and folders (for MySQL, mysql admin etc) and then use sc command line tool. It works for me.&lt;/p&gt;
&lt;p&gt;-------&lt;/p&gt;
&lt;p&gt;The error 1072 (mentioned by James in comment 10) is probably caused by the service being referenced by some other process so it can't be deleted. However, 1072 is &amp;quot;Marked for Deletion&amp;quot; according to my microsoft documentation, and the next time you reboot the service will be deleted.&lt;/p&gt;
&lt;p&gt;----------&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1247986" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1247984</link><pubDate>Tue, 16 Oct 2007 05:03:02 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1247984</guid><dc:creator>Leigh</dc:creator><description>&lt;p&gt;[SC] DeleteService FAILED 1072:&lt;/p&gt;
&lt;p&gt;The specified service has been marked for deletion.&lt;/p&gt;
&lt;p&gt;The service is MySQL and it cannot be started or deleted. Any idea what to do next?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1247984" width="1" height="1"&gt;</description></item><item><title>re: Deleting services in Windows Server 2003</title><link>http://msmvps.com/blogs/nuoyan/archive/2004/11/07/18247.aspx#1037612</link><pubDate>Wed, 18 Jul 2007 21:30:45 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1037612</guid><dc:creator>Akely</dc:creator><description>&lt;p&gt;Thanks a bunch! Your article helped me get rid of a service that threw an alert constantly. It turned out to be PfModNT which is a CreativeLabs service. The software is uninstalled but the service still tried to call the files, errors ensued.&lt;/p&gt;
&lt;p&gt;Again, thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1037612" width="1" height="1"&gt;</description></item></channel></rss>