Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home

Uninstall an M-Files version which cannot be uninstalled from command prompt

Last updated on 16 December 2021

Overview

Typically, installing a new M-Files version removes the old one and there should always be only one M-Files version installed.

In some rare cases, old versions remain installed/active and uninstalling them conventionally or How to uninstall M-Files through command prompt does not help.

Solution

Here are a few things to try in such a case:

  1. Make sure to run the Command Prompt as an Administrator, and then execute the command linked above. If the user running the prompt does not have administrative privileges, the output of the command may not even differ, but it may not be able to complete.
  2. Get the .msi installer of the old version and run it. There should be a "Remove" option in the wizard, choose that.
    • Use the exact .msi package that was installed - for example, on a user machine that has only the M-Files client installed, but not the server or Admin tool, run the M-Files_Online_<bitness>_<lang>_client_<version>.msi. If the problematic version to uninstall is " 21.8.10524.6 " for a 64bit system that was localized in French, the file needed is M-Files_Online_x64_eng_client_21_8_10524_6.msi.
      • Windows might have stored the installation package, so it may be possible to be used locally. In an elevated command prompt (run "cmd" as administrator), run the following command and find the LocalPackage or PackageCache for the M-Files version to be uninstalled: 
        wmic product where "name like '%%M-Files%%'" > c:\mfversions.txt
      • The PackageName column in the command above can also be used as guidance what was installed and what msi is needed
      • If customized installation packages are used, those should be used here
      • If M-Files 2018 is used, the package name must not contain "Online" which is the designation for M-Files Online.
  3. The following tool from Microsoft could be tried to remove such programs that cannot be uninstalled with traditional means: https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

For assistance with any of the points above, please contact support (support@m-files.com).

Still need help?

On this page