Forrest logo
back to the msiexec tool

msiexec:tldr:963b7

msiexec: Uninstall a program or patch using their respective MSI or MSP file.
$ msiexec /uninstall ${path\to\file}
try on your machine

The command "msiexec /uninstall ${path\to\file}" is used to uninstall an MSI (Microsoft Installer) package using the Windows Installer service.

Here is the breakdown of the command:

  • "msiexec" is the executable file for the Windows Installer service. It is responsible for installing, uninstalling, and managing MSI packages.
  • "/uninstall" is a command-line option instructing msiexec to perform an uninstallation rather than an installation.
  • "${path\to\file}" is a placeholder for the actual file path of the MSI package you want to uninstall. You need to replace it with the specific path to the MSI file on your system.

To use this command, you should open a command prompt or PowerShell window and execute it by replacing "${path\to\file}" with the correct file path. The Windows Installer service will then start the uninstallation process for the specified MSI package.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the msiexec tool