Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CrowdStrike Falcon Sensor Installer Script

App Screenshot

This PowerShell script validates key CrowdStrike requirements for the European cloud (EU-1) and installs the CrowdStrike Falcon Sensor on a Windows endpoint when all prerequisites are satisfied. It performs basic environment validation, checks connectivity to the CrowdStrike cloud, and executes a silent installation of the Falcon Sensor using the provided installer.

The script has been tested in a Windows environment and successfully performed the installation process when all requirements were met.

Deployment

Requirements

Before running the script, ensure the following:

  • Windows system with PowerShell
  • CrowdStrike installer with the name: FalconSensor_Windows.exe
  • PowerShell script: Installer_Windows.ps1 (or Installer_Windows_Legacy.ps1 for legacy systems)
  • Both files must be available on the system
  • Permission to run PowerShell scripts

Prepare the Environment

Enable PowerShell script execution for the current session if it's not currently enabled:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force

Copy Files to the TEMP Directory. For example, you can use:

Copy-Item "$HOME\Downloads\Installer_Windows.ps1" -Destination $env:TEMP
Copy-Item "$HOME\Downloads\FalconSensor_Windows.exe" -Destination $env:TEMP

Navigate to the TEMP Directory

Set-Location $env:TEMP

Configure the CID

Before running the script, you must update the Customer ID (CID) inside the script. To obtain the CID:

1. Log in to the CrowdStrike Falcon Console
2. Go to Host Setup and Management
3. Select Sensor Downloads
4. Copy the Customer ID (CID) shown on that page

Then open the script (Installer_Windows.ps1 or Installer_Windows_Legacy.ps1) and replace the placeholder value with your CID:

# Your CID (Customer ID Checksum)
$CID = "PUT-YOUR-CID-HERE"

For example:

# Your CID (Customer ID Checksum)
$CID = "1234567890ABCDEF1234567890ABCDEF-12"

Run the script

.\Installer_Windows.ps1
or
.\Installer_Windows_Legacy.ps1

Authors

Documentation

The information used in this script regarding required services, system prerequisites, and installation requirements is based on the official CrowdStrike documentation for Falcon Sensor deployment.

Falcon Sensor Deployment for Windows

CrowdStrike Cloud IP Addresses and FQDNs

About

PowerShell script to validate system requirements and perform a silent installation of the CrowdStrike Falcon Sensor with logging and connectivity checks.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages