Article ID: 124788, created on Mar 10, 2015, last review on Aug 30, 2015

  • Applies to:
  • Plesk 12.0 for Windows
  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows
  • Plesk 10.4 for Windows


The following error appears when reconfiguring the domain:

websrvmng.exe --reconfigure-vhost
The user name could not be found. (Error code 2221) at NetUserSetInfo()

Domain is assigned to dedicated application pool.


Incorrect application pool identity for the domain is set.


Correct the application pool identity based on the permission assigned to the domain directories:

  1. Find application pool assigned to domain

    %systemroot%\system32\inetsrv\appcmd list apppool | findstr
    APPPOOL "" (MgdVersion:v2.0,MgdMode:Integrated,state:Started)
  2. Specify the account identity for an application pool to use:

    appcmd set config /section:applicationPools /[name=''].processModel.identityType:LocalService

In case if domain has dedicated application pool assigned, perform steps 1 and 2 from above and then:

  1. Determine the name of web user which owns the domain

    cd %plesk_vhosts%
    icacls | findstr IUSR
  2. Change the password for the system user:

    net user IUSR_domain_user <new_password>
  3. Configure an application pool '' to use a custom identity with a user name of 'IUSR_domain_user' and a password '', type the following at the command prompt, and then press ENTER:

    appcmd set config /section:applicationPools /[name='IUSR_domain_user'].processModel.identityType:SpecificUser /[name='IUSR_domain_user'].processModel.userName: IUSR_domain_user /[name='IUSR_domain_user'].processModel.password: <new_password>
  4. Rerun domain reconfiguration:

    websrvmng.exe --reconfigure-vhost

Search Words

(1332) No mapping between account names and security IDs was done.

user name could not be found

The account already exists. (Error code 2224) at NetUserSetInfo

pmm status transfer is zero

85a92ca67f2200d36506862eaa6ed6b8 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 514af229ae32522202a910a2649c80fb bd7fc88cf1b01f097749ae6f87272128 46a8e394d6fa13134808921036a34da8 ff5a00b8ead2e480367b019417a04207 c796c01d6951fa24ed54c7f1111667c6 ed7be2b984f9c27de1d2dc349dc19c6d a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF