<p>You can try with bitcoin core wallet -0.18.1.
First, Download and Install the Bitcoin Core wallet -0.18.1
<a href="https://bitcoincore.org/bin/bitcoin-core-0.18.1/" rel="nofollow noreferrer">https://bitcoincore.org/bin/bitcoin-core-0.18.1/</a></p>
<p>Second, Remove the wallet.dat in Bitcoin directory and move your wallet.dat file in bitcoin directory. The installed wallet.dat should be replaced with your wallet.dat that needs to be recovered.</p>
<p>Third, Watch the video to see how to dumpprivkey of your address without walletpassphrase or password to view the private key - <a href="https://youtu.be/C_yNMPnnqS0?si=P-5Uk5QCXtZbtmy0" rel="nofollow noreferrer">https://youtu.be/C_yNMPnnqS0?si=P-5Uk5QCXtZbtmy0</a></p>
<p>Once you get the private key of your encrypted wallet.dat file, then install electrum in your PC.
<a href="https://electrum.org/#download" rel="nofollow noreferrer">https://electrum.org/#download</a></p>
<p>Open your electrum wallet -&gt; Create new -&gt; Import private key(last option) -&gt; Paste your private key and click ok to get your wallet view and spendable.</p>
<p>Hope its helped you.</p>

CC BY-SA 4.0
2024-12-18T18:16:39.447Z
2024-12-18T18:16:39.447Z
John Peter
<p>I got desperate, I tried all the instructions I could find on the Internet - nothing helps.
What I have:</p>
<ul>
<li>wallet.dat from bitcoin-core encrypted from 2015 (in four different
places)</li>
<li>the password I used to encrypt it (I remember that I had to click on
the lock inside the application and enter the password)</li>
<li>the same computer I did it on with windows os</li>
<li>inside the file the hex editor shows different data (NOT FFFF)</li>
<li>when trying to restore via pywallet with passphrase - ERROR:root:Couldn't open
wallet.dat/main. Try quitting Bitcoin and running this again.</li>
<li>when trying to download with loadwallet CLI command in Bitcoin Core - Data is not in recognized format. (code -18)</li>
<li>downloaded the old version of Bitcoin Core (12) - wallet.dat corrupt, salvage failed</li>
<li>last transaction was at 2018</li>
</ul>
<p>I need advice - what other options do I have, how can I try to decrypt this file and access it?</p>
<p>Thank you,
Best regards,
Roman</p>

CC BY-SA 4.0
2024-04-08T15:37:11.363Z
Does this answer your question? [Corrupted old bitcoin wallet. !!!file unknown has LSN!](https://bitcoin.stackexchange.com/questions/100736/corrupted-old-bitcoin-wallet-file-unknown-has-lsn)
RedGrittyBrick
<bitcoin-core><wallet><python><encryption><passphrase>
Old encrypted wallet + bitcoin core
LamoSS
# Old encrypted wallet + bitcoin core

(Asked by: username_0 on 2024-04-07)

I got desperate, I tried all the instructions I could find on the Internet - nothing helps.
What I have:

* wallet.dat from bitcoin-core encrypted from 2015 (in four different
  places)
* the password I used to encrypt it (I remember that I had to click on
  the lock inside the application and enter the password)
* the same computer I did it on with windows os
* inside the file the hex editor shows different data (NOT FFFF)
* when trying to restore via pywallet with passphrase - ERROR:root:Couldn't open
  wallet.dat/main. Try quitting Bitcoin and running this again.
* when trying to download with loadwallet CLI command in Bitcoin Core - Data is not in recognized format. (code -18)
* downloaded the old version of Bitcoin Core (12) - wallet.dat corrupt, salvage failed
* last transaction was at 2018

I need advice - what other options do I have, how can I try to decrypt this file and access it?

Thank you,
Best regards,
Roman

**Tags:** bitcoin-core, wallet, python, encryption, passphrase

> **Comments:**
> **username_1**: Does this answer your question? [Corrupted old bitcoin wallet. !!!file unknown has LSN!](https://bitcoin.stackexchange.com/questions/100736/corrupted-old-bitcoin-wallet-file-unknown-has-lsn)  

---

## 1 answers

### Answer by username_2 on 2024-12-18. Score: 0

You can try with bitcoin core wallet -0.18.1.
First, Download and Install the Bitcoin Core wallet -0.18.1
<https://bitcoincore.org/bin/bitcoin-core-0.18.1/>

Second, Remove the wallet.dat in Bitcoin directory and move your wallet.dat file in bitcoin directory. The installed wallet.dat should be replaced with your wallet.dat that needs to be recovered.

Third, Watch the video to see how to dumpprivkey of your address without walletpassphrase or password to view the private key - <https://youtu.be/C_yNMPnnqS0?si=P-5Uk5QCXtZbtmy0>

Once you get the private key of your encrypted wallet.dat file, then install electrum in your PC.
<https://electrum.org/#download>

Open your electrum wallet -> Create new -> Import private key(last option) -> Paste your private key and click ok to get your wallet view and spendable.

Hope its helped you.


---

