<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx</link><description>Configuring the properties of a Windows Service using command prompt and scripting it in a batch file is really simple and can save you from performing the same manual configuration again and again. The sc utility comes handy to achieve this. In the example</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Configuring Windows services using Command Prompt | Microsoft Share Point</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9678117</link><pubDate>Mon, 01 Jun 2009 17:11:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9678117</guid><dc:creator>Configuring Windows services using Command Prompt | Microsoft Share Point</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://microsoft-sharepoint.simplynetdev.com/configuring-windows-services-using-command-prompt/"&gt;http://microsoft-sharepoint.simplynetdev.com/configuring-windows-services-using-command-prompt/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9882804</link><pubDate>Mon, 24 Aug 2009 19:41:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9882804</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;I desire that the service is activated with a local account and not with a particular account, which would be the syntax to follow? &lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;alexmoreno2@hotmail.com&lt;/p&gt;
&lt;p&gt;Venezuela&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9882869</link><pubDate>Mon, 24 Aug 2009 21:35:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9882869</guid><dc:creator>ssehgal</dc:creator><description>&lt;p&gt;Alex,&lt;/p&gt;
&lt;p&gt;Use this syntax:&lt;/p&gt;
&lt;p&gt;sc config &amp;quot;Service1&amp;quot; obj= &amp;quot;localsystem&amp;quot;&lt;/p&gt;
&lt;p&gt;-Sidharth&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9882898</link><pubDate>Mon, 24 Aug 2009 22:23:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9882898</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;thank you very much Sidharth for your quick response ... &lt;/p&gt;
&lt;p&gt;I tried it with this syntax, but I get an following error : &lt;/p&gt;
&lt;p&gt;[SC] ChangueServiceConfig FAILED 1057 &lt;/p&gt;
&lt;p&gt;I hope you can help me ...&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9882955</link><pubDate>Mon, 24 Aug 2009 23:32:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9882955</guid><dc:creator>ssehgal</dc:creator><description>&lt;p&gt;Alex,&lt;/p&gt;
&lt;p&gt;It must be giving a detailed description of failure also. Can you please check and send it across. Make sure there is no space in localsystem, copy the above snippet as it is and replace Service1 by your service name.&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9882963</link><pubDate>Mon, 24 Aug 2009 23:45:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9882963</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;I substituted Service1 by the name of my service, and LocalSystem has no spaces, I really do not know the cause of this error. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9882988</link><pubDate>Tue, 25 Aug 2009 00:34:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9882988</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;I have not managed to correct the mistake ... you have some idea of the cause or possible solution?&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9883696</link><pubDate>Tue, 25 Aug 2009 17:14:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9883696</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;the full error message is:&lt;/p&gt;
&lt;p&gt;[SC] ChangueServiceConfig FAILED 1057 &lt;/p&gt;
&lt;p&gt;the account name is invalid or does not exist or the password is invalid for the specified account name&lt;/p&gt;
&lt;p&gt;Alex Moreno&lt;/p&gt;
&lt;p&gt;alexmoreno2@hotmail.com&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9883732</link><pubDate>Tue, 25 Aug 2009 17:30:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9883732</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;already solved the problem, I had to add the sentence empty password ... &lt;/p&gt;
&lt;p&gt;password = &amp;quot;&amp;quot; &lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
</description></item><item><title>re: Configuring Windows services using Command Prompt</title><link>http://blogs.msdn.com/ssehgal/archive/2009/06/01/configuring-windows-services-using-command-prompt.aspx#9883918</link><pubDate>Tue, 25 Aug 2009 20:46:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9883918</guid><dc:creator>ssehgal</dc:creator><description>&lt;p&gt;Thats Great :)&lt;/p&gt;
&lt;p&gt;For me it works fine even without specifying the password. We both seem to be running different versions of OS.&lt;/p&gt;
</description></item></channel></rss>