Applicable to:
- Plesk for Windows
Question
The password for the Plesk "admin" user is lost.
How to retrieve or reset it?
Answer
Note: in case logging in for the first time, use Build-in Windows Administrator credentials (the same that used for accessing the server via RDP).
Retrieving the password
Starting from Plesk Onyx 17.8, it is not possible to get admin password in Plain text. However, it is possible to generate one time login link to get into Plesk with the following command after logging into the server using RDP:
C:\> plesk login
Resetting the password
-
Connect to a Plesk server using RDP.
-
Start a command prompt as an Administrator and run the command:
C:\> plesk bin admin --set-admin-password -passwd "your_new_password"
where your_new_password - desired password for Plesk "admin" account.
Retrieving the password
-
Connect to a Plesk server using RDP.
-
Start a command prompt as an Administrator and run the command below. The password will be copied to clipboard.
C:\> "%plesk_bin%\plesksrvclient" -get
Resetting the password
-
Connect to a Plesk server using RDP.
-
Start a command prompt as an Administrator and run the command:
C:\> plesk bin admin --set-admin-password -passwd "your_new_password"
where your_new_password - desired password for Plesk "admin" account.
Note: in case it is not configured otherwise, it is possible to log into Plesk with Administrator username using password for RDP.
Comments
4 comments
Looks great, but the command plesk is not recognized by the OS after using your windows server installer. Server 2019 with Plesk Onyx (and lost admin password).
Hello @Nathan Corbett,
This error:
can occur when you start the command prompt under a non-administrator account
So, run it under administrator and try to reset the password once more time
Also, keep in mind that Windows Server 2019 is not supported by Plesk Onyx 17.8
Windows Server 2019 will be supported by the upcoming major Plesk release - Plesk Obsidian
Hello,
i have the newest Plesk Release and lost my password
i have this problem:
C:\Users\Administrator>plesk login
Das System kann die angegebene Datei nicht finden. (Error code 2) at Unable to connect to pipe \\.\pipe\P_c5671733-6aa3-408b-b24c-c7fa789df376
at (Con::ClientOverlappedPipe::create line 518)
at get shared instance of PleskSrvClient(PleskSrvClient::getInstance line 364)
at Unable to execute CU(wmain line 85)exit status 1
Hello Andre Engel
Please, check the size of %plesk_dir%admin\bin\PocoNetSSL.dll.
In case it doesn't exist or has a zero size, prepare a test installation of Plesk and copy this file to the affected server.
In case this won't help, submit a request for support.
Please sign in to leave a comment.