<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Create Batch File to Start or End Window Services</title>
	<atom:link href="http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sun, 22 Nov 2009 02:44:39 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: delea</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-16407</link>
		<dc:creator>delea</dc:creator>
		<pubDate>Wed, 18 Nov 2009 06:03:59 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16407</guid>
		<description>I created batch file having this entry NET STOP &quot;MSSQLSERVER&quot; and it is prompting me to accept Y before execution.&lt;br&gt;How can I correct this to make auto-execute?</description>
		<content:encoded><![CDATA[<p>I created batch file having this entry NET STOP &#8220;MSSQLSERVER&#8221; and it is prompting me to accept Y before execution.<br />How can I correct this to make auto-execute?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aarfie</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-15761</link>
		<dc:creator>aarfie</dc:creator>
		<pubDate>Wed, 21 Oct 2009 08:26:15 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15761</guid>
		<description>Ya Finger Crossed,&lt;br&gt;i Was looking for Same.&lt;br&gt;Thanks,&lt;br&gt;Ahmad</description>
		<content:encoded><![CDATA[<p>Ya Finger Crossed,<br />i Was looking for Same.<br />Thanks,<br />Ahmad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: malaa</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-15674</link>
		<dc:creator>malaa</dc:creator>
		<pubDate>Fri, 16 Oct 2009 09:30:57 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15674</guid>
		<description>Nice one, I think it could help me cos am having a work station with oracle, SAP and microsoft SQL Server</description>
		<content:encoded><![CDATA[<p>Nice one, I think it could help me cos am having a work station with oracle, SAP and microsoft SQL Server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-10632</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Tue, 21 Apr 2009 13:06:26 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-10632</guid>
		<description>Thanks, But how to Enable / Disable Windows Services using DOS.&lt;br&gt;&lt;br&gt;If the service is disabled, we cannot start the service using &#039;&#039; net start command &#039;&#039;</description>
		<content:encoded><![CDATA[<p>Thanks, But how to Enable / Disable Windows Services using DOS.</p>
<p>If the service is disabled, we cannot start the service using &#39;&#39; net start command &#39;&#39;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrxbubbles</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-9902</link>
		<dc:creator>mrxbubbles</dc:creator>
		<pubDate>Mon, 30 Mar 2009 06:49:29 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-9902</guid>
		<description>try double quotes on the second one around the service name</description>
		<content:encoded><![CDATA[<p>try double quotes on the second one around the service name</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leighw</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-9216</link>
		<dc:creator>leighw</dc:creator>
		<pubDate>Sat, 07 Mar 2009 14:57:49 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-9216</guid>
		<description>Does anyone know how to DISABLE a service (not just stop it) so that it wont start again on the next reboot? I have tried the following: -&lt;br&gt;&lt;br&gt;NET STOP &quot;Service Name&quot; (The service stops after a second or two)&lt;br&gt;SC Config &quot;Service Name&quot; start= disabled&lt;br&gt;&lt;br&gt;But this error is produced on the second line: -&lt;br&gt;&lt;br&gt;[SC] OpenService FAILED 1060: The specified service does not exist as an installed service.&lt;br&gt;&lt;br&gt;Patently the service does exist as it was stopped successfully in the first line.&lt;br&gt;&lt;br&gt;Thanks, Leigh</description>
		<content:encoded><![CDATA[<p>Does anyone know how to DISABLE a service (not just stop it) so that it wont start again on the next reboot? I have tried the following: -</p>
<p>NET STOP &#8220;Service Name&#8221; (The service stops after a second or two)<br />SC Config &#8220;Service Name&#8221; start= disabled</p>
<p>But this error is produced on the second line: -</p>
<p>[SC] OpenService FAILED 1060: The specified service does not exist as an installed service.</p>
<p>Patently the service does exist as it was stopped successfully in the first line.</p>
<p>Thanks, Leigh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramr</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-9180</link>
		<dc:creator>ramr</dc:creator>
		<pubDate>Fri, 06 Mar 2009 10:09:06 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-9180</guid>
		<description>Would be nice to clearly add where those files should be located.&lt;br&gt;&lt;br&gt;Thks, Regards</description>
		<content:encoded><![CDATA[<p>Would be nice to clearly add where those files should be located.</p>
<p>Thks, Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: savita</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-5684</link>
		<dc:creator>savita</dc:creator>
		<pubDate>Mon, 01 Dec 2008 08:41:28 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-5684</guid>
		<description>Hi,&lt;br&gt;&lt;br&gt;I am  using net start to start a service. but my service name has sqaure brackets soemthign like abc[32.0] and becuase of square braces its failing. does anyone know escapae sequence for this?&lt;br&gt;&lt;br&gt;many thanks&lt;br&gt;savita.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am  using net start to start a service. but my service name has sqaure brackets soemthign like abc[32.0] and becuase of square braces its failing. does anyone know escapae sequence for this?</p>
<p>many thanks<br />savita.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-2681</link>
		<dc:creator></dc:creator>
		<pubDate>Wed, 01 Feb 2006 19:25:19 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2681</guid>
		<description>Sometimes you might run into a problem using the NET command.  You may find yourself getting this error:

&lt;em&gt;&#039;net&#039; is not recognize as an internal or external command.&lt;/em&gt;

When that happens, this usually indicates that there is a problem with your PATH setting.  To fix this, while in a command prompt, type PATH and hit the [enter] key.  Your PATH variable may be long or short, depending on what programs have modified it, what you&#039;ve done, etc..

What you need to do is make sure that you have C:WindowsSystem32 as the first location in the PATH line (assuming you are using WinXP).  To fix the problem, type:

&lt;em&gt;PATH %SystemRoot%System32&lt;/em&gt;

And add any other path locations that may already be listed before you modified the path.  Separate each individual path location with a semi-colon ( ; ).

I usually keep my path variable simple:

&lt;em&gt;PATH %SystemRoot%System32;%SystemRoot%;%SystemRoot%Progra~1;C:;D:;E:&lt;/em&gt;

EDIT: Sometimes setting this through a command prompt will not work, as the PATH variable may automatically be reset to what it was before you modified it.  If this is the case, you can change the path by the following alternative method (assuming you&#039;re using WinXP):

Right-click on &quot;My Computer&quot; and choose &quot;Properties&quot;
Click the &quot;Advanced&quot; tab
Click the &quot;Environment Variables&quot; button
In the &quot;System Variables&quot; box, click on &quot;Path&quot;, and click &quot;Edit&quot;
Make the changes to your path variable, then click &quot;Ok&quot;
Click &quot;Ok&quot; to exit all dialog windows.

This should save your PATH variable correctly.</description>
		<content:encoded><![CDATA[<p>Sometimes you might run into a problem using the NET command.  You may find yourself getting this error:</p>
<p><em>&#8216;net&#8217; is not recognize as an internal or external command.</em></p>
<p>When that happens, this usually indicates that there is a problem with your PATH setting.  To fix this, while in a command prompt, type PATH and hit the [enter] key.  Your PATH variable may be long or short, depending on what programs have modified it, what you&#8217;ve done, etc..</p>
<p>What you need to do is make sure that you have C:WindowsSystem32 as the first location in the PATH line (assuming you are using WinXP).  To fix the problem, type:</p>
<p><em>PATH %SystemRoot%System32</em></p>
<p>And add any other path locations that may already be listed before you modified the path.  Separate each individual path location with a semi-colon ( ; ).</p>
<p>I usually keep my path variable simple:</p>
<p><em>PATH %SystemRoot%System32;%SystemRoot%;%SystemRoot%Progra~1;C:;D:;E:</em></p>
<p>EDIT: Sometimes setting this through a command prompt will not work, as the PATH variable may automatically be reset to what it was before you modified it.  If this is the case, you can change the path by the following alternative method (assuming you&#8217;re using WinXP):</p>
<p>Right-click on &#8220;My Computer&#8221; and choose &#8220;Properties&#8221;<br />
Click the &#8220;Advanced&#8221; tab<br />
Click the &#8220;Environment Variables&#8221; button<br />
In the &#8220;System Variables&#8221; box, click on &#8220;Path&#8221;, and click &#8220;Edit&#8221;<br />
Make the changes to your path variable, then click &#8220;Ok&#8221;<br />
Click &#8220;Ok&#8221; to exit all dialog windows.</p>
<p>This should save your PATH variable correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sl</title>
		<link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/comment-page-1/#comment-2491</link>
		<dc:creator>sl</dc:creator>
		<pubDate>Wed, 21 Dec 2005 14:53:02 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2491</guid>
		<description>how about:

sc \servername STOP &quot;Servicename&quot;

where sc is the service control utility in resource kit. You can use START to start a service and other switches to do the following:

sc \servername config servicename start=(boot, system, auto, demand, disabled)</description>
		<content:encoded><![CDATA[<p>how about:</p>
<p>sc \servername STOP &#8220;Servicename&#8221;</p>
<p>where sc is the service control utility in resource kit. You can use START to start a service and other switches to do the following:</p>
<p>sc \servername config servicename start=(boot, system, auto, demand, disabled)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
