# Bulk remove users

**URL:** <https://meta.discourse.org/t/bulk-remove-users/53450>\
**Category:** Product Support\
**Created:** [November 27, 2016, 10:32pm UTC](https://meta.discourse.org/t/bulk-remove-users/53450 "2016-11-27T22:32:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [November 28, 2016, 9:02am UTC](https://meta.discourse.org/t/bulk-remove-users/53450/2 "2016-11-28T09:02:25Z")

</div>

If you really don’t care about these users, then I would do this

1. make a backup (_better safe than sorry_)
2. ssh into your server and type

```plaintext
cd /var/discourse
./launcher enter app
rails c
User.where(post_count: 0).destroy_all

```

---

_[View the full topic](https://meta.discourse.org/t/bulk-remove-users/53450)._
