Articles in this section

How to identify and replace missing or corrupted system files on Plesk for Windows?

Plesk for Windows kb: how-to

Question

Some vital Plesk files on Windows are missing or corrupted. How do I replace them?

Answer

All Plesk system files are extracted from msi packages downloaded from our Windows repository page:

https://autoinstall-win.plesk.com/ 

To run an automated check and find which files are missing, and which package they belong to, run the following command in CMD:

C:\> plesk repair fs -plesk-files-consistency

Checking Plesk files consistency (it may take several minutes)

ERROR: There are missing files in plesk-backend-msi-package.list

C:\Program Files (x86)\Plesk\admin\bin\impwebmail.dll ............. [ERROR]

This example shows that C:\Program Files (x86)\Plesk\admin\bin\impwebmail.dll is missing and it can be extracted from package plesk-backend.msi. To replace the file from a package, follow these steps:

1. Download the package plesk-backend.msi from https://autoinstall-win.plesk.com/pool/release/PLESK-WIN_18.0.70_16953/dist-windows/ (use the appropriate Plesk version in the URL)

2. Run the following command in CMD to extract the package:

C:\> msiexec /a C:\<path_to_package>\plesk-backend.msi /qb TARGETDIR=C:\<your_target_directory>

Note: Package location and names may vary case by case.

How the command works

To keep track of every system file, there are multiple <package_name>.list files spread out between different folders in Plesk. The plesk repair fs -plesk-files-consistency command automatically goes through every .list file and checks for missing files.

You can also look through the .list files manually in case you need to know which particular file belongs to which package.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.