How to Reset Lost Admin Password in Magento2

In this tutorial, you will go through how to reset lost admin password in magento2. This trick will be very useful and handy when you want to reset the admin password.

You can use Magento CLI to create new admin user with the following command, then you can go and change the password of your original user.

php bin/magento admin:user:create --admin-user="admin" --admin-password="123456" --admin-email="[email protected]" --admin-firstname="Admin" --admin-lastname="Admin"

I hope you like this post, Please feel free to comment below, your suggestion and problems!

(Visited 7 times, 1 visits today)
Chandra Kumar

Hello World, I am Chandra Kumar from New Delhi, India. I am professionally developer, programmer and blogger. I am the founder of

0 Comment

Leave a Comment

Your email address will not be published. Required fields are marked *