Emergency Disconnect, Global Disconnection, and Business Continuity
How Cloudflare One Client emergency and global disconnect works, when to fail open or closed, and how to verify external and local signals.
This page summarises Cloudflare documentation on disconnecting the Cloudflare One Client (formerly WARP) during incidents, outages, or support scenarios. Administrators choose among dashboard global disconnect, customer-hosted or local emergency signals, and per-device Admin Override Codes when users must regain plain Internet access or override a locked connection toggle.
Fail-closed default and when to disconnect the client
Section titled “Fail-closed default and when to disconnect the client”The client is designed to protect traffic even when Cloudflare is unreachable. Cloudflare states:
The Cloudflare One Client operates in fail-closed mode by default: if the client cannot reach Cloudflare, it remains connected and blocks traffic rather than failing open to unprotected Internet access. This protects your security posture but requires active decision-making during incidents.
— Cloudflare, Business Continuity Guide
Fail open (stop enforcing through the client and allow unprotected connectivity) fits when productivity is critically impaired, emergency access to non-protected resources is required, or forensics need raw traffic. Fail closed fits when edge services still process traffic normally, only the management dashboard is down, compliance forbids unfiltered Internet, or an active security incident requires continued control. The Business Continuity Guide ties each scenario to a mechanism and documents security trade-offs (loss of Gateway filtering, DLP, private app access via Tunnel, and Gateway logging).
Global disconnection: disconnect all devices from the dashboard
Section titled “Global disconnection: disconnect all devices from the dashboard”Disconnect the Cloudflare One Client on all devices lets a Super Administrator fail open fleet-wide when your environment—not necessarily Cloudflare—is the problem.
Disconnect the Cloudflare One Client on all devices allows administrators to fail open the Cloudflare One Client in case of an incident occurring in your environment, independent from incidents or outages affecting Cloudflare’s services.
— Cloudflare, Device client settings
When enabled, connected Windows, macOS, and Linux clients (including Cloudflare Mesh nodes) disconnect; users see Admin directed disconnect. Turning the setting off lets clients reconnect automatically. Limitations: account-wide only, requires reachability to Cloudflare management, and is unavailable during complete Cloudflare outages—then use External Emergency Disconnect instead. Check cloudflarestatus.com before relying on the dashboard.
| Mechanism | Best when | Typical outcome | Main dependency |
|---|---|---|---|
| Global Disconnection | Immediate fleet-wide disconnect; Cloudflare management reachable | Seconds | Dashboard or API |
| External Emergency Disconnect | Cloudflare management unreachable; need Internet | 1–2 poll intervals (default 60s) | Customer HTTPS endpoint (IP host) |
| Local Emergency Disconnect | No network to Cloudflare or your endpoint | Within ~30s of file change | Local JSON on device |
| Admin Override Codes | One locked device; mobile during outage | ~1 hour local override | Dashboard + secure handoff to user |
Emergency disconnect: external HTTPS signal and local JSON file
Section titled “Emergency disconnect: external HTTPS signal and local JSON file”Emergency disconnect lets organisations disconnect and reconnect clients independently of Cloudflare infrastructure:
Emergency disconnect allows organizations and administrators to disconnect and reconnect their fleet of Cloudflare One Clients (formerly WARP) independently from Cloudflare infrastructure.
— Cloudflare, Emergency Disconnect
Two mechanisms exist: External Emergency Disconnect (periodic poll of a customer-hosted HTTPS endpoint) and Local Emergency Disconnect (monitor a fixed admin-writable JSON path). Either can combine with dashboard global disconnect; any source requesting disconnect forces disconnect, and all sources must indicate normal operation before reconnect (Device client settings precedence).
emergency_disconnect JSON: signal format for poll and file
Section titled “emergency_disconnect JSON: signal format for poll and file”Both the external response body and the local file use the same JSON:
{ "emergency_disconnect": false}Set emergency_disconnect to true to disconnect; false for normal operation. If the external poll fails (unreachable endpoint, wrong certificate fingerprint, invalid JSON), the client does not change state (External Emergency Disconnect). Missing local file means normal operation; invalid JSON is logged with no state change.
External Emergency Disconnect: endpoint URL, fingerprint, and Split Tunnel
Section titled “External Emergency Disconnect: endpoint URL, fingerprint, and Split Tunnel”Enable Manage device connection using an external signal under Global disconnection settings (Emergency Disconnect). The URL must use https:// with an IPv4 or IPv6 address as host, not a domain; a public IP is recommended. Upload the SHA-256 fingerprint of the server certificate. Polling frequency is configurable (MDM default interval 60 seconds; API example 1m). In Split Tunnels Include mode, do not list the endpoint IP inside an include entry, or the client may exclude the whole entry from the tunnel—the client automatically excludes the endpoint IP from WARP when configured correctly.
During an outage, update the endpoint to return {"emergency_disconnect": true}; clients show Admin directed disconnect. Revert to false to reconnect. Disconnect events from external or local signals are not logged in Cloudflare—only configuration changes are (Emergency Disconnect — Logs). Check live state with warp-cli settings.
Local Emergency Disconnect: fixed paths on Windows, macOS, and Linux
Section titled “Local Emergency Disconnect: fixed paths on Windows, macOS, and Linux”Turn on Manage device connection using a local file via MDM (local_emergency_signal_enabled). Paths are fixed:
| Operating system | File path |
|---|---|
| Windows | %PROGRAMDATA%\Cloudflare\emergency_disconnect.json |
| macOS | /Library/Application Support/Cloudflare/emergency_disconnect.json |
| Linux | /var/lib/cloudflare-warp/emergency_disconnect.json |
The client reacts within about 30 seconds. Use this when both Cloudflare and your HTTPS endpoint may be unreachable (Local Emergency Disconnect).
How global disconnect settings combine (precedence)
Section titled “How global disconnect settings combine (precedence)”| Dashboard (Disconnect all devices) | External endpoint | Local file | Result |
|---|---|---|---|
| On | any | any | Force disconnected |
| Off | true |
any | Force disconnected |
| Off | false/fail |
true |
Force disconnected |
| Off | false/absent |
false/absent |
Normal operation |
While global disconnect is active, Auto connect and Lock device client switch rules do not apply as usual; existing admin override codes are cleared, and users need a new override code to connect temporarily (Emergency Disconnect — precedence).
Lock device client switch and Admin Override Codes
Section titled “Lock device client switch and Admin Override Codes”Lock device client switch prevents users from turning the client off; the client starts connected. With lock on, enable Allow admin override codes so IT can issue time-limited permission to toggle the connection (Device client settings).
When Lock device client switch is enabled, users cannot toggle the Cloudflare One Client on and off on their device. Enabling Allow admin override codes gives users the ability to temporarily connect or disconnect the Cloudflare One Client using an override code provided by an admin.
— Cloudflare, Device client settings
Retrieve the 7-digit code from Team & Resources > Devices, device details, user name. Users enter it under Temporarily disconnect Cloudflare One Client (or Preferences > Advanced on some platforms). Codes refresh on fixed hourly blocks; Auto connect can still force reconnect after its timeout (Allow admin override codes).
For captive portal detection, travellers may use lock + override codes to reach hotel portals; alternatively disable lock and set a short Auto connect duration so users can disconnect without IT (Captive portal detection).
If users see errors because the fleet was disconnected administratively, resolution is to turn off Disconnect the Cloudflare One Client on all devices and Manage device connection using an external signal (Client errors).
no-auth-no-internet: block Internet until the user authenticates
Section titled “no-auth-no-internet: block Internet until the user authenticates”On Windows (minimum client 2026.5.0), no-auth-no-internet locks general Internet traffic while the device lacks valid registration:
When no-auth-no-internet is enabled, the Cloudflare One Client locks down general internet traffic on the device whenever the device is in an unauthenticated state (i.e., without a valid device registration). During this lockdown, the client allows only the traffic required for the device to remain on the network and for the user to complete IdP authentication.
— Cloudflare, Block internet access until user authenticates
Authentication uses an in-app WebView2 browser. Lockdown returns automatically if registration is revoked, a new OS user never enrolled logs in (multi-user), or the user switches organisation (windows-no-auth-no-internet). This is orthogonal to emergency disconnect but shares the theme of restricting connectivity until policy allows it.
Dashboard down but traffic still processes
Section titled “Dashboard down but traffic still processes”When only management is unavailable and tunnels still work, Cloudflare advises no customer action: edge services enforce cached policies until management recovers. You cannot change policies or trigger Global Disconnection from the dashboard during that window (Business Continuity Guide).
Prepare and test before incidents
Section titled “Prepare and test before incidents”From the Business Continuity Guide:
- Turn on Global Disconnection in the dashboard when you plan to use it.
- Configure External Emergency Disconnect and upload the certificate fingerprint; test in non-production.
- Document fail-open vs fail-closed criteria and an authorization matrix.
- Ensure IT can reach critical infrastructure without the client if needed.
- Quarterly-test all three disconnection mechanisms; annual full continuity exercise.
Common testing pitfalls: external signals take 1–2 polling intervals; certificate rotation requires MDM redeploy of fingerprints; Include-mode Split Tunnel must not swallow the emergency endpoint IP (Testing recommendations).
Stuck in emergency disconnect: turn off external signal in the dashboard or API, remove MDM keys, clear the local JSON file, or as last resort warp-cli registration delete (requires re-enrollment) (Clear External Emergency Disconnect).
Common mistakes
Section titled “Common mistakes”- Using Global Disconnection during a total Cloudflare outage when management is unreachable—use external or local emergency disconnect instead.
- Hosting the external endpoint on a DNS name rather than an IP address as required.
- Forgetting that disconnect removes Tunnel-backed private app access; plan alternate access (Integration dependencies).
- Leaving Disconnect all devices and external signal enabled after an incident—users stay off Zero Trust until both are cleared (Client errors).
- Expecting fleet-wide emergency disconnect on mobile—use override codes per device.
How to check this on your site
Section titled “How to check this on your site”- In Global disconnection settings, confirm whether Disconnect the Cloudflare One Client on all devices, Manage device connection using an external signal, and Manage device connection using a local file match your runbook.
- From a test device, run
curl --insecure(or trusted CA) against your external URL and verify JSON{"emergency_disconnect": false}per Emergency Disconnect. - Toggle
emergency_disconnecttotruein a lab; within the configured poll interval (or ~30s for local file), confirm the GUI shows Admin directed disconnect, then restorefalse. - On a locked device profile, generate an Admin Override Code and confirm the user can disconnect once; run
warp-cli settingsand check merged Emergency disconnect lines after an emergency test. - You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or expand it.