This article is for organizations that run Legacy ProActive and are ready to switch it off after moving to the ProActive Platform. It explains what happens to your data, how to export what you want to keep, and how to remove the Legacy ProActive agent.
Before you switch off
Switch off Legacy ProActive when you are comfortable with the new setup. Validate it in the ProActive Platform first, including that alerts reach the right place. See "Running the ProActive Platform next to Legacy ProActive".
What happens to your data
Nothing is migrated from Legacy ProActive. Data in Legacy ProActive stays there, and incidents you have already handled do not appear in the ProActive Platform. Anything you want to keep, you handle yourself before you switch Legacy ProActive off.
Legacy ProActive lets you export information for each incident, from the management console or the Web Console:
- The incident report as a PDF
- Incident information as a CSV file
- Incident information as a text file, with additional network details
- Nearby files as a CSV file. In the Web Console, the unique Nearby files from several incidents can be exported in one file.
- Signature hashes as a CSV file
The Legacy ProActive user documentation describes how to export each of them, under Managing incidents, Exporting information.
Decide what you need to keep, for example for ongoing or past cases, and export it before you switch Legacy ProActive off. Store it where you keep similar records today, in line with your own policies and procedures for retention and for handling sensitive information.
Remove the Legacy ProActive agent
You can remove the Legacy ProActive agent from Windows devices with the Legacy Proactive Agent Removal Tool. It contains two signed PowerShell scripts, and the removal script is also available as a packaged .intunewin file for deployment as a Win32 app in Microsoft Intune. The tool is attached to this article as a zip file.
The two scripts
- detect-proactive-agent.ps1 detects whether the agent is installed and reports its state. It checks for the known product codes of the agent and for the agent service and driver. Use it as a detection rule in Microsoft Intune, or run it manually to verify a removal.
- remove-proactive-agent.ps1 removes the agent completely: the ncpafltr minifilter driver, the svcncpa Windows service, all registry entries associated with the agent, and all installation and data directories. It must be run as SYSTEM or Administrator, and you can deploy it with Intune or any management tool that runs PowerShell scripts.
The removal script permanently deletes all agent data on the device. If the agent is installed again on the same device, it gets a new identifier and appears as a new device, and it downloads all signature files again, which can take significant bandwidth and time. If this matters to you, contact NetClean support before you use the script.
Run a dry run first
The removal script has a dry run mode that logs everything it would do without changing anything. Run it on a test device before you deploy to a wider group. Every action is logged as normal, with the prefix "DRY RUN:". Run it from an elevated PowerShell session, or through Intune as a script and not as a Win32 app.
powershell.exe -ExecutionPolicy Bypass -File remove-proactive-agent.ps1 -DryRun
By default, the log is written to %ProgramData%\netclean-removal\. To collect logs somewhere else, use the -LogDirectory parameter. The directory is created if it does not exist.
powershell.exe -ExecutionPolicy Bypass -File remove-proactive-agent.ps1 -LogDirectory "C:\Logs\NetClean"
Deploy with Microsoft Intune
Deploying the removal script as a Win32 app gives you more control over targeting, detection rules and return codes. Use the .intunewin package and the detection script from the zip file. The install command is:
powershell.exe -ExecutionPolicy Bypass -File remove-proactive-agent.ps1
Configure the rest of the app with these values:
- Uninstall command: leave blank
- Install behavior: System
- Device restart behavior: determine behavior based on return codes, with 0 as success, 1 as failed and 3010 as soft reboot
- Requirements: 64-bit architecture and Windows 10 1903 or later
- Detection rule: a custom detection script, detect-proactive-agent.ps1, with "Run script as 32-bit process on 64-bit clients" set to No and "Enforce script signature check" set to No
- Assignment: the device groups you want to target, as Required
The detection script is code-signed, but enforcing the signature check in Intune requires NetClean's signing certificate to be in the device's trusted publishers store. Unless you have deployed the certificate to your managed devices, leave the setting at No.
After deployment, use the detection script to verify the result.
A suggested order
- Validate your setup in the ProActive Platform, including that alerts reach the right place.
- Export the data you want to keep from Legacy ProActive.
- Run a dry run on a test device, remove the Legacy ProActive agent from your devices, and verify the result with the detection script.