Microsoft Defender for Identity
Identity protection

Uninstall the Sensor

In brief

The page now prominently warns that deleting the sensor removes the v3.x sensor software and stops monitoring on the domain controller. Steps, images, headings, and numbering were also reformatted.

What Defender admins need to know

Administrators should review the warning before uninstalling or deleting a sensor. No action is required.

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.

For sensor v3.x

To delete a v3.x sensor from the Microsoft Defender portal, follow these steps:

  1. In the Microsoft Defender portal

    To delete a v3.x sensor from the Microsoft Defender portal, follow these steps:

    1. In the Microsoft Defender portal, go to Settings > Identities > Sensors.

    2. Select the domain controller where you want to deactivate Defender for Identity capabilities, select Delete, and confirm your selection.

      :::image type="content" source="media/screenshot-that-shows-how-to-delete-a-sensor.png" alt-text="Screenshot that shows how to delete a sensor." lightbox="media/screenshot-that-shows-how-to-delete-a-sensor.png":::

    Delete and uninstall a sensor v2.x from a domain controller

    1. Sign in to the domain controller with administrative privileges.
    2. From the Windows Start menu, select Settings > Control Panel > Add/ Remove Programs.
    3. Select the sensor installation, select Uninstall and follow the instructions to remove the sensor.
    4. After the uninstall finishes, open the Microsoft Defender portal.
    5. Go to Settings > Identities > Sensors.
    6. Select the domain controller, and then select Delete.

    Remove an orphaned sensor

    1. In the Defender portal, go to Settings and then Identities. Select Sensors on the left to display all your Defender for Identity sensors.

    2. Locate the orphaned sensor and select Delete (trash can icon).

      Screenshot of the Defender for Identity sensors page showing the delete option for an orphaned sensor.:::image type="content" source="media/delete-orphaned-sensor.png" alt-text="Screenshot of the Defender for Identity sensors page showing the delete option for an orphaned sensor.":::

    Remove a duplicate sensor

    Use the following command to perform a silent uninstall of the Defender for Identity sensor:

    Syntax:

    The following command shows the available options for removing the sensor from the command line, including optional silent and help switches.

    "Azure ATP sensor Setup.exe" [/quiet] [/Uninstall] [/Help]

    
    **### Installation options**:options
    
    > [!div class="mx-tableFixed"]
    >
    > |Uninstall|/uninstall|Yes|Runs the silent uninstallation of the Defender for Identity sensor from the server.|
    > |Help|/help|No|Provides help and quick reference. Displays the correct use of the setup command including a list of all options and behaviors.|
    
    **Examples**:### Examples
    
    To silently uninstall the Defender for Identity sensor from the server:
    
    "Azure ATP sensor Setup.exe" /quiet /uninstall
    

    See alsoRelated content