To salvage the wallet.dat make a copy or another backup of your wallet.dat first before the operation and put it in the bitcoin core wallet folder.
After that run the Bitcoin core wallet -salvagewallet you can put it on Bitcoin shortcut check the image below as a reference
The -savagewallet command line option was removed from Bitcoin-qt/cli
and moved to bitcoin-wallet tool.
Here's how to use the tool:
-snip-"
bitcoin-wallet" is in the "
daemon" folder inside Bitcoin Core's installation directory (
where bitcoind and bitcoin-cli are located).
To use it, open Terminal,
cd to the directory where bitcoin-wallet is.
Then use the command (
provide the full path to the wallet.dat file):
bitcoin-wallet --wallet="E:\Folder\wallet.dat" salvage
It wont return with any response (
unless it failed) but you will see a backup file (
wallet.dat.xxxxx.bak) where the wallet.dat is located.
The new wallet.dat is the "
salvaged" wallet.