How to reset lost admin password in Magento 2 | Magento admin password reset

Use the following command to perform Magento admin password reset

php bin/magento admin:user:create –admin-user=”admin” –admin-password=”123123q” –admin-email=”admin@example.com” –admin-firstname=”Admin” –admin-lastname=”Admin”

After creating new admin, you can login and change the original user password with it.