{"id":47829,"date":"2024-02-07T12:30:00","date_gmt":"2024-02-07T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=47829"},"modified":"2024-01-24T04:33:24","modified_gmt":"2024-01-24T10:33:24","slug":"how-to-reset-the-admin-password-on-magento-2","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/","title":{"rendered":"How to Reset the Admin Password on Magento 2"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2.webp\" alt=\"how to reset the admin password on magento 2\" class=\"wp-image-47911\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>We&#8217;ll guide you on how to reset your Magento 2 admin password. Magento 2 is a robust and open-source e-commerce platform written in PHP and utilizes MySQL for database management, providing a powerful foundation for creating impressive online stores. As of 2017, Magento 2 has gained popularity and is employed by a significant portion of the internet.<\/p>\n\n\n\n<p>Magento 2 administrators may find the need to alter their dashboard password, either due to forgetting the current one or desiring to enhance security with a new, stronger password. While the &#8220;Lost your password?&#8221; option on the Magento 2 login form is a straightforward method for password reset, there are instances where this approach may not be feasible, especially if an admin has lost access to their email.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>This tutorial will comprehensively explore various methods for resetting your Magento 2 administrator password.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69efa38cf1d2b\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69efa38cf1d2b\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#Method-1-Change-Magento-2-Admin-Password-via-Magento-Backend\" >Method 1. Change Magento 2 Admin Password via Magento Backend<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#Method-2-Change-the-Password-via-phpMyAdmin\" >Method 2. Change the Password via phpMyAdmin:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#Method-3-Reset-Magento-2-Admin-Password-via-Command-Line-Interface-cli\" >Method 3. Reset Magento 2 Admin Password via Command Line Interface (cli)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#Method-4-Reset-Magento-2-Admin-Password-via-Account-Settings\" >Method 4. Reset Magento 2 Admin Password via Account Settings<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method-1-Change-Magento-2-Admin-Password-via-Magento-Backend\"><\/span>Method 1. Change Magento 2 Admin Password via Magento Backend<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>One of the simplest and most convenient methods is resetting the password for your <a href=\"https:\/\/www.rosehosting.com\/magento-hosting\/\">Magento 2 server<\/a> directly within the Admin panel.<\/p>\n\n\n\n<p>If you happen to forget your password, simply click on the &#8220;Forgot Your Password?&#8221; link.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"461\" height=\"521\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0.png\" alt=\"\" class=\"wp-image-47868\" style=\"width:309px;height:auto\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0.png 461w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-265x300.png 265w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-133x150.png 133w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><\/figure>\n\n\n\n<p>Follow these steps to reset the admin password in Magento 2:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provide the Email Address linked to the Admin account.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"448\" height=\"711\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-1.png\" alt=\"\" class=\"wp-image-47869\" style=\"width:338px;height:auto\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-1.png 448w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-1-189x300.png 189w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-1-95x150.png 95w\" sizes=\"(max-width: 448px) 100vw, 448px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on &#8220;Retrieve Password.&#8221; If an account is associated with the provided email address, an email will be sent to facilitate the password reset. To avoid emails being marked as spam, consider enabling SMTP settings.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method-2-Change-the-Password-via-phpMyAdmin\"><\/span>Method 2. Change the Password via phpMyAdmin:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>At times, accessing your dashboard may be challenging due to reasons like password forgetfulness or a compromised site. However, there&#8217;s no need to worry because you can reset the password through phpMyAdmin, a graphical utility tool designed for MySQL database management.<\/p>\n\n\n\n<p>After logging in to phpMyAdmin, navigate to your Magento database in the left-side list. The database tables are listed there, which you can see in the image below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"245\" height=\"188\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-2.png\" alt=\"\" class=\"wp-image-47870\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-2.png 245w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-2-150x115.png 150w\" sizes=\"(max-width: 245px) 100vw, 245px\" \/><\/figure>\n\n\n\n<p>Find the table that contains the admin user information. This table normally has the name <code>admin_user<\/code>, but it may have a prefix based on your Magento installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"521\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-3-1024x521.png\" alt=\"\" class=\"wp-image-47871\" style=\"width:790px;height:auto\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-3-1024x521.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-3-300x153.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-3-150x76.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-3-768x390.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-3.png 1245w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Look for the row corresponding to the Magento admin user whose password you want to change. The username is typically <code>admin<\/code>. Double-click on the password column and copy the value of your cryptographic key. This is the value found between the &#8216;:&#8217; symbols.<\/p>\n\n\n\n<p>Now, click on the SQL button on the top menu and run the following query:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>UPDATE admin_user SET password = CONCAT(SHA2('xCryptKeyxYourN3wPassw0rd', 256), ':xCryptKeyx:1') WHERE username = 'YourAdminUser';<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"56\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-4-1024x56.png\" alt=\"\" class=\"wp-image-47872\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-4-1024x56.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-4-300x16.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-4-150x8.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-4-768x42.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-4-1320x72.png 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-4.png 1336w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Important: Please update xCryptKeyx with your cryptographic key, and YourN3wPassw0rd with your new password. Additionally, replace YourAdminUser with the username for which you are resetting the password.<\/p>\n\n\n\n<p>Save the changes by clicking the &#8220;Go&#8221; or &#8220;Save&#8221; button at the bottom of the page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"97\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-5-1024x97.png\" alt=\"\" class=\"wp-image-47873\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-5-1024x97.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-5-300x29.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-5-150x14.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-5-768x73.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-5.png 1251w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Please take caution whenever you directly modify the database. We also recommend taking a backup before making any changes. Additionally, it&#8217;s crucial to comply with security best practices and ensure the confidentiality of passwords.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method-3-Reset-Magento-2-Admin-Password-via-Command-Line-Interface-cli\"><\/span>Method 3. Reset Magento 2 Admin Password via Command Line Interface (cli)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To reset the Magento 2 admin password via the command line interface (CLI), you can use the bin\/magento command-line tool provided by Magento. Follow these steps:<\/p>\n\n\n\n<p>First, access the command line or terminal on your server or local development environment.<\/p>\n\n\n\n<p>Next, navigate to the Magento 2 installation directory using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/path\/to\/your\/magento2<\/code><\/pre>\n\n\n\n<p>Then, run the following command to reset the admin password:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bin\/magento admin:user:create --admin-user=YourAdminUser --admin-password=YourN3wPassw0rd<\/code><\/pre>\n\n\n\n<p>Replace &#8220;YourAdminUser&#8221; with your actual admin username and &#8220;YourN3wPassw0rd&#8221; with the new password you want to set.<\/p>\n\n\n\n<p>Next, input your email, first name, and last name.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"212\" height=\"46\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-6.png\" alt=\"\" class=\"wp-image-47874\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-6.png 212w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-6-150x33.png 150w\" sizes=\"(max-width: 212px) 100vw, 212px\" \/><\/figure>\n\n\n\n<p>After changing the password, it&#8217;s a good practice to flush the Magento cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<p>This command is designed for creating a new user. However, if the user already exists, it updates the admin user&#8217;s password directly in the database. It is a secure method for resetting the password without exposing sensitive information.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method-4-Reset-Magento-2-Admin-Password-via-Account-Settings\"><\/span>Method 4. Reset Magento 2 Admin Password via Account Settings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This method allows you to reset the admin password without using the command line or accessing the database directly. It&#8217;s a user-friendly approach available within the Magento 2 Admin Panel, making it convenient for administrators to manage their account security.<\/p>\n\n\n\n<p>Please note, to use this method you need to know your current password.<\/p>\n\n\n\n<p>First, open your web browser and navigate to the Magento 2 Admin Panel.<\/p>\n\n\n\n<p>Once logged in, click on your account name or profile picture in the top right corner of the admin panel. This will open a dropdown menu.<\/p>\n\n\n\n<p>In the dropdown menu, click on &#8220;Account Setting&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"264\" height=\"162\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-7.png\" alt=\"\" class=\"wp-image-47875\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-7.png 264w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-7-150x92.png 150w\" sizes=\"(max-width: 264px) 100vw, 264px\" \/><\/figure>\n\n\n\n<p>You will be prompted to enter your current password and the new password you want to set. Ensure that the new password meets any security requirements specified by your Magento 2 installation.<\/p>\n\n\n\n<p>After entering the required information, click on the &#8220;Save Account&#8221; button to save the changes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"484\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-8-1024x484.png\" alt=\"\" class=\"wp-image-47876\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-8-1024x484.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-8-300x142.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-8-150x71.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-8-768x363.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-8-1536x726.png 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-8-1320x624.png 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/pasted-image-0-8.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>For security reasons, log out of the admin panel and log back in using the new password to confirm that the password change was successful.<\/p>\n\n\n\n<p>You can now log in to the Magento 2 admin panel using the new password. For additional details about Magento 2, its features, and configuration, refer to their official documentation.<\/p>\n\n\n\n<p>Of course, you don\u2019t have to change your Magento 2 admin password if you use one of our <a href=\"https:\/\/www.rosehosting.com\/magento-hosting\/\">Magento Hosting<\/a> services, in which case you can simply ask our expert Linux admins to reset the Magento 2 admin password for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n\n\n\n<p>If you liked this post on resetting Magento 2 admin password, please share it with your friends if they&#8217;re having trouble with their accounts. If you know of another way to reset the admin password, you can leave a comment below. Thanks for reading.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ll guide you on how to reset your Magento 2 admin password. Magento 2 is a robust and open-source e-commerce &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Reset the Admin Password on Magento 2\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#more-47829\" aria-label=\"Read more about How to Reset the Admin Password on Magento 2\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":47911,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1711,2072,13],"tags":[983,2121],"class_list":["post-47829","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-e-commerce","category-open-source","category-tutorials","tag-magento-2","tag-password-reset","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Reset the Admin Password on Magento 2 | RoseHosting<\/title>\n<meta name=\"description\" content=\"It&#039;s a pain if you forget your password on Magento. You can fix that by following our guide on how to reset the admin password on Magento 2.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Reset the Admin Password on Magento 2\" \/>\n<meta property=\"og:description\" content=\"How to Reset the Admin Password on Magento 2 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-07T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Reset the Admin Password on Magento 2\",\"datePublished\":\"2024-02-07T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/\"},\"wordCount\":930,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/how-to-reset-the-admin-password-on-magento-2.webp\",\"keywords\":[\"magento 2\",\"password reset\"],\"articleSection\":[\"E-Commerce\",\"Open-source\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/\",\"name\":\"How to Reset the Admin Password on Magento 2 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/how-to-reset-the-admin-password-on-magento-2.webp\",\"datePublished\":\"2024-02-07T18:30:00+00:00\",\"description\":\"It's a pain if you forget your password on Magento. You can fix that by following our guide on how to reset the admin password on Magento 2.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/how-to-reset-the-admin-password-on-magento-2.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/how-to-reset-the-admin-password-on-magento-2.webp\",\"width\":1024,\"height\":576,\"caption\":\"how to reset the admin password on magento 2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-reset-the-admin-password-on-magento-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Reset the Admin Password on Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Reset the Admin Password on Magento 2 | RoseHosting","description":"It's a pain if you forget your password on Magento. You can fix that by following our guide on how to reset the admin password on Magento 2.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"How to Reset the Admin Password on Magento 2","og_description":"How to Reset the Admin Password on Magento 2 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2024-02-07T18:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Reset the Admin Password on Magento 2","datePublished":"2024-02-07T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/"},"wordCount":930,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2.webp","keywords":["magento 2","password reset"],"articleSection":["E-Commerce","Open-source","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/","name":"How to Reset the Admin Password on Magento 2 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2.webp","datePublished":"2024-02-07T18:30:00+00:00","description":"It's a pain if you forget your password on Magento. You can fix that by following our guide on how to reset the admin password on Magento 2.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-reset-the-admin-password-on-magento-2.webp","width":1024,"height":576,"caption":"how to reset the admin password on magento 2"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-reset-the-admin-password-on-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Reset the Admin Password on Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=47829"}],"version-history":[{"count":7,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47829\/revisions"}],"predecessor-version":[{"id":47913,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47829\/revisions\/47913"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/47911"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=47829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=47829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=47829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}