{"id":368,"date":"2010-09-11T01:59:45","date_gmt":"2010-09-11T07:59:45","guid":{"rendered":"http:\/\/blog.supportpro.com\/2010\/09\/retrieve-plesk-admin-password-on-linux-and-windows\/"},"modified":"2026-03-27T00:38:06","modified_gmt":"2026-03-27T06:38:06","slug":"retrieve-plesk-admin-password-on-linux-and-windows","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/retrieve-plesk-admin-password-on-linux-and-windows\/","title":{"rendered":"How to Retrieve Plesk Admin Password via SSH or Command Line"},"content":{"rendered":"\n<p>If the <strong>Plesk admin password window does not open<\/strong> or you cannot access the password through the GUI, you can retrieve it directly from the server using command-line methods.<\/p>\n\n\n\n<p>Below are the steps for both <strong>Linux<\/strong> and <strong>Windows<\/strong> servers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Retrieve Plesk Admin Password on Linux Server<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the server via <strong>SSH<\/strong> as the root user.<\/li>\n\n\n\n<li>Run the following command:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/etc\/psa\/.psa.shadow<\/code><\/pre>\n\n\n\n<p>This command displays the encrypted admin password used by Plesk.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Retrieve Plesk Admin Password on Windows Server<\/strong><\/h3>\n\n\n\n<p>If the Plesk admin password window does not appear, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Access the server using <strong>Command Prompt<\/strong>, <strong>Shell<\/strong>, or <strong>Terminal Server<\/strong>.<\/li>\n\n\n\n<li>Run the command below:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>\"%plesk_bin%\"\\plesksrvclient.exe -get<\/code><\/pre>\n\n\n\n<p>The command retrieves the Plesk administrator credentials directly from the system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p>Using SSH or command-line access is the quickest way to recover Plesk admin credentials when the graphical password window fails to open.<\/p>\n\n\n\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n\n\n\n<p class=\"has-text-align-center\"><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><\/a><\/span><\/span><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center has-white-background-color has-background\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">Facing issues? <\/p>\n\n\n\n<p class=\"has-large-font-size\">Our technical support<br>engineers can solve it. <\/p>\n\n\n\n<!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3350a795-db50-482f-9911-301930d1b1be\"><span class=\"hs-cta-node hs-cta-3350a795-db50-482f-9911-301930d1b1be\" id=\"hs-cta-3350a795-db50-482f-9911-301930d1b1be\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/3350a795-db50-482f-9911-301930d1b1be\" ><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-3350a795-db50-482f-9911-301930d1b1be\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/3350a795-db50-482f-9911-301930d1b1be.png\"  alt=\"Contact Us today!\"\/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '3350a795-db50-482f-9911-301930d1b1be', {\"useNewLoader\":\"true\",\"region\":\"na1\"}); <\/script><\/span><!-- end HubSpot Call-to-Action Code -->\n<\/div><figure class=\"wp-block-media-text__media\"><img fetchpriority=\"high\" decoding=\"async\" width=\"904\" height=\"931\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png\" alt=\"guy server checkup\" class=\"wp-image-12943 size-full\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png 904w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-291x300.png 291w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-768x791.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-585x602.png 585w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If the Plesk admin password window does not open or you cannot access the password through the GUI, you can retrieve it directly from the server using command-line methods. Below&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-368","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":2,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"predecessor-version":[{"id":16751,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/368\/revisions\/16751"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}