- Plesk 11.x for Windows
- Plesk 12.0 for Windows
utility fails with the following error:
C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin>mchk.exe
The supplied user buffer is not valid for the requested operation. (Error code 1784) at BCryptDecrypt()
Improperly encrypted password for mailbox.
Enable debug log using the # 112125 article article
Check Event Viewer and find a domain on which
Run the following command, replace
<domainNameFoundAtStep2>with the domain name found on the step 2:
"%plesk_bin%\\dbclient.exe" --direct-sql --sql="select * from accounts where id in (select account_id from mail where dom_id in (select id from domains where name like '%<domainNameFoundAtStep2>%'))"
Update password in Plesk (preferable) or use this command (if it is not possible to update the password via Plesk GUI) replacing the
<idFoundAt ThePreviousStep>with the account
idfound on the previous step:
"%plesk_bin%\\dbclient.exe" --direct-sql --sql="update accounts set password='***' where id = <idFoundAt ThePreviousStep>"