# Under what conditions, if any, can the device UUID change?

**URL:** <https://forums.balena.io/t/under-what-conditions-if-any-can-the-device-uuid-change/1971>\
**Category:** Product support\
**Created:** [October 12, 2017, 11:29pm UTC](https://forums.balena.io/t/under-what-conditions-if-any-can-the-device-uuid-change/1971 "2017-10-12T23:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzaman](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@dzaman](https://forums.balena.io/u/dzaman)\
**Post date:** [October 12, 2017, 11:29pm UTC](https://forums.balena.io/t/under-what-conditions-if-any-can-the-device-uuid-change/1971/1 "2017-10-12T23:29:55Z")

</div>

Is there anything short of a complete reinstall on the device that would cause the UUID to change?

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [October 13, 2017, 7:08am UTC](https://forums.balena.io/t/under-what-conditions-if-any-can-the-device-uuid-change/1971/2 "2017-10-13T07:08:23Z")

</div>

The UUID of an install never changes, that UUID is “the device”.

If you start from a newly downloaded image (for the devices that run from it like the Raspberry Pi family) or reflash a device (that use flashed images, like the BeagleBone or the NUC), than will have a new UUID, since there’s no way for us to know whether it’s a new device, or a reinstall.

On the flipside, you can set up a downloaded image with the information of an existing device, so you can create a reinstall/reflash that recreate a device with a specific UUID (e.g. using the [resin-cli](https://github.com/resin-io/resin-cli) to generate a config and inject it into an image).

Do you have anything in mind regarding UUIDs?

---

<div class="post-metadata">

**Author:** ![dzaman](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@dzaman](https://forums.balena.io/u/dzaman)\
**Post date:** [October 16, 2017, 9:47pm UTC](https://forums.balena.io/t/under-what-conditions-if-any-can-the-device-uuid-change/1971/3 "2017-10-16T21:47:16Z")

</div>

Thanks for the response. That’s exactly what I was looking for, and knowing you can re-create a device with a specific ID is a nice bonus.
