Author

Topic: Opening encrypted wallet.dat file (Read 504 times)

legendary
Activity: 1624
Merit: 2481
April 22, 2018, 09:23:05 AM
#11
To extract the private key for each of your public address from Bitcoin-Qt, type below command under the console tab.
Code:
dumpprivkey BitcoinPublicAddress
In place of BitcoinPublicAddress you have to mention your Bitcoin public key address.


When dumping multiple private keys this command might be better:

Code:
dumpwallet C:\path\to\dump.txt

This command does dump all private keys into a .txt file.
But note that the private keys will be saved in this .txt file in plain text. Never execute this command on an (eventually) compromised computer.
jr. member
Activity: 238
Merit: 7
April 21, 2018, 06:25:47 PM
#10
I found the location and replaced the file, now when I open bitcoin QT, it shows that I can encrypt my wallet again. Seems like I did not encrypt it... Where can I find my public address/private address of the wallet?

To extract the private key for each of your public address from Bitcoin-Qt, type below command under the console tab.
Code:
dumpprivkey BitcoinPublicAddress
In place of BitcoinPublicAddress you have to mention your Bitcoin public key address.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
April 21, 2018, 06:58:15 AM
#9
I found the location and replaced the file, now when I open bitcoin QT, it shows that I can encrypt my wallet again. Seems like I did not encrypt it... Where can I find my public address/private address of the wallet?
Go to File>Receiving Address. This will display all of the addresses that were generated by you to receive payments.

If you want to get every addresses in the wallet, go to Help>Debug Console>Console and type:
Code:
listaddressgroupings
.
newbie
Activity: 4
Merit: 0
April 21, 2018, 06:42:34 AM
#8
I found the location and replaced the file, now when I open bitcoin QT, it shows that I can encrypt my wallet again. Seems like I did not encrypt it... Where can I find my public address/private address of the wallet?
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
April 21, 2018, 06:35:24 AM
#7
I do not seem to have any bitcoin map in my Roaming directory....
Hold the windows button and the R button
Then paste this
Code:
%APPDATA%\Bitcoin
then press enter.
It should open the bitcoin data directory
legendary
Activity: 3276
Merit: 2442
April 21, 2018, 06:22:47 AM
#6
I do not seem to have any bitcoin map in my Roaming directory....

You probably installed it to a different directory. Is your node fully in sync? If it is, the directory you are searching for should be around 150-200gb. If you still can't find it, just uninstall core, reinstall it and remember where you chose to install the blockchain this time.
newbie
Activity: 4
Merit: 0
April 21, 2018, 06:13:56 AM
#5
I do not seem to have any bitcoin map in my Roaming directory....
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
April 21, 2018, 06:07:23 AM
#4
It's located in C:\Users\YourUserName\Appdata\Roaming\BitCoin (If you're using windows Vista and above
newbie
Activity: 4
Merit: 0
April 21, 2018, 06:03:49 AM
#3
Code:
walletpassphrase

Eg
Code:
walletpassphrase passphrase 600

Thanks for your answer, I have bitcoin core installed but I don't know where to put the wallet.dat file so QT recognizes which wallet to try the passphrase on... If you understand ^^
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
April 21, 2018, 06:02:15 AM
#2
When you install bitcoin core it'll generate a new wallet.dat
Swap it with the encrypted one you have.
Then go to help -> debug -> console
Code:
walletpassphrase

Eg
Code:
walletpassphrase passphrase 600
newbie
Activity: 4
Merit: 0
April 21, 2018, 05:55:20 AM
#1
Hi all,

I have an old wallet.dat file which is encrypted (2013), which I have some guesses to what the password is.
The thing is, I have no idea how to try the password on the wallet.dat file to decrypt it.

I used Electrum, which says it can't read the file. I used blockchain.info's import wallet functionality, but later read that it's not supported anymore.

How am I supposed to open my encrypted wallet.dat file and enter a password to unlock my old Bitcoin?
Jump to: