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

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.

Al Mahbub Khan
Written by Al Mahbub Khan Full-Stack Developer & Adobe Certified Magento Developer

Full-stack developer at Scylla Technologies (USA), working remotely from Bangladesh. Adobe Certified Magento Developer.