cloudflare / cloudflare/cloudflared

🐛 Windows: .MSI installer, doesn't clean up service install when uninstalled via the control panel

Open
#975 0 comments 3 reactions 0 assignees View on GitHub
Area: Packaging Priority: Normal Type: Bug
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Windows: If cloudflared is installed by the .msi, then installed as a service (`cloudflared service install ..`), then uninstalled via control panel, it is still running as a service. Disabling the service, kills the tunnel, and when you restart the service it throws an error (to be expected, it was uninstalled).

**To Reproduce**
Steps to reproduce the behavior:
1. Be on Windows
2. Install cloudflared as a .msi
3. Run `cloudflared service install ...`
4. Uninstall cloudflared from the Control Panel
5. Find that the service is still up, and that cloudflared is connected in the ZT Dashboard

**Expected behavior**
When uninstalling via the .msi the service should be cleaned up as well

**Environment and versions**
- OS: Windows 10
- Architecture: AMD_64
- Version: 2022.5.1

**Logs and errors**
n/a

**Additional context**
n/a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.