# How to change the maintenance user for the GUI tasks?

**URL:** <https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590>\
**Category:** General Topics\
**Created:** [January 21, 2024, 10:46pm UTC](https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590 "2024-01-21T22:46:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wayland](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/wayland/32/268_2.png) [@wayland](https://kopia.discourse.group/u/wayland)\
**Post date:** [January 21, 2024, 10:46pm UTC](https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590/1 "2024-01-21T22:46:23Z")

</div>

Hi

I am using the Win GUI. One of my repo has maintenance issue due to the user ownership. How could I run such tasks as required user in the GUI app?

This is the error  
`Error: maintenance must be run by designated user: USER`

 ![image](https://global.discourse-cdn.com/free1/uploads/kopia/original/1X/162cc5b899550f605116d51ed3f54dca3a201767.png)

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/kapitainsky/32/535_2.png) [@kapitainsky](https://kopia.discourse.group/u/kapitainsky)\
**Post date:** [January 22, 2024, 9:09am UTC](https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590/2 "2024-01-22T09:09:19Z")

</div>

Either disconnect and connect again as a user which is allowed to run maintenance or change [maintenance ownership](https://kopia.io/docs/advanced/maintenance/#maintenance-task-ownership) to another user (it is CLI command only).

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/wayland/32/268_2.png) [@wayland](https://kopia.discourse.group/u/wayland)\
**Post date:** [January 23, 2024, 4:00am UTC](https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590/3 "2024-01-23T04:00:13Z")

</div>

> [@kapitainsky](#):
>
> change [maintenance ownership](https://kopia.io/docs/advanced/maintenance/#maintenance-task-ownership)

Thanks for the reply. How do I do that with the GUI app permanently? That seems to be for the session only.

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/wayland/32/268_2.png) [@wayland](https://kopia.discourse.group/u/wayland)\
**Post date:** [January 23, 2024, 4:04am UTC](https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590/4 "2024-01-23T04:04:00Z")

</div>

> [@kapitainsky](#):
>
> Either disconnect and connect again as a user which is allowed to run maintenance

When I do that, the original user can’t make actual snapshots ☹

 ![image](https://global.discourse-cdn.com/free1/uploads/kopia/original/1X/a4f7e28963a10c443baa5d7dfa66ae7f49c2780d.png)

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/kapitainsky/32/535_2.png) [@kapitainsky](https://kopia.discourse.group/u/kapitainsky)\
**Post date:** [January 23, 2024, 8:38am UTC](https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590/5 "2024-01-23T08:38:01Z")

</div>

> [@wayland](#):
>
> How do I do that with the GUI app permanently?

I told you already that you have to use CLI to do it. GUI does not contain all kopia functionality.

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/wayland/32/268_2.png) [@wayland](https://kopia.discourse.group/u/wayland)\
**Post date:** [January 23, 2024, 4:12pm UTC](https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590/6 "2024-01-23T16:12:26Z")

</div>

What does the “maintenance tasks” in the GUI app do exactly as in cli command? I can maybe replicate that as a CLI command.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/kapitainsky/32/535_2.png) [@kapitainsky](https://kopia.discourse.group/u/kapitainsky)\
**Post date:** [January 23, 2024, 4:16pm UTC](https://kopia.discourse.group/t/how-to-change-the-maintenance-user-for-the-gui-tasks/2590/7 "2024-01-23T16:16:15Z")

</div>

Here maintenance description:

> **[Maintenance](https://kopia.io/docs/advanced/maintenance/)**
>
> Fast and Secure Open-Source Backup Software for Windows, Mac, and Linux

> [@wayland](#):
>
> What does the “maintenance tasks” in the GUI app do exactly as in cli command?

Yes. GUI app tries to run maintenance tasks based on your maintenance schedule.
