"%plesk_bin%" is the path below in-case you don't have it registered in system paths

C:\Program Files (x86)\Parallels\Plesk\admin\bin

 

websrvmng.exe reconfigure domain

cmd:

"%plesk_bin%"\websrvmng.exe --remove-vhost --vhost-name=testdomain.com

"%plesk_bin%"\websrvmng.exe --reconfigure-vhost --vhost-name=testdomain.com

"%plesk_bin%"\websrvmng.exe --reconfigure-vhost --reconfigure-all





Re-configure the FTP configuration using the Plesk command line tool ftpmng.exe as follows:


"%plesk_bin%"\ftpmng.exe --remove-vhost --vhost-name=yourdomain.com
"%plesk_bin%"\ftpmng.exe --reconfigure-vhost --vhost-name=yourdomain.com


c. If this issue happens to every domain, you can repair the FTP configuration for all domains using the following commands:
"%plesk_bin%"\ftpmng.exe --remove-all
"%plesk_bin%"\ftpmng.exe --reconfigure-all