[GH-ISSUE #79] Uninstallation removes all tunnel configurations #50

Open
opened 2026-10-13 21:11:21 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @mbystryantsev on GitHub (Dec 11, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-windows-client/issues/79

=/

Why even configuration stored in app directory?

Originally created by @mbystryantsev on GitHub (Dec 11, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-windows-client/issues/79 =/ Why even configuration stored in app directory?
Author
Owner

@arisudesu commented on GitHub (Jan 15, 2026):

If you ask why isn't it user-level configuration, this is because network configuration is the system-level property, and tunnels are managed by the background service; it literally needs it to be in a directory reachable with the service privileges. In addition to that, tunnels can only be managed by users in the Administrator group.

If you need to know, why is this specifically an installation directory, I don't know. Maybe because it's sane default? It seems that you can override it to some extent: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md#manager-service

<!-- gh-comment-id:3753754900 --> @arisudesu commented on GitHub (Jan 15, 2026): If you ask why isn't it user-level configuration, this is because network configuration is the system-level property, and tunnels are managed by the background service; it literally needs it to be in a directory reachable with the service privileges. In addition to that, tunnels can only be managed by users in the Administrator group. If you need to know, why is this specifically an installation directory, I don't know. Maybe because it's sane default? It seems that you can override it to some extent: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md#manager-service
Author
Owner

@mbystryantsev commented on GitHub (Jan 15, 2026):

Looks more like workaround as easiest way. As I know, there are dedicated directories for this, like ProgramData.

Anyway, configurations are manually editing by user and should not be silently deleted.

<!-- gh-comment-id:3754205170 --> @mbystryantsev commented on GitHub (Jan 15, 2026): Looks more like workaround as easiest way. As I know, there are dedicated directories for this, like `ProgramData`. Anyway, configurations are manually editing by user and should not be silently deleted.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-windows-client#50
No description provided.