Title: WP CLI and Shield
Last modified: April 13, 2018

---

# WP CLI and Shield

 *  Resolved [darkpollo](https://wordpress.org/support/users/darkpollo/)
 * (@darkpollo)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-and-shield/)
 * I am trying to deactivate shield for my staging copy using a script and wp cli.
   
   The plugin does not appear on the list of plugins.
 * Is that by design?
    How can I deactivate it via command line?
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-and-shield/#post-10185386)
 * We haven’t tested Shield with wp-cli and so we don’t support it officially. We
   can’t say what would be happening here.
    Maybe try removing Security admin restrictions..
 *  [expertoswp](https://wordpress.org/support/users/expertoswp/)
 * (@expertoswp)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-and-shield/#post-10185510)
 * I do not have them activated, so it is strange.
 * Thank you for the fast reply.
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-and-shield/#post-10185627)
 * perhaps test with keeping the plugin activated, but using the global disable 
   switch on the plugin to see if that makes a difference. If it does, re-enable
   and test disabling modules until 1 shows itself to cause the interruption. That’s
   the best way I can suggest to narrow it down..
 *  [expertoswp](https://wordpress.org/support/users/expertoswp/)
 * (@expertoswp)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-and-shield/#post-10185725)
 * I found a workaround creating the reset file on my script, so the “login captcha”
   is disabled on the staging using that, and I do not need to deactivate the plugin
   instead.
 * I will try to do more tests as soon as I got some time.
 * Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP CLI and Shield’ is closed to new replies.

 * ![](https://ps.w.org/wp-simple-firewall/assets/icon-256x256.png?rev=3054572)
 * [Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning](https://wordpress.org/plugins/wp-simple-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-firewall/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [expertoswp](https://wordpress.org/support/users/expertoswp/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-and-shield/#post-10185725)
 * Status: resolved