How do I fix the error “Incorrect or no genesis block found”?

algorithm GENERIC
source branch ALL

updated March 18, 2021, 11:39 pm

Fix the error “Incorrect or no genesis block found. Wrong datadir for network” on Microsoft Windows with the following instructions.

Open File explorer.

Click on the menu bar, type the following text %appdata% and press on the enter key. enter

Rename the data directory for your coin to .old. (Example: Examplecoin.old)

Create the data directory for your coin. (Example: Examplecoin)

Start your wallet.