: Close Bitcoin Core entirely. Replace the newly created (and empty) wallet.dat in the data directory with your old file.