Uninstall-AIPScanner

Relevant for: AIP unified labeling and classic clients

Uninstalls the Windows Server service for the Azure Information Protection scanner.

Syntax

Uninstall-AIPScanner []

Description

The Uninstall-AIPScanner cmdlet uninstalls the Azure Information Protection Scanner Windows Server service.

To run this command, you must have local Administrator rights for the Windows Server computer and you must restart the computer after running the command to complete the removal process.

This command does not remove the following:

  • Scanner reports, located in %localappdata%\Microsoft\MSIP\Scanner\Reports.

  • The SQL Server database that was created by running the Install-AIPScanner cmdlet when the Azure Information Protection scanner was installed. If this database is no longer required, you must manually remove it.

    This database is named as follows:

    Client Instructions
    Unified labeling client For the AIP unified labeling client, the database name for the scanner is AIPScannerUL_<cluster_name>.
    Classic client For the AIP classic client, the default database name for the scanner is AIPScanner_<computer_name> but when you specify a profile name, the database name for the scanner changes to AIPScanner_<profile_name)>.

Note

To provide a unified and streamlined customer experience, the Azure Information Protection classic client and Label Management in the Azure Portal are deprecated as of March 31, 2021. No further support is provided for the classic client and maintenance versions will no longer be released.

The classic client will be officially retired, and will stop functioning, on March 31, 2022.

All current Azure Information Protection classic client customers must migrate to the Microsoft Information Protection unified labeling platform and upgrade to the unified labeling client. Learn more in our migration blog.

Examples

Example 1: Uninstall the Azure Information Protection Scanner service

PS C:\> Uninstall-AIPScanner

This command removes the service for the Azure Information Protection scanner.

Inputs

None

Outputs

System.Object