# KopiaUI on windows - how to getrid of 2nd repo

**URL:** <https://kopia.discourse.group/t/kopiaui-on-windows-how-to-getrid-of-2nd-repo/2520>\
**Category:** General Topics\
**Created:** [December 22, 2023, 11:22am UTC](https://kopia.discourse.group/t/kopiaui-on-windows-how-to-getrid-of-2nd-repo/2520 "2023-12-22T11:22:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arminus](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/arminus/32/289_2.png) [@arminus](https://kopia.discourse.group/u/arminus)\
**Post date:** [December 22, 2023, 11:22am UTC](https://kopia.discourse.group/t/kopiaui-on-windows-how-to-getrid-of-2nd-repo/2520/1 "2023-12-22T11:22:08Z")

</div>

I recently switched from a minio repo to an sftp repo by disconnecting from the old minio and creating a new sftp repo with kopia UI on windows.

Now whenever I start kopia UI, it brings up 2 windows, one for the sftp repo and another one to create a new repo and the systray many shows in addition to the sftp repo it connects to.

Where is that kind of “dangling” repo stored and how can I remove it? There’s only one repo in AppData\Local\kopia and one repository-1702890192108.config in AppData\Roaming\kopia, nothing sticks out in AppData\Roaming\kopia-ui either

Seems to be the same issue as reported [here](https://kopia.discourse.group/t/kopiaui-new-repository-window-shown-on-every-open-on-macos/1771)

---

<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:** [December 22, 2023, 11:37am UTC](https://kopia.discourse.group/t/kopiaui-on-windows-how-to-getrid-of-2nd-repo/2520/2 "2023-12-22T11:37:24Z")

</div>

close kopia UI.

delete everything from `AppData\Local\kopia` and `AppData\Roaming\kopia`

start UI and connect to your repo. This time it will create `repository.config` file instead of `repository-nnnnnnnnnnn.config `

When `repository.config` file is missing kopia UI insist on treating it as not connected repo. Maybe one day it will be fixed.
