# I need reinstall Zcash wallet

**URL:** <https://forum.zcashcommunity.com/t/i-need-reinstall-zcash-wallet/39195>\
**Category:** Mining\
**Created:** [May 3, 2021, 12:03pm UTC](https://forum.zcashcommunity.com/t/i-need-reinstall-zcash-wallet/39195 "2021-05-03T12:03:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![palladin2009](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@palladin2009](https://forum.zcashcommunity.com/u/palladin2009)\
**Post date:** [May 3, 2021, 12:03pm UTC](https://forum.zcashcommunity.com/t/i-need-reinstall-zcash-wallet/39195/1 "2021-05-03T12:03:14Z")

</div>

I have Zcash on linux …Zcash Full node and ZCashSwingWalletUI… How i can reinstall or what i must install if i want get disappear transaction history so that the transaction history disappears and all the data is re-synchronized, I need to remove the last hung transaction … I tried to delete everything in the directory.zcash кроме zcash.conf и каталога zcash-swing-wallet-ui и установил также- git clone [GitHub - zcash/zcash: Zcash - Internet Money](https://github.com/zcash/zcash.git)… потом попробовали импортировать приватные ключи, но получил сообщение A private key failed to import.  
The error was:  
Invalid private key encoding

---

<div class="post-metadata">

**Author:** ![palladin2009](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@palladin2009](https://forum.zcashcommunity.com/u/palladin2009)\
**Post date:** [May 3, 2021, 1:48pm UTC](https://forum.zcashcommunity.com/t/i-need-reinstall-zcash-wallet/39195/2 "2021-05-03T13:48:17Z")

</div>

except zcash.conf and the zcash-swing-wallet-ui directory and also installed git clone [https://github.com/zcash/zcash.git…](https://github.com/zcash/zcash.git%E2%80%A6) then tried to import private keys, but received the message A private key failed to import.

---

<div class="post-metadata">

**Author:** ![palladin2009](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@palladin2009](https://forum.zcashcommunity.com/u/palladin2009)\
**Post date:** [May 3, 2021, 1:50pm UTC](https://forum.zcashcommunity.com/t/i-need-reinstall-zcash-wallet/39195/3 "2021-05-03T13:50:04Z")

</div>

I have Zcash on linux …Zcash Full node and ZCashSwingWalletUI… How i can reinstall or what i must install if i want get disappear transaction history so that the transaction history disappears and all the data is re-synchronized, I need to remove the last hung transaction … I tried to delete everything in the directory.zcash except zcash.conf and the zcash-swing-wallet-ui directory and also installed git clone [https://github.com/zcash/zcash.git…](https://github.com/zcash/zcash.git%E2%80%A6) then tried to import private keys, but received the message A private key failed to import.

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [May 3, 2021, 6:54pm UTC](https://forum.zcashcommunity.com/t/i-need-reinstall-zcash-wallet/39195/4 "2021-05-03T18:54:08Z")

</div>

Since you are using a very old version of Zcash you should probably start a fresh node on Linux (Zcashd) or Windows (ZecWallet Fullnode) and transfer the old wallet.dat file into the new node.

Instructions to do that here: [Wallet.dat deleted - #6 by daira](https://forum.zcashcommunity.com/t/wallet-dat-deleted/36948/6)

---

<div class="post-metadata">

**Author:** ![palladin2009](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@palladin2009](https://forum.zcashcommunity.com/u/palladin2009)\
**Post date:** [May 6, 2021, 9:46am UTC](https://forum.zcashcommunity.com/t/i-need-reinstall-zcash-wallet/39195/5 "2021-05-06T09:46:23Z")

</div>

i solve this using console command key import
