Instructions for running the script:

  1. Launch PowerShell Console as Administrator.
  2. Run the following command to make sure the script will be allowed run:
    1. CODE

Set-ExecutionPolicy Bypass

Copy

      1. Type 'y' and press Enter when prompted.
  1. Make sure to change your directory in the PowerShell Console to the location where you have the Uninstall_Cleanup_EPP_EDR.exe file saved.
  2. Use the following command to run the Cleanup Script. Based on which cleanup file you downloaded.
    1. x64 file:

      1. CODE

.\Uninstall_Cleanup_EPP_EDR_x64.exe -safemode No

Copy

    1. x86 file:

      1. CODE

.\Uninstall_Cleanup_EPP_EDR_x86.exe -safemode No

Copy

  1. NOTE: In many cases, the script will require a reboot and rerun of the script.
    1. The script will tell you at the end if a reboot and another cleanup run is recommended.

Additional Switches:

  • -safemode - Yes/No (Safemode with “Yes” will not make any changes, allowing you to see what changes it WILL make when you run it with -safemode set to “No”.)
    • CODE

.\Uninstall_Cleanup_EPP_EDR.exe -safemode Yes

Copy

  • -uninstallpassword (If needed, specify the uninstall password in single quotes.)
    • CODE

.\Uninstall_Cleanup_EPP_EDR.exe -safemode No -uninstallpassword 'mypassword'

Copy

  • -pause No (By default the script will pause at the end to let the end-user know if a restart and re-run is required. In some cases (CLI push), you may not want the script to pause. In all cases, the script does have an audit log to review.)
    • CODE

.\Uninstall_Cleanup_EPP_EDR.exe -safemode No -pause No