CrowdStrikeadvanced

Deploy CrowdStrike Falcon via GPO | Active Directory Guide

Step-by-step guide to deploy CrowdStrike Falcon sensors using Group Policy. Silent installation, startup scripts, troubleshooting tips for AD environments.

15 min readUpdated January 2025

Want us to handle this for you?

Get expert help โ†’

Deploying the **CrowdStrike Falcon Sensor** using **Group Policy (GPO)** allows administrators to install the sensor across multiple Windows endpoints without manual intervention. This method is ideal for organizations using **Active Directory (AD)** to centrally manage devices.

This guide covers how to deploy the Falcon Sensor **silently** via GPO using **a startup script**.

GitHub Repository: All scripts from this guide are available at github.com/InventiveHQ/crowdstrike-gpo-deployment-toolkit. Clone the repo to get started quickly.

Requirements

  • Active Directory (AD) domain controller with Group Policy Management.
  • CrowdStrike Falcon Sensor installer (WindowsSensor.exe).
  • Customer ID (CID) from the CrowdStrike Falcon Console.
  • Administrator privileges on the domain controller.

Step 1: Download the CrowdStrike Falcon Sensor

    - Open a browser and go to the crowdstrike console. There are two posbibilities:
    • https://falcon.crowdstrike.com.

    • https://falcon.us-2.crowdstrike.com/

    • Sign in with your admin credentials.

    • Navigate to the Sensor Downloads Page

    • Click Host Setup and Management > Sensor Downloads.

    • Download the Windows Sensor

    • Select the Windows version and download the WindowsSensor.exe file.

    • Place the Installer on a Network Share

    • Copy WindowsSensor.exe to a network share accessible by all computers.

    • Example: \\YourDomainController\Software\WindowsSensor.exe

๐Ÿ“Œ **Note:** Ensure the share has **read and execute** permissions for all domain-joined computers.

---

Step 2: Create a GPO for Falcon Sensor Deployment

    - **Open Group Policy Management** - Press **Win + R**, type gpmc.msc, and press **Enter**.
    • Create a New Group Policy Object (GPO)

    • Right-click Group Policy Objects and select New.

    • Name the GPO Deploy CrowdStrike Falcon.

    • Edit the GPO

    • Right-click the new GPO and select Edit.

    • Navigate to Computer Configuration > Policies > Windows Settings > Scripts (Startup/Shutdown).

    • Double-click Startup and click Add.

    • Add the Startup Script

    • Click Browse, navigate to \\YourDomainController\Software, and create a new script file:

    • Filename:InstallFalcon.bat

    • Contents of InstallFalcon.bat (Replace YOUR-CUSTOMER-ID with the actual CID from the Falcon Console.)

@echo off 
msiexec /i \\\\YourDomainController\\Software\\WindowsSensor.exe /quiet /norestart CID=YOUR-CUSTOMER-ID

    - **Save and Close the Script Window** - Click **OK** to apply the startup script.
---

Step 3: Apply the GPO to Target Computers

    - **Link the GPO to the Appropriate Organizational Unit (OU)** - In **Group Policy Management**, right-click the **OU containing the computers** where Falcon should be installed. - Click **Link an Existing GPO**, and select **Deploy CrowdStrike Falcon**.
    • Force Group Policy Update on Clients
    • Open Command Prompt as Administrator on a test workstation and run:
gpupdate /force
    - Restart the workstation to apply the policy.
---

Step 4: Verify Falcon Sensor Installation

After rebooting, check if the Falcon Sensor is installed and running.

Option 1: Check Installed Programs

    - Open **Control Panel** > **Programs and Features**. - Look for **CrowdStrike Falcon Sensor** in the list.
### Option 2: Check Windows Services

Run the following command in **Command Prompt**:

sc query csagent
If installed correctly, you should see:
STATE: RUNNING
### Option 3: Verify in Falcon Console
    - Log into **CrowdStrike Falcon Console** ([https://falcon.crowdstrike.com](https://falcon.crowdstrike.com)). - Navigate to **Hosts** > **Host Management**. - Search for the **computer name** and check if its status is **Connected**.

๐Ÿ“Œ **Note:** It may take **5-10 minutes** for new installations to appear in the Falcon Console.

---

Troubleshooting Installation Issues

1. GPO Does Not Apply on Target Computers

  • Ensure the computers are in the correct OU where the GPO is linked.
  • Run gpresult /r on a client machine to check if the policy is applied.

2. Falcon Sensor Fails to Install

  • Ensure the installation file is accessible from the network share by testing:powershellCopyEdit\\YourDomainController\Software\WindowsSensor.exe
  • Run the script manually on a test machine to check for errors.

3. Sensor Not Reporting to Falcon Console

  • Check if the service is running:powershellCopyEditsc query csagent
  • Restart the machine and verify the Falcon sensor status.

Frequently Asked Questions

Find answers to common questions

Group Policy Object (GPO) deployment is cost-effective for domain-joined Windows computers, leveraging existing Active Directory infrastructure for automatic sensor installation. However, it has limitations, including dependency on GPO refresh cycles, complexity in troubleshooting, and lack of real-time status visibility. In contrast, SCCM offers comprehensive deployment features, real-time monitoring, and support for multi-platform environments, but requires significant infrastructure investment and expertise. Microsoft Intune excels in cloud-native deployments for remote workers and Azure AD environments, though it depends on internet connectivity and incurs licensing costs. Manual installation provides immediate control but is impractical for large deployments. Scripting offers flexibility but requires development effort. Organizations often use hybrid approaches, combining GPO, Intune, SCCM, and manual methods based on their specific needs and infrastructure maturity.

Need Expert CrowdStrike Management?

Our team manages CrowdStrike deployments for businesses like yours. Get 24/7 threat detection and response with expert oversight.