user62740: So I am trying to run bitcoin daemon as a service on windows 10, so I don't have to keep starting it.
I have tried the following command:
sc create BitcoinServer binpath= "C:\Program Files\Bitcoin\daemon\bitcoind.exe -regetest" start=auto 

Which creates a service, but when I try to start that, I get an error:

Is there any way to create a bitcoind regetest service?

user48884: I think you need to add -daemon to your command in order for this to work. Also, you have -regetest in your command which implies that you want to use the Regression Test network (regtest). Besides the fact that you have spelled it incorrectly (it should be -regtest), regtest is not the same as mainnet (the main Bitcoin network) and I don't think that is necessarily what you want to do. Because you have spelled it incorrectly, you will be using the mainnet.

62740: <p>So I am trying to run bitcoin daemon as a service on windows 10, so I don't have to keep starting it.</p>

<p>I have tried the following command:</p>

<pre><code>sc create BitcoinServer binpath= "C:\Program Files\Bitcoin\daemon\bitcoind.exe -regetest" start=auto 
</code></pre>

<p>Which creates a service, but when I try to start that, I get an error:</p>

<p><a href="https://i.stack.imgur.com/6RZJT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6RZJT.png" alt="enter image description here"></a></p>

<p>Is there any way to create a bitcoind regetest service?</p>
 48884: <p>I think you need to add <code>-daemon</code> to your command in order for this to work. Also, you have <code>-regetest</code> in your command which implies that you want to use the Regression Test network (regtest). Besides the fact that you have spelled it incorrectly (it should be <code>-regtest</code>), regtest is not the same as mainnet (the main Bitcoin network) and I don't think that is necessarily what you want to do. Because you have spelled it incorrectly, you will be using the mainnet.</p>
