There are two commands to find out the access password for the "admin" user in the Plesk control panel on a Windows Server. Below, we will detail how to execute these commands and what they are:
- Access your server via Remote Desktop.
Additional Information
You can find more information about accessing your server via Remote Desktop in the article:
- Open the Windows Command Prompt (CMD).
Additional Information
You can find more information about how to open the Command Prompt on your Windows server in the article:
Open Windows Command Prompt (cmd). - Execute one of the following commands:
- The first command will open a window displaying the password for our control panel:
"%plesk_bin%/plesksrvclient" –get
If this command shows any type of error for some reason, we should execute the next one. - The second command will save the password to a .txt file in the directory where we are located in the command line when executing said command:
"%plesk_bin%/plesksrvclient" -get -nogui plesk_password.txt
- The first command will open a window displaying the password for our control panel:
There are two commands to find out the access password for the "admin" user in the Plesk control panel on your Linux Server, which will depend on the version of your control panel. The steps to follow to retrieve the Plesk password are:
- Access your server via SSH as the root user.
Additional Information
You can find more information about accessing your server via SSH in the article:
- Execute one of the following commands:
- In versions prior to Plesk 10.x, it is possible to display the password on screen as follows:
cat /etc/psa/.psa.shadow
- In versions after Plesk 10.x, the password is encrypted, and it cannot be viewed with the file /etc/psa/.psa.shadow. To view it, you must run the command:
/usr/local/psa/bin/admin --show-password
- In versions prior to Plesk 10.x, it is possible to display the password on screen as follows: