Get current plesk admin password or reset plesk admin password
- Connect to the server via Remote Desktop.
- Open Command Prompt: From the Start menu, select “Run…” and type
cmd
. - Navigate to the Plesk bin directory:
cd "C:\Program Files (x86)\Plesk\admin\bin"
(Note: The path might vary slightly depending on your Plesk installation location.) retrieve the password.
plesksrvclient.exe -get
This command will display the Plesk admin password. You can also redirect the output to a file for later viewing:
plesksrvclient.exe -get -nogui > plesk_password.txt
For Linux servers:
cat /etc/psa/.psa.shadow
plesk bin admin --show-password
Plesk versions 17 and higher.
plesk login
This command will generate a one-time login link that can be used to access the Plesk panel without needing the password directly.
-
Security:Be cautious when retrieving or displaying passwords in plain text, especially in shared environments.
-
Alternative:If you are unable to retrieve the password, you can reset it using specific commands provided by Plesk documentation for your version. For example, on Linux, you can use
plesk bin admin --set-admin-password -passwd "YOUR_NEW_PASSWORD"
.