How to Uninstall cPFence ?

If you need to remove cPFence from your system, follow the steps below to uninstall the software completely and cleanly.

Important: If you do not plan to reinstall cPFence again, we recommend disabling all WordPress-related features and removing the MU plugin first.

bash <( curl -ks https://api.cpfence.app/wp_autoshield_off.sh )

This will undo all changes made by WP-AutoShield and clean up the MU plugin before uninstallation.

Uninstall Command

To uninstall cPFence, use the following command:

cpfence --uninstall

This command will remove the cPFence software from your system. Follow any additional prompts to complete the uninstallation process.

Alternative Method

If your license is expired or not working, you can still uninstall the software using the following command:

/opt/cpfence/app/setup/uninstall

Additional Information

  • Need Help? If you're uninstalling cPFence for troubleshooting and need assistance, don't hesitate to open a support ticket.
  • We're Sorry to See You Go: For any questions, feedback, or concerns, please feel free to contact us. We're always here to help and appreciate your input.

Thank you for using cPFence!

  • uninstall
  • 22 Users Found This Useful
Was this answer helpful?

Related Articles

Why Do I See "could not change directory to /root: Permission denied" Warnings?

You may occasionally encounter the following warning message while using cPFence: could not...

How to Set Up Slack Notifications in cPFence?

If you'd like to receive cPFence alerts on your desktop or mobile via Slack, follow the steps...

How to Temporarily Disable All cPFence Functions?

If you need to pause cPFence activity for troubleshooting or other purposes, you can temporarily...

How to Address High Server Load Issues with cPFence?

Note: It is now recommended to use the automatic feature instead of manual blacklisting...

How to Back Up and Restore cPFence Settings?

Backing up and restoring your cPFence settings is now easier than ever with the newly added...