Your Mac keeps a VPN profile that refuses to delete, or it deletes and comes back after a restart. That is usually a management question, not a corrupted client. The checks below move from ownership to payload to reconnection rules, and each one can stop you before you spend an afternoon in the wrong pane. Work them in order; the step where the answer changes is where your part ends.

Confirm the profile is managed, not just saved

Open System Settings and search for Profiles or Device Management. Depending on the macOS version the list sits under Privacy & Security (Profiles) or General (Device Management). A profile that shows an organization name, a short description and no minus button was installed by the organization rather than added by you.

Two terminal checks settle ownership quickly. The first reports enrollment, the second lists device profiles:

sudo profiles status -type enrollment
sudo profiles -P

If enrollment says yes and the profile list is empty, do not conclude that nothing is installed. On managed Macs some MDM-delivered payloads stay hidden from the profiles tool while remaining active. The Device Management pane is the authoritative view of what the organization pushed, and an empty command-line listing on an enrolled Mac is a contradiction you should not resolve by guessing.

Read the payload, not the display name

A VPN profile is a container, and the visible name says little about what is inside it. One payload may carry the IKEv2 server address, the remote identifier, the authentication method and a certificate with its own UUID. A second payload in the same profile can supply the identity certificate the tunnel needs, which is why a certificate that looks missing in Keychain may still arrive through the same profile.

Dump the payloads and read the keys that matter:

sudo profiles show -type configuration | grep -A3 -E "VPNType|ServerAddress|RemoteAddress|AuthenticationMethod|PayloadUUID"

Record the payload UUIDs before you change anything. They are the identifiers an administrator needs to locate the exact object, and they also tell you whether the tunnel and the certificate come from the same source or from two different deployments.

Watch what brings the tunnel back

If the tunnel restarts by itself, the profile almost certainly contains an On Demand rule. A rule that matches any interface with the Connect action starts the tunnel when Wi-Fi associates, when the Mac wakes from sleep, or when a DNS probe fails. The client does not expose a switch that overrides the payload.

The service list and the per-service configuration come from scutil:

scutil --nc list
scutil --nc show "Corporate VPN"

In the show output, find OnDemandRules and read the Action value of each entry. Connect brings the tunnel up, Disconnect tears it down, and Ignore leaves the current state alone. A first rule that matches everything with Connect is the usual reason a tunnel will not stay down after you disconnect it.

If the connection is missing from scutil --nc list, it is not installed as a system VPN service. That points to a network extension owned by a client app, where the profile may only hand over the app configuration and the app itself decides when to connect.

Decide whether removal is yours to make

Two mechanisms block deletion. The payload can set PayloadRemovalDisallowed, which makes the profile non-removable in the interface, and the Mac can be supervised so that removing the management profile is refused outright. Neither is a bug, and deleting unrelated certificates or the management profile to force the issue leaves you with a much larger problem than the one you started with.

What you seeLikely ownerNext action
Profile shows an organization name and no minus buttonMDM enrollmentAsk the administrator to remove it or change its scope
Profile removable, personal IKEv2 settingsYouRemove it from VPN settings and re-add it if you still need it
Profile removed, returns after a reboot or check-inMDM re-pushRequest a scope change; deleting it again will not hold
Profile removed, tunnel still startsOn Demand rule or app login itemRemove the rule or the login item, then retry

For a work Mac, the administrator's support or offboarding route is the correct one. Take the profile identifier with you. A ticket that says only "the VPN profile" is not enough for anyone to find the object you mean.

Collect evidence before you ask for help

Write down five things: the profile identifier, the payload UUIDs, the macOS version and build from sw_vers, the VPN subtype, and the exact failure text with a timestamp. Add whether the tunnel is full or split and whether it fails at connect time or at first access to an internal resource, since those two failures have different owners.

For a network extension failure, one narrow log query is usually enough:

log show --last 5m --predicate 'process == "nesessionmanager"'

Capture the lines around the attempt rather than the whole window, and redact server names and certificate subjects before you post the result anywhere. Apple's deployment guide explains what managed VPN payloads and On Demand rules are designed to do, and it is a better argument than a screenshot: VPN overview.

When all five checks are done, exactly one of three things is true. The profile is not yours to remove, the payload reconnects the tunnel by design, or the client holds a configuration the profile never controlled. Take the identifiers and the timeline to whoever owns the enrollment; that is a ticket someone can act on. Pressing delete again is not.

អត្ថបទពាក់ព័ន្ធ