<?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: How to create windows services (Command Line)</title>
	<atom:link href="http://technology.amis.nl/2008/02/13/how-to-create-windows-services-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2008/02/13/how-to-create-windows-services-command-line/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-create-windows-services-command-line</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Mythreyi</title>
		<link>http://technology.amis.nl/2008/02/13/how-to-create-windows-services-command-line/#comment-5186</link>
		<dc:creator>Mythreyi</dc:creator>
		<pubDate>Fri, 19 Feb 2010 01:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2852#comment-5186</guid>
		<description><![CDATA[The space after the &quot;=&quot; after the option type to specify the value was what was missing.
This post help me get over it.
Really helpful! Thanks]]></description>
		<content:encoded><![CDATA[<p>The space after the &#8220;=&#8221; after the option type to specify the value was what was missing.<br />
This post help me get over it.<br />
Really helpful! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Gralike</title>
		<link>http://technology.amis.nl/2008/02/13/how-to-create-windows-services-command-line/#comment-5185</link>
		<dc:creator>Chris Gralike</dc:creator>
		<pubDate>Fri, 03 Jul 2009 09:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2852#comment-5185</guid>
		<description><![CDATA[If it helps, after reading some additional documentation on the subject regarding the NT boot process i found the following.

both the system and boot switches are related to &quot;drivers&quot; that need to be loaded at boot time by one of the following components.

boot driver =&gt; loaded by NTLDR at system boot.
system driver =&gt; loaded by ntoskrnl.exe after &quot;boot&quot; drivers.
automatic drivers =&gt; loaded much later when the GUI is started in the following process.]]></description>
		<content:encoded><![CDATA[<p>If it helps, after reading some additional documentation on the subject regarding the NT boot process i found the following.</p>
<p>both the system and boot switches are related to &#8220;drivers&#8221; that need to be loaded at boot time by one of the following components.</p>
<p>boot driver =&gt; loaded by NTLDR at system boot.<br />
system driver =&gt; loaded by ntoskrnl.exe after &#8220;boot&#8221; drivers.<br />
automatic drivers =&gt; loaded much later when the GUI is started in the following process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Gralike</title>
		<link>http://technology.amis.nl/2008/02/13/how-to-create-windows-services-command-line/#comment-5184</link>
		<dc:creator>Chris Gralike</dc:creator>
		<pubDate>Fri, 03 Jul 2009 09:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2852#comment-5184</guid>
		<description><![CDATA[Hello Matthew,

Im not sure if boot in this case actually means at system boot (windows boot logo). More because of the windows architecture where all services marked &quot;automatic&quot; will be started at system startup directly after logon.

If you actually want something to start at the earliest possible time you might want to use the windows policies instead of system services.
By means of scripting this might be an outcome.

If this is preferred there are two moments you can use to script your task (script a service startup for instance ;) )

1. At system startup.
Only problem here is that the explorer process isnt started yet, so WMI and VB arnt an option here and you are bound to batch scripting. another downside might be that all user information isnt available yet. In effect this means that you have a DOS environment and its capabilities to do some basic very early administrative tasks.

2. At system logon.
This is where the user has finished logging on and all &quot;automatic&quot; services have started and all env information is available to you. Usually used for domain logon scripting.

Both can be configured using the windows group policy editor.
&gt;start&gt;run...&gt;MMC
[ctr+m]&gt;add&gt;Group policy editor&gt;add&gt;local computer&gt;finish&gt;close&gt;ok

If you want to test the boot option, i got windows to accept it by using the following command..

C:\Documents and Settings\chris&gt;sc create MySystemCmdBox binPath= &quot;C:\windows\system32\cmd.exe /k cmd&quot; type= own error
= ignore start= boot start= auto
[SC] CreateService SUCCESS

Rgrds,]]></description>
		<content:encoded><![CDATA[<p>Hello Matthew,</p>
<p>Im not sure if boot in this case actually means at system boot (windows boot logo). More because of the windows architecture where all services marked &#8220;automatic&#8221; will be started at system startup directly after logon.</p>
<p>If you actually want something to start at the earliest possible time you might want to use the windows policies instead of system services.<br />
By means of scripting this might be an outcome.</p>
<p>If this is preferred there are two moments you can use to script your task (script a service startup for instance <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
<p>1. At system startup.<br />
Only problem here is that the explorer process isnt started yet, so WMI and VB arnt an option here and you are bound to batch scripting. another downside might be that all user information isnt available yet. In effect this means that you have a DOS environment and its capabilities to do some basic very early administrative tasks.</p>
<p>2. At system logon.<br />
This is where the user has finished logging on and all &#8220;automatic&#8221; services have started and all env information is available to you. Usually used for domain logon scripting.</p>
<p>Both can be configured using the windows group policy editor.<br />
&gt;start&gt;run&#8230;&gt;MMC<br />
[ctr+m]&gt;add&gt;Group policy editor&gt;add&gt;local computer&gt;finish&gt;close&gt;ok</p>
<p>If you want to test the boot option, i got windows to accept it by using the following command..</p>
<p>C:\Documents and Settings\chris&gt;sc create MySystemCmdBox binPath= &#8220;C:\windows\system32\cmd.exe /k cmd&#8221; type= own error<br />
= ignore start= boot start= auto<br />
[SC] CreateService SUCCESS</p>
<p>Rgrds,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://technology.amis.nl/2008/02/13/how-to-create-windows-services-command-line/#comment-5183</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Mon, 29 Jun 2009 10:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2852#comment-5183</guid>
		<description><![CDATA[Hi,

Thanks for the tutorial.

I&#039;m getting a problem with the Failed 87 error.

I&#039;m trying to set a service so it runs at boot. which i&#039;m trying to use the start= boot switch.

But, using the example above and just changing that switch it generates Failed 87.

Any idea why this is? It works if i use the example above, exactly, but i need this service to run at boot.

Thanks,

Matthew Millar]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the tutorial.</p>
<p>I&#8217;m getting a problem with the Failed 87 error.</p>
<p>I&#8217;m trying to set a service so it runs at boot. which i&#8217;m trying to use the start= boot switch.</p>
<p>But, using the example above and just changing that switch it generates Failed 87.</p>
<p>Any idea why this is? It works if i use the example above, exactly, but i need this service to run at boot.</p>
<p>Thanks,</p>
<p>Matthew Millar</p>
]]></content:encoded>
	</item>
</channel>
</rss>
