Microsoft Defender for Identity
Identity protection

Install the sensor v2.x | Microsoft Defender for Identity

In brief

The installation page now clarifies sensor package download steps, formats endpoint lists, and adds tables and examples for silent and proxy installations. It also updates the post-installation next steps.

What Defender admins need to know

Administrators can more easily find silent-installation parameters and proxy options when deploying sensors.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Download and install a Microsoft Defender for Identity sensor v2.x

Download and install the Defender for Identity sensor v2.x on domain controllers, or on AD FS, AD CS, and Microsoft Entra Connect servers that aren't domain controllers. Standalone sensor installation is also covered in Install the v2.x sensor in the Defender portal. Before you begin, review the sensor installation prerequisites, including .NET Framework, server specifications, and certificate requirements.

Download the sensor package

Perform the following steps to download the sensor installation package from the Microsoft Defender portal.

  1. In Microsoft Defender XDR, go to System > Settings > Identities.

  2. Select the Sensors tab, which displays all of your Defender for Identity sensors. For example:

Install the v2.x sensor in the Defender portal

Commands for running a silent installation

Use the following commands to perform a fully silent installation of the Defender for Identity sensor, by using the access key that you copied when you downloaded the sensor package.

cmd.exe syntax

PowerShell syntax

UseIf you're launching the installer from PowerShell, use the following PowerShell syntax for athe same silent installation:installation command:

.\"Azure ATP sensor Setup.exe" /quiet NetFrameworkCommandLineArguments="/q" AccessKey="<Access Key>"

#### Installation options

The following table lists the available installation options for a silent installation.

|Name|Syntax|Mandatory for silent installation?|Description|
|-------------|----------|---------|---------|
|`Quiet`|`/quiet`|Yes|Runs the installer without displaying UI or prompts.|

#### Installation parameters

The following table describes the available installation parameters for a silent installation.

|Name|Syntax|Mandatory for silent installation?|Description|
|-------------|----------|---------|---------|
|`InstallationPath`|`InstallationPath=""`|No|Sets the path for the installation of Defender for Identity sensor binaries. Default path: `%programfiles%\Azure Advanced Threat Protection Sensor`. |

#### Examples

The following examples show common silent installation commands.

Use the following command to silently install the Defender for Identity sensor with the access key passed directly on the command line:

```cmd

### Command for running a silent installation with a proxy configuration

UseThe following syntax shows the following command to configure youroptional proxy together withparameters you can include when running a silent installation:installation. Values in brackets are optional:

```cmd
"Azure ATP sensor Setup.exe" [/quiet] [/Help] [ProxyUrl="http://proxy.internal.com"] [ProxyUserName="domain\proxyuser"] [ProxyUserPassword="ProxyPassword"]`

InstallationProxy installation parameters

The following table lists the proxy-related installation parameters.

Name Syntax Mandatory for silent installation? Description

Next stepsteps

After installing the sensor, continue to configure your sensor settings.

[!div class="step-by-step"] Configure Microsoft Defender for Identity sensor settings