Bitcoin Forum
April 24, 2024, 02:59:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can I start Bitcoin Core on Windows without a GUI?  (Read 126 times)
DrakonX (OP)
Jr. Member
*
Offline Offline

Activity: 99
Merit: 4


View Profile
June 18, 2021, 08:04:37 PM
 #1

How can I start Bitcoin Core on Windows without a graphical user interface, i.e. only the thread that synchronizes the blockchain? Is there even a way to start the GUI minimized (in the system tray)?
1713970772
Hero Member
*
Offline Offline

Posts: 1713970772

View Profile Personal Message (Offline)

Ignore
1713970772
Reply with quote  #2

1713970772
Report to moderator
1713970772
Hero Member
*
Offline Offline

Posts: 1713970772

View Profile Personal Message (Offline)

Ignore
1713970772
Reply with quote  #2

1713970772
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713970772
Hero Member
*
Offline Offline

Posts: 1713970772

View Profile Personal Message (Offline)

Ignore
1713970772
Reply with quote  #2

1713970772
Report to moderator
1713970772
Hero Member
*
Offline Offline

Posts: 1713970772

View Profile Personal Message (Offline)

Ignore
1713970772
Reply with quote  #2

1713970772
Report to moderator
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1498
Merit: 7263


Farewell, Leo


View Profile
June 18, 2021, 08:09:15 PM
Last edit: June 18, 2021, 08:20:20 PM by BlackHatCoiner
 #2

Open your cmd. Change the directory that is located to:
Code:
cd C:\Program Files\Bitcoin\daemon
(or wherever you've installed it)

You could check it from your windows explorer too. Type the following to start the daemon and then hit enter:
Code:
bitcoind.exe

Run the CLI with:
Code:
bitcoin-cli.exe

The GUI runs the daemon; this is the actual Core of Bitcoin.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6679


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 19, 2021, 06:50:46 PM
 #3

The only setting that can start bitcoin core minimized is if you select the "General > Start Bitcoin Core at system logon" option in settings. However this isn't ideal if you don't want Core automatically starting, and there aren't any similar settings which control window behavior.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
khaled0111
Legendary
*
Offline Offline

Activity: 2506
Merit: 2832


Top Crypto Casino


View Profile WWW
June 19, 2021, 09:27:45 PM
Last edit: June 19, 2021, 11:56:22 PM by khaled0111
 #4

You can also start bitcoin core daemon by running the below command from the Windows command prompt (cmd):
Code:
C:\Program Files\Bitcoin\daemon\bitcoind
This is the directory were bitcoin is installed by default.

To interact with the daemon use this syntax:
Code:
C:\Program Files\Bitcoin\daemon\bitcoin-cli command

To stop bitcoin core properly use this command and never force Windows shutdown if core is still running:
Code:
C:\Program Files\Bitcoin\daemon\bitcoin-cli stop
for more details, check this guide: https://bitcoin.org/en/full-node#windows-instructions

However this isn't ideal if you don't want Core automatically starting
But if he wants to contribute to the network he has to let his node run for as long as possible!

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2170
Merit: 4237


Join the world-leading crypto sportsbook NOW!


View Profile WWW
June 19, 2021, 11:37:55 PM
 #5

I've never tried this, but you might be able to use the "Task Scheduler" to set up bitcoind to run as a background service.  The gui isn't very taxing on system resources, and if you setup the gui to minimize itself to the tray on closing, it's essentially the same thing.

The only reason I can imagine someone wanting to do this is for security on a shared computer, ie, you don't want others who are using the PC to know that bitcoin is running on that machine.  If you are doing so just to bolster the network with another node, you can disable wallet rpc functions in the bitcoin.conf file.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5531


Self-proclaimed Genius


View Profile
June 20, 2021, 04:01:51 AM
Merited by ABCbits (1)
 #6

How can I start Bitcoin Core on Windows without a graphical user interface, i.e. only the thread that synchronizes the blockchain? Is there even a way to start the GUI minimized (in the system tray)?
For the GUI, these are the settings that you'll need (under "Settings->Options..._>Window"):


If you want to start bitcoind:
  • Go to the location where the "daemon" folder is, already pointed in the other replies.
  • Now, in that folder, Hold 'SHIFT' and 'right click' on an empty space inside windows explorer (while nothing is highlighted/selected),
    a right-click options will be displayed, select "Open command window here" and cmd will open that's already started with that directory.
  • Lastly, type: bitcoind and it will start.

In newer Windows10 versions, "cmd" has been replaced by "PowerShell" in the right click menu of Windows explorer or start menu.
If you'll use that instead of cmd, type ./bitcoind instead.

If you want a shortcut, you can create a ".bat" file that you can double-click to start bitcoind:
  • Create a new text file in the daemon folder: "Right-click->New->Text document"
  • Edit it and type bitcoind, save and exit.
  • Rename the "New Text Document.txt" into "any_name_you_want.bat", the important part is the extension.
  • You can create shortcuts for you to link to start of desktop:
    "Right-click on the .bat file->Create shortcut" or "Right-click on the .bat file->send to->Desktop (create shortcut)"
Then you can use that to start bitcoind without manually launching command prompt.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6679


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 20, 2021, 05:22:49 AM
Last edit: June 20, 2021, 05:34:18 AM by NotATether
 #7

The gui isn't very taxing on system resources, and if you setup the gui to minimize itself to the tray on closing, it's essentially the same thing.

Well, they aren't exactly the same. Starting bitcoind (background service or not) means you can't run the GUI at a later date until you shut down bitcoind, unlike if you start bitcoin-qt minimized.

NSSM can run services better than the built-in task scheduler. It's slightly more complicated to automate it with TS as you have to make events for the current user logging on and off, and then somehow make the bitcoind process in the background (which NSSM can do easily by running the program as SYSTEM)

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!