Bitcoin Forum

Other => Beginners & Help => Topic started by: Not your key not your BTC on September 25, 2023, 12:29:42 AM



Title: Auto running bitcoin core when turning on PC
Post by: Not your key not your BTC on September 25, 2023, 12:29:42 AM
I was change the target into D disk, but when I restart the PC, bitcoin core success auto running, but it doesn't on the target, the core running on C disk (create new wallet like begining install)).

How to make it auto running on the D disk target when turning my PC?


Title: Re: Auto running bitcoin core when turning on PC
Post by: Sarah Azhari on September 25, 2023, 09:47:41 AM
Windows + R

then type

Code:
shell:startup

Right click bitcoin file and change datadir start in the same as Target



Title: Re: Auto running bitcoin core when turning on PC
Post by: BitMaxz on September 25, 2023, 01:07:35 PM
There's no straight forward answer since we don't know your exact modification.
1. How did you change folder path?
2. How do you configure Bitcoin to automatically run on boot? By ticking option

IIRC it shouldn't happen if you change folder path by editing bitcoin.conf.

I guess he did check "Start Bitcoin on system startup" in the options menu.
The only problem is what exactly he is trying to target.

@OP would you mind to tell us if you already have Bitcoin data in drive D:

If you already have a copy in drive D: then you can edit the bitcoin.conf file then add this

Code:
datadir=D:\Bitcoin

Replace Bitcoin to the folder name where you move the Bitcoin data.



Title: Re: Auto running bitcoin core when turning on PC
Post by: iBaba on September 26, 2023, 08:30:34 AM
I was change the target into D disk, but when I restart the PC, bitcoin core success auto running, but it doesn't on the target, the core running on C disk (create new wallet like begining install)).

How to make it auto running on the D disk target when turning my PC?
Did you find solution to your problem from the above mentioned replies? If you are still battling with same issue I would also suggest that you do this, especially on a windows PC.

Firstly, I will advise you to shut down your windows PC completely, although it doesn't matter, but to refresh your PC memory.

Then, Close Bitcoin core if it's in anyway running in the background, then find your bitcoin.conf file, and change the datadir setting. e.g.

Code:
# [core]
# Specify a non-default location to store blockchain and other data.
datadir=D:\Bitcoin

Then re-open core. It should pick up where your wallet last synced to the drive D:.
I hope this helps!


Title: Re: Auto running bitcoin core when turning on PC
Post by: SquirrelJulietGarden on September 26, 2023, 10:48:27 AM
Be careful when attempt to help someone. Shut down PC before closing Bitcoin Core may lead to unwanted outcome. For example, the OS might forcefully kill Bitcoin Core process which lead to data corruption. When you close Bitcoin Core GUI, it shows message "Do not shut down the computer until this window closes".
Agree with you.

It takes only a few seconds to completely close a Bitcoin Core wallet so it is not painful experience.

Having problems when reopening a Bitcoin Core wallet after a sudden electricity, power supply loss, which you can not control, is acceptable. But if it is intentionally shut down, it is not smart action.

I read some users came to Bitcointalk and asked issues with their Bitcoin Core wallet. Some issues are because of abruptly shutdown the computer before a wallet compelely closes.


Title: Re: Auto running bitcoin core when turning on PC
Post by: Not your key not your BTC on September 28, 2023, 01:06:19 AM
I was change the target into D disk, but when I restart the PC, bitcoin core success auto running, but it doesn't on the target, the core running on C disk (create new wallet like begining install)).

How to make it auto running on the D disk target when turning my PC?
Did you find solution to your problem from the above mentioned replies? If you are still battling with same issue I would also suggest that you do this, especially on a windows PC.


It's not worked

I got problem with shortcut

The folder " C:\...................." -datadir=..........' spesified in the start in box is not valid.
Make sure that the folder exist and tha the path is correct.

But, it's worked after I made it (start in) as default and change the target only.