<p>Both bitcoin-qt and bitcoind will, by default, try and use the same directory for blocks, chainstate, wallets, etc.
Both can't access the same files at the same time. The first will lock the data directory, preventing other Bitcoin Core processes from also using it, to avoid corruption etc.
If you want to use bitcoind, you can perform all the same wallet functions and more using the command line with bitcoin-cli, rather than using the GUI. Otherwise, shutting down bitcoind before opening bitcoin-qt is the only option.</p>

CC BY-SA 4.0
2021-12-23T23:08:50.720Z
2021-12-23T23:08:50.720Z
meshcollider
<p>Why can't I use Bitcoin-QT while <code>bitcoind</code> is running as a Windows service under NSSM?</p>
<p>Is there a trick to this?</p>
<p>For me to use Bitcoin-QT, I have to stop my windows service and then open it.</p>
<p>Or should I use a separate GUI tool other than BitcoinQT as a workaround.</p>
<p>Hoping for some help on this.</p>

<bitcoin-qt-setup>
Why can't I use Bitcoin-QT while bitcoind is running as a Windows service under NSSM?
djangofan
# Why can't I use Bitcoin-QT while bitcoind is running as a Windows service under NSSM?

(Asked by: username_0 on 2021-12-23)

Why can't I use Bitcoin-QT while `bitcoind` is running as a Windows service under NSSM?

Is there a trick to this?

For me to use Bitcoin-QT, I have to stop my windows service and then open it.

Or should I use a separate GUI tool other than BitcoinQT as a workaround.

Hoping for some help on this.

**Tags:** bitcoin-qt-setup


---

## 1 answers

### Answer by username_1 on 2021-12-23. Score: 1

Both bitcoin-qt and bitcoind will, by default, try and use the same directory for blocks, chainstate, wallets, etc.
Both can't access the same files at the same time. The first will lock the data directory, preventing other Bitcoin Core processes from also using it, to avoid corruption etc.
If you want to use bitcoind, you can perform all the same wallet functions and more using the command line with bitcoin-cli, rather than using the GUI. Otherwise, shutting down bitcoind before opening bitcoin-qt is the only option.


---

