# Is there a way to update specific mender client config values

**URL:** <https://hub.mender.io/t/is-there-a-way-to-update-specific-mender-client-config-values/4610>\
**Category:** General Discussions\
**Tags:** mender-client, setup\
**Created:** [February 14, 2022, 11:43am UTC](https://hub.mender.io/t/is-there-a-way-to-update-specific-mender-client-config-values/4610 "2022-02-14T11:43:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![uishon](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/uishon/32/1326_2.png) [@uishon](https://hub.mender.io/u/uishon)\
**Post date:** [February 14, 2022, 11:43am UTC](https://hub.mender.io/t/is-there-a-way-to-update-specific-mender-client-config-values/4610/1 "2022-02-14T11:43:42Z")

</div>

Trying to use `mender-configure` to update specific mender client configuration (e.g., inventory poll interval). Wanted my `apply-device-config` to run `mender setup` with the specific parameters given in the JSON. But, problem is, I need to supply `mender setup` with _all_ the configuration parameters, even give the tenant token again (which is something I definitely don’t want to manage using mender-configure UI). So, am I missing something? Is there a way to run `mender setup` with just the specific parameters I’d like to change?

---

<div class="post-metadata">

**Author:** ![eystein](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@eystein](https://hub.mender.io/u/eystein)\
**Post date:** [February 16, 2022, 6:48pm UTC](https://hub.mender.io/t/is-there-a-way-to-update-specific-mender-client-config-values/4610/2 "2022-02-16T18:48:03Z")

</div>

Hello @uishon ,

I would suggest you update the Mender configuration file directly instead of using mender setup for more fine-grained control. You can see the options here: [Configuration options | Mender documentation](https://docs.mender.io/client-installation/configuration-file/configuration-options)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![uishon](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/uishon/32/1326_2.png) [@uishon](https://hub.mender.io/u/uishon)\
**Post date:** [February 24, 2022, 2:16pm UTC](https://hub.mender.io/t/is-there-a-way-to-update-specific-mender-client-config-values/4610/3 "2022-02-24T14:16:12Z")

</div>

Thanks. That’s indeed what I ended up doing.  
I kind of felt it’d be cleaner to use the `mender` CLI for that. Specifically, in my case `mender.conf` is not always located under `/etc/mender` (it’s a read-only FS on some of our devices) so finding it instead of just using the CLI is a bit hectic but - you suggestion works 🙂
