# How to removed device (mender client on ubuntu) and add as new device on hosted mender service

**URL:** <https://hub.mender.io/t/how-to-removed-device-mender-client-on-ubuntu-and-add-as-new-device-on-hosted-mender-service/6023>\
**Category:** General Discussions\
**Tags:** mender-client, hosted-mender\
**Created:** [July 24, 2023, 7:38am UTC](https://hub.mender.io/t/how-to-removed-device-mender-client-on-ubuntu-and-add-as-new-device-on-hosted-mender-service/6023 "2023-07-24T07:38:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nareshtech20](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nareshtech20](https://hub.mender.io/u/nareshtech20)\
**Post date:** [July 24, 2023, 7:38am UTC](https://hub.mender.io/t/how-to-removed-device-mender-client-on-ubuntu-and-add-as-new-device-on-hosted-mender-service/6023/1 "2023-07-24T07:38:22Z")

</div>

How to completely clean up mender client on Ubuntu OS and add as new device on hosted mender service. When i tried to decommission device and restart mender-client, all device history is still available on hosted service.

regards  
~naresh
