mchk.exe utility fails: Unable to restore password policy

Created:

2016-11-16 12:57:40 UTC

Modified:

2017-04-24 12:06:13 UTC

0

Was this article helpful?


Have more questions?

Submit a request

mchk.exe utility fails: Unable to restore password policy

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

Unable to run ' mchk ' utility, the following error occurs:

mchk.exe --domain --domain-name=domain.tld --fix=local
SOAP failed. Failed in parsing response
at (SmarterMail::checkResult line 176)
at Unable to restore password policy(mailmng::PasswordPolicyDisabler::~PasswordPolicyDisabler line 19)
SOAP failed. Failed in parsing response
at (SmarterMail::checkResult line 176)
at execute console command --domain(vconsoleapp::start line 100)

Cause

This is a software issue with internal id #PPP-17520 , which is planned to be fixed in one of the future Plesk updates.

Hotfix

  1. Create a backup of the "%plesk_bin%smartermailprovider.dll" file.

  2. Replace " %plesk_bin%\\smartermailprovider.dll " with its fixed version .

  3. Ensure that correct file permissions are set:

    icacls "%plesk_bin%\\smartermailprovider.dll"

    C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\smartermailprovider.dll
    NT AUTHORITY\\NETWORK SERVICE:(I)(N)
    SERVERNAME\\psaserv:(I)(N)
    SERVERNAME\\psaadm:(I)(RX)
    SERVERNAME\\psacln:(I)(RX)
    SERVERNAME\\PP_WPG:(I)(RX)
    NT AUTHORITY\\SYSTEM:(I)(F)
    BUILTIN\\Administrators:(I)(F)

    Successfully processed 1 files; Failed processing 0 files
Have more questions? Submit a request
Please sign in to leave a comment.