Question
How to recreate system users for Plesk for Windows?
Answer
Note: It is recommended to use steps provided in How to restore Plesk installation on a new Windows server after disaster
For Plesk Onyx 17.8 and newer
-
Connect to the server via RDP
-
Restore Plesk Administrator and service accounts:
C:> plesk sbin usermng --install-plesk-admin
plesk sbin usermng --install-psaadm
plesk sbin usermng --install-service-accounts -
Restore Plesk user groups:
C:> plesk sbin usermng --install-panel-users-group
-
Restore system users for all subscriptions:
C:> plesk bin repair --repair-all-webspaces-system-users
-
Sync passwords with the system users:
C:> plesk bin repair --synchronize-impersonation-storage
-
Create File Sharing users:
C:> plesk sbin websrvmng --create-fs-users
-
Restore anonymous accounts:
C:> plesk sbin websrvmng --configure-anonymous-access
-
Reconfigure Plesk IIS sites:
C:> plesk sbin websrvmng --configure-plesk-website
-
Repair IIS bindings:
C:> plesk repair --web -y
-
Sync Application Pools passwords
C:> plesk sbin websrvmng --update-accounts-password
-
Repair site preview:
C:> plesk bin repair --reconfigure-site-preview
-
Repair FTP sites:
C:> plesk bin repair --reconfigure-ftp-sites
-
Fix Windows Registry permissions
C:> plesk sbin ApplySecurity --apply-to-plesk-registry
plesk sbin ApplySecurity --apply -
Restart Plesk services:
C:> plesk sbin plesksrv -restart
-
Recreate MailEnable users IME_ADMIN and IME_USER:
-
Start the MailEnable Installer:
C:> "%plesk_dir%Mail ServersMail EnableBinMEInstaller.exe"
OR
C:> "C:Program Files (x86)Mail EnableBinMEInstaller.exe"
-
Select the second entry (Web application reconfigure)
-
Enter the new password for system users and click on Ok
-
Select (MailEnable WebMail) MailEnable Webmail IIS binding for webmail and click Next
-
Uncheck Configure web admin as an IIS Virtual Directory and click on Next
-