Symptoms
Subdomain creation on a Plesk for Windows server fails:
Error: filemng failed: Unable to logon user (serverjohndoe): (1326) The user name or password is incorrect.
at LogonUser(serverjohndoe)(CClientProfile::logon line 126)
at Plesk impersonation(PipeServer::ServerThread::impersonateWithoutProfile line 754)
at execute "C:Program Files (x86)Pleskadminbinfilemng" example --ex-create-directory "--path=C:Inetpubvhostsexample.comold.example.com"(RunTime::RunAsUser::run line 223)
(Error code 1)The following error might be shown on attempts to open a website in a browser:
aspnetcfg failed: The user name or password is incorrect. (Error code 1326) at Unable to logon user
Different domain menus (e.g. ASP.NET Settings) cannot be opened:
GraphQL Error
external errorIn
%plesk_dir%adminlogsphp_error.log, the following error is found:aspnetcfg failed: Data error (cyclic redundancy check). (Error code 23) at BCryptDecrypt()
Cause
The system users accounts' credentials in the OS are out of sync with those in the Plesk database.
Resolution
Connect to the server using RDP.
Start the Command Prompt with the administrative privileges.
Execute the following command to synchronize system users with the information in the Plesk database:
"%plesk_cli%repair.exe" --synchronize-impersonation-storage
Execute this command to repair system user accounts on all subscriptions:
"%plesk_cli%repair" --repair-all-webspaces-system-users