# Reset all avatars back to default

**URL:** https://meta.discourse.org/t/reset-all-avatars-back-to-default/64929
**Category:** Support
**Created:** [2017年六月21日 22:22 UTC](https://meta.discourse.org/t/reset-all-avatars-back-to-default/64929 "2017-06-21T22:22:02Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2017年六月22日 13:11 UTC](https://meta.discourse.org/t/reset-all-avatars-back-to-default/64929/3 "2017-06-22T13:11:48Z")

</div>

To reset all user avatars to system generated avatar, here is what needs to be done on server:

```bash
cd /var/discourse
./launcher enter app
rails c
User.human_users.update_all(uploaded_avatar_id: nil)

```

@Brock_Busby Since you are hosted by us, I can do this for you. Should I go ahead and reset all avatars on your Discourse instance?

---

_[View the full topic](https://meta.discourse.org/t/reset-all-avatars-back-to-default/64929)._
