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!