# HELP - Upgrade Mender / Change UUID of Device - HELP

**URL:** https://hub.mender.io/t/help-upgrade-mender-change-uuid-of-device-help/4287
**Category:** General Discussions
**Created:** [November 8, 2021, 3:03pm UTC](https://hub.mender.io/t/help-upgrade-mender-change-uuid-of-device-help/4287 "2021-11-08T15:03:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![neoweb](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@neoweb](https://hub.mender.io/u/neoweb)
#### Post date: [November 8, 2021, 3:03pm UTC](https://hub.mender.io/t/help-upgrade-mender-change-uuid-of-device-help/4287/1 "2021-11-08T15:03:54Z")

</div>

Hello,

I had someone clone using dd a mender device. How can I rotate the UUID so mender sees it as a new one?

I am also using like a 2 year old version of mender. Is it easy to upgrade.

All of these devices use Raspberian, and I am using hosted mender.

---

<div class="post-metadata">

### Author: ![dellgreen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dellgreen/32/85_2.png) [@dellgreen](https://hub.mender.io/u/dellgreen)
#### Post date: [November 8, 2021, 4:26pm UTC](https://hub.mender.io/t/help-upgrade-mender-change-uuid-of-device-help/4287/2 "2021-11-08T16:26:59Z")

</div>

i think you will probably need to deploy to it a new update that replaces the mender device keys so that it appears as a new device in the mender cloud server.

[https://docs.mender.io/3.1/overview/device-authentication](https://docs.mender.io/3.1/overview/device-authentication)

---

<div class="post-metadata">

### Author: ![neoweb](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@neoweb](https://hub.mender.io/u/neoweb)
#### Post date: [November 12, 2021, 7:42pm UTC](https://hub.mender.io/t/help-upgrade-mender-change-uuid-of-device-help/4287/3 "2021-11-12T19:42:18Z")

</div>

I was looking at the docs.

Do you know how I do this?

---

<div class="post-metadata">

### Author: ![dellgreen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dellgreen/32/85_2.png) [@dellgreen](https://hub.mender.io/u/dellgreen)
#### Post date: [November 12, 2021, 11:20pm UTC](https://hub.mender.io/t/help-upgrade-mender-change-uuid-of-device-help/4287/4 "2021-11-12T23:20:01Z")

</div>

this may help

> [@Delete a software installed with Mender](https://hub.mender.io/t/delete-a-software-installed-with-mender/4274):
>
> While trying to use Mender I used the hello-world Docker example and everything went smooth Now, the problem is, even if I remove the image and the container, under the device Dashboard in Mender on Installed Software it says that the device has installed docker hello-world-container-update Is there a chance to remove it? I’ve tried to remove the device, uninstall and reinstall Mender but it seems it remembers the device in some way

---

<div class="post-metadata">

### Author: ![neoweb](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@neoweb](https://hub.mender.io/u/neoweb)
#### Post date: [December 9, 2021, 4:48pm UTC](https://hub.mender.io/t/help-upgrade-mender-change-uuid-of-device-help/4287/5 "2021-12-09T16:48:15Z")

</div>

This is what I figured out to make the device present a new key:

```auto
 rm /data/mender/mender-agent.pem
 bash /usr/share/mender/identity/mender-device-identity
 cat /etc/mender/mender.conf
 sudo killall mender
 sudo mender -daemon
 authorized new key

```

the bash mender-device-identity was in there for a reminder for me.

I have some devices with the same cpu serial and mac address so it is an issue for me that i have to solve in the future i think, but i cant remember right now if that is true.
