Generate CrowdStrike Falcon sensor commands for Windows, macOS and Linux - install, uninstall, verify, restart, proxy and grouping tags. Tokens stay local.
This composer generates the exact CrowdStrike Falcon sensor command for the platform and task in front of you — install, uninstall, verify, restart, check cloud connectivity, configure a proxy, set grouping tags, or read the installed version — across Windows, macOS, and Linux. Fill in your CID, maintenance token, or proxy details and they are substituted into the command with the right syntax and the right verification step attached. Everything runs client-side: your CID and tokens stay in your browser and are never transmitted or logged.
It exists because Falcon’s sensor management syntax is genuinely inconsistent across platforms. Windows uses an installer executable and the registry, macOS and Linux use falconctl binaries at different paths with different flag conventions, and the same conceptual task — “set the grouping tags” — looks nothing alike on all three. If you administer a mixed estate, you are either keeping three sets of notes or looking it up every time.
These are administrative endpoint-management commands, and two things follow from that.
Almost everything here needs elevation. Install, uninstall, verify, restart, proxy configuration, tag setting, and version queries all require an elevated Command Prompt or PowerShell on Windows, and sudo on macOS and Linux. The composer marks which action requires administrator privileges and prefixes sudo where appropriate. The connectivity ping is the one action that does not need elevation.
Uninstalling or stopping a sensor removes endpoint protection. A machine with no Falcon sensor is not being monitored and not being defended, and it will drop out of your console’s coverage reporting. That is why CrowdStrike gates removal behind sensor uninstall protection: with it enabled, the uninstall will not proceed without a per-host maintenance token retrieved from the Falcon console by someone with the rights to reveal it. That gate is a feature, not an obstacle — it is precisely what stops an attacker or a curious user from removing the agent. Removal should be a deliberate, change-controlled action performed during decommissioning, a supported migration, or vendor-directed troubleshooting, and never a first response to an unexplained performance problem.
Eight actions, each rendered for the operating system you select:
WindowsSensor.exe /install with your CID=, optional /quiet /norestart, and an optional ProvToken=, followed by sc query csagent to confirm the service exists. On macOS, installer -pkg, then falconctl license <CID>, then falconctl stats. On Linux, the .deb or .rpm install, then falconctl -s --cid= with an optional --provisioning-token=, then systemctl start falcon-sensor, then falconctl -g --aid to confirm an agent ID was issued.CsUninstallTool.exe MAINTENANCE_TOKEN=… on Windows with the sensor-installer alternative shown too, and falconctl uninstall --token … on macOS and Linux, each with the command that confirms removal.sc query csagent (expect STATE: RUNNING), falconctl stats (expect Sensor operational: true), or systemctl status falcon-sensor plus falconctl -g --aid.net stop csagent / net start csagent, launchctl unload / load of the Falcon LaunchDaemon plist, or systemctl restart falcon-sensor.journalctl log filter on Linux.falconctl -s --apd=FALSE --aph=<host> --app=<port> on Linux with the stop/start and read-back steps; on Windows and macOS the proxy is an install-time parameter, so the composer shows the install command with APP_PROXYNAME/APP_PROXYPORT or --aph/--app.falconctl -s -f --tags="…" plus a restart on Linux, a registry write plus service restart on Windows, and falconctl grouping-tags set on macOS.falconctl stats agent_info on macOS, falconctl -g --version on Linux.Confusing these is the most common reason a deployment stalls, so it is worth being precise.
The CID (Customer ID) is your tenant identifier, and it is the same value for every host in your organisation. It is required at install time so the sensor knows which Falcon tenant to register with. Find it under Host setup and management → Sensor downloads in the console. It is not secret in the way a password is, but there is no reason to publish it.
The installation token (also called a provisioning token) is an optional tenant-level control that prevents anyone from installing a sensor against your CID without it. If your organisation has enabled it, an install without ProvToken= or --provisioning-token= will fail even with a correct CID — a failure mode that looks baffling until you know the setting exists.
The maintenance token is per-host and controls removal. When sensor uninstall protection is enabled, it is required to uninstall the sensor and, in current versions, to change certain protected settings. It is revealed per host in the console, and treating it as a secret is the whole point: a maintenance token in a script committed to a repository defeats the protection it exists to provide. Pass it at runtime, never hard-code it.
Sensor installed but not appearing in the console. Verify the service is running first — a sensor that is not running cannot report. If it is running, the problem is almost always network: run the connectivity check for your correct cloud region, since a host pointed at the wrong region, or blocked from *.cloudsink.net by egress filtering or TLS inspection, installs perfectly and then never checks in. On Linux, falconctl -g --aid returning no agent ID confirms registration never completed.
Uninstall fails or exits silently. Nearly always the maintenance token: absent, wrong, or from a different host. Retrieve the token for that specific machine. Note also that on Windows the preferred path is CsUninstallTool downloaded from the console rather than Add/Remove Programs, and that removal via the sensor installer needs the same token.
Proxy in place but the sensor still cannot reach the cloud. On Linux, remember that --apd=FALSE is the flag that enables proxy use — it disables the “proxy disabled” setting, which is a double negative that catches people out. Stop the sensor before changing the values, start it afterwards, and read the settings back with falconctl -g --apd --aph --app. On Windows and macOS the proxy is baked in at install time, so changing it means reinstalling or using the console-side configuration.
Tags not showing in the console. Setting tags overwrites the existing set rather than appending to it, and the sensor must be restarted before the new values sync. If a host loses its policy assignment after a tag change, that is usually why.
In the Falcon console under Host setup and management → Sensor downloads. It is a single tenant-wide value used by every sensor you install.
A per-host token that enforces sensor uninstall protection. With that protection enabled, the sensor cannot be removed without it — which is exactly what prevents an attacker or an end user from disabling endpoint protection. Retrieve it per host from the console.
The installation (provisioning) token is tenant-level and controls who may install a sensor against your CID. The maintenance token is per-host and controls who may remove or alter one. They are not interchangeable.
Yes, with one exception. Install, uninstall, verify, restart, proxy, tags, and version all require an elevated shell on Windows or sudo on macOS and Linux. Only the connectivity ping runs unprivileged.
sc query csagent on Windows and look for STATE: RUNNING; falconctl stats on macOS and look for Sensor operational: true; systemctl status falcon-sensor on Linux and look for Active (running).
Confirm the service is running, then test connectivity to your cloud region’s host. Wrong region, blocked egress to *.cloudsink.net, or TLS inspection breaking the connection are the usual causes. On Linux, an empty response from falconctl -g --aid confirms registration did not complete.
No. The composer substitutes them into the command text in your browser. Nothing is uploaded, stored, or logged. That said, treat any generated command containing a maintenance token as a secret — do not paste it into a ticket or commit it to a repository.
Not as a first step. Removing the sensor leaves the endpoint unprotected and unmonitored for as long as it is absent. Restart the service, check the version, and raise a support case first; uninstall only under change control or when CrowdStrike support directs it. For the wider picture, our security tools collection covers related endpoint and network checks, and the security model decision matrix is useful when documenting the control model your endpoint policy enforces.
The CrowdStrike Falcon sensor is a lightweight endpoint detection and response (EDR) agent that runs on Windows, macOS, and Linux hosts. While day-to-day policy management happens in the Falcon console, sensor lifecycle operations — installing, uninstalling, verifying, and troubleshooting the agent — are performed with platform-specific command-line tools that are easy to get wrong.
This tool generates ready-to-run commands for Falcon sensor administration. Pick an action and an operating system, paste in your CID or maintenance token where required, and copy a complete, correctly-formatted command sequence.
Windows uses WindowsSensor.exe for installation (with the CID= parameter and optional provisioning token), CsUninstallTool.exe for removal (with MAINTENANCE_TOKEN= when uninstall protection is enabled), and the standard service commands sc query csagent and net start csagent for verification.
macOS uses the bundled falconctl utility at /Applications/Falcon.app/Contents/Resources/falconctl for licensing, stats, and uninstallation, plus launchctl for service control.
Linux uses the package manager (yum, apt, or zypper) for installation, /opt/CrowdStrike/falconctl for configuration (CID, provisioning tokens, proxy settings, grouping tags), and systemctl for service management.
Always retrieve the maintenance token before uninstalling. When uninstall protection (sensor tamper protection) is enabled, removal requires a per-host maintenance token from Host setup and management → Host management in the Falcon console. Disabling tamper protection instead weakens your security posture.
Verify after every install or uninstall. A successful installer exit code does not guarantee the sensor is registered. Run the verification command for your platform and confirm the host appears in the Falcon console within a few minutes.
Use provisioning tokens for new installs when your CID has installation token enforcement enabled — installs without a valid token are rejected.
Keep tokens out of scripts and tickets. Maintenance tokens and CIDs pasted into this tool are processed entirely in your browser and never sent to a server, but treat them as credentials: do not commit them to source control or paste them into ticketing systems.
On Windows, run 'CsUninstallTool.exe MAINTENANCE_TOKEN=YOUR-TOKEN /quiet' or 'WindowsSensor.exe /uninstall /quiet MAINTENANCE_TOKEN=YOUR-TOKEN'. On macOS, run 'sudo /Applications/Falcon.app/Contents/Resources/falconctl uninstall --token YOUR-TOKEN'. On Linux, run 'sudo falconctl uninstall --token YOUR-TOKEN'. Paste your token into the builder and it is injected into the command locally - it never leaves your browser.
Log into the Falcon console, go to Hosts > Host Management, select the target device, open the three-dot menu, and choose Reveal maintenance token. You will need a note in the textbox before the token is shown. The token (uninstall passcode) is required when sensor uninstall protection is enabled.
On Windows, run 'sc query csagent' and look for STATE: RUNNING (start it with 'net start csagent' if stopped). On macOS, run 'sudo /Applications/Falcon.app/Contents/Resources/falconctl stats' and look for 'Sensor operational: true'. On Linux, run 'sudo systemctl status falcon-sensor' and look for Active (running).
Run 'WindowsSensor.exe /install /quiet /norestart CID=YOUR-CUSTOMER-ID' from the folder containing the installer. The /quiet flag suppresses prompts and /norestart prevents an automatic reboot. If your CID enforces installation tokens, append ProvToken=YOUR-INSTALLATION-TOKEN. Confirm the result with 'sc query csagent'.
Install the package ('sudo yum install falcon-sensor-
Stop the sensor, then run 'sudo /opt/CrowdStrike/falconctl -s --apd=FALSE --aph=http://proxy.example.com --app=8080'. Setting --apd=FALSE forces traffic through the proxy (--aph is the host, --app is the port). Start the sensor and verify with 'sudo /opt/CrowdStrike/falconctl -g --apd --aph --app'.
Run 'sudo /opt/CrowdStrike/falconctl -s -f --tags="prod,webserver,us-east-1"' (setting tags overwrites existing tags), then restart with 'sudo systemctl restart falcon-sensor' so the tags sync to the console. View current tags with 'sudo /opt/CrowdStrike/falconctl -g --tags'. Use comma-separated lowercase tags with no spaces.
No. The CrowdStrike Falcon Command Builder runs entirely in your browser. Any maintenance token, installation token, or CID you paste is injected directly into the generated commands client-side and is never transmitted to a server. If you leave a field blank, a clearly-marked placeholder such as YOUR-MAINTENANCE-TOKEN is used instead.