<p>Start your client with the <code>-reindex</code> command-line option. This will cause the database to be wiped and rebuilt from scratch.</p>

<p>To answer your actual question: see the <a href="https://en.bitcoin.it/wiki/Data_directory" rel="nofollow">Data directory</a> entry on the Bitcoin wiki.</p>

CC BY-SA 3.0
2013-07-16T22:50:25.720Z
2013-07-16T23:44:43.143Z
2013-07-16T23:44:43.143Z
Pieter Wuille
<p>I need to manually resync from scratch due to a database corruption caused by windows auto-rebooting.</p>

<p>Where is the blockchain stored so I can delete it (and hopefuly prompt bitcoin qt from creating a new one)?</p>

<p>see <a href="https://bitcoin.stackexchange.com/questions/12165/bitcoin-qt-error-how-can-i-prevent-corruption-of-database">Bitcoin QT error. How can I prevent corruption of database?</a></p>

<bitcoin-core>
Where is bitcoin-qt's blockchain stored in Windows 7?
Starkers
# Where is bitcoin-qt's blockchain stored in Windows 7?

(Asked by: username_0 on 2013-07-15)

I need to manually resync from scratch due to a database corruption caused by windows auto-rebooting.

Where is the blockchain stored so I can delete it (and hopefuly prompt bitcoin qt from creating a new one)?

see [Bitcoin QT error. How can I prevent corruption of database?](https://bitcoin.stackexchange.com/questions/12165/bitcoin-qt-error-how-can-i-prevent-corruption-of-database)

**Tags:** bitcoin-core


---

## 1 answers

### Answer by username_1 on 2013-07-16. Score: 2

Start your client with the `-reindex` command-line option. This will cause the database to be wiped and rebuilt from scratch.

To answer your actual question: see the [Data directory](https://en.bitcoin.it/wiki/Data_directory) entry on the Bitcoin wiki.


---

