# Ic\_admin wallet configuration error

**URL:** <https://forum.dfinity.org/t/ic-admin-wallet-configuration-error/27292>\
**Category:** Developers\
**Created:** [February 5, 2024, 2:10am UTC](https://forum.dfinity.org/t/ic-admin-wallet-configuration-error/27292 "2024-02-05T02:10:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesbeadle](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jamesbeadle/32/10110_2.png) [@jamesbeadle](https://forum.dfinity.org/u/jamesbeadle)\
**Post date:** [February 5, 2024, 2:10am UTC](https://forum.dfinity.org/t/ic-admin-wallet-configuration-error/27292/1 "2024-02-05T02:10:12Z")

</div>

So I have an ic\_admin identity that I deploy to the mainnet with but I had to reinstall wsl and I get an error when trying to deploy.

So if I run  
dfx identity deploy-wallet 4vjdr-aiaaa-aaaal-qbxqq-cai --network ic

It says the wallet canister already exists for the user:

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/2X/5/5dbc6e03fdeee119dd6ce51b7a9dc046d385239c.png)

But if I try to get the wallet it says the wallet isn’t confirgured for the same combination

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/2X/5/53cb09d8eb9d75fb94a01fefdb0e814d649b949c.png)

Ultimately I just want to be able to deploy as I was before using the same identity:

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/2X/9/9f090c4220ee90683b428471c130a02f1600c8b8.png)

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [February 5, 2024, 8:11am UTC](https://forum.dfinity.org/t/ic-admin-wallet-configuration-error/27292/2 "2024-02-05T08:11:20Z")

</div>

My first attempt would be to run `dfx identity --ic set-wallet 4vjdr-aiaaa-aaaal-qbxqq-cai --force`. If that doesn’t solve it we may have to dig into how your identity is stored/configured.

---

<div class="post-metadata">

**Author:** ![jamesbeadle](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jamesbeadle/32/10110_2.png) [@jamesbeadle](https://forum.dfinity.org/u/jamesbeadle)\
**Post date:** [February 5, 2024, 9:04am UTC](https://forum.dfinity.org/t/ic-admin-wallet-configuration-error/27292/3 "2024-02-05T09:04:29Z")

</div>

Thanks Severin, yeah that is deploying, one other thing, it used to have a password to deploy, now it just deploys without any password required. Is there a way to set a password for this identity?

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [February 5, 2024, 9:16am UTC](https://forum.dfinity.org/t/ic-admin-wallet-configuration-error/27292/4 "2024-02-05T09:16:38Z")

</div>

When creating/importing your identity dfx will try to store your identity in keyring/keychain unless you tell it a different option using `--storage-mode`. I assume this is what happened here and because of that it doesn’t ask you for a password anymore. If you want to go back to password-protected, then you’d have to export, delete, and re-import your identity with `--storage-mode password-protected`

---

<div class="post-metadata">

**Author:** ![jamesbeadle](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jamesbeadle/32/10110_2.png) [@jamesbeadle](https://forum.dfinity.org/u/jamesbeadle)\
**Post date:** [February 5, 2024, 9:19am UTC](https://forum.dfinity.org/t/ic-admin-wallet-configuration-error/27292/5 "2024-02-05T09:19:31Z")

</div>

Ok I think I just went about “backing up” this identity badly. I stored the PEM file elsewhere and recreated the ic\_admin user manually by creating the folder and dropping the file in.

I guess I should have created a new ic\_admin and just linked it to my cycles canister.

I’m assuming all is fine as someone would need to get their hands on my laptop.
