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:

enter image description here

Is there any way to create a bitcoind regetest service?


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.

  • That was a typo. Also, for some reason, I cannot run -daemon "-daemon is not allowed on this host machine" – Nate Nov 1 '17 at 13:57
  • 1
    Hmm, that's strange. Have you also tried the instructions here: bitcoin.org/en/full-node#windows-10 (in particular the "Start Your Node At Boot" section)? – Andrew Chow Nov 1 '17 at 18:25
  • 1
    Error: -daemon is not supported on this operating system – Dmitry Gusarov May 31 '18 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.