Instructions for running the script:
- Launch PowerShell Console as Administrator.
- Run the following command to make sure the script will be allowed run:
- CODE
Set-ExecutionPolicy Bypass
Copy
- Type 'y' and press Enter when prompted.
- Make sure to change your directory in the PowerShell Console to the location where you have the Uninstall_Cleanup_EPP_EDR.exe file saved.
- Use the following command to run the Cleanup Script. Based on which cleanup file you downloaded.
- x64 file:
- CODE
.\Uninstall_Cleanup_EPP_EDR_x64.exe -safemode No
Copy
- x86 file:
- CODE
.\Uninstall_Cleanup_EPP_EDR_x86.exe -safemode No
Copy
- NOTE: In many cases, the script will require a reboot and rerun of the script.
- 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