Skip to content

Est. 2011ยทMicrosoft Partner 7033487ยทDelivery under 3 minยทSupport 7 days a week

Your vault is empty.

Free Fix 1618

Error 1618 and a half finished Exchange CU: setup will not start again

10 min read Updated October 4, 2026 Exchange Server

Fix it now

Microsoft publishes 1618 as ERROR_INSTALL_ALREADY_RUNNING, another installation is already in progress. After an update that failed partway that is often no longer true: nothing is running, but installer state from the previous attempt is still in place. Reboot first; it clears this in most cases.

Run these before and after the retry, in the Exchange Management Shell

Get-Command ExSetup.exe | ForEach-Object {$_.FileVersionInfo}
Test-ServiceHealth
  1. Reboot the server. It costs far less than anything else on this list and clears most stuck installer state.
  2. If setup still refuses, check whether something genuinely is installing: look for running installer processes and confirm Windows Update is not mid-installation.
  3. Read the end of C:\ExchangeSetupLogs\ExchangeSetup.log. If it says a previous run failed while performing an action and must be resumed, that is an instruction rather than an error.
  4. Rerun setup in upgrade mode from an elevated Command Prompt with the same media and build as the interrupted run: Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /Mode:Upgrade
  5. Let it finish and reboot afterwards, as Microsoft requires for any Exchange update.

Do not uninstall Exchange to escape this. Microsoft states that uninstalling a newer build removes Exchange from the server completely rather than reverting it.

If setup runs past the point it previously stopped and the log records completion, you are done. If it fails again at the same task, that task is the problem, not the installer state.

Why it happens

Windows Installer serialises installations across a machine, and it does so with a named mutex. Microsoft documents the behaviour precisely: an attempt to call the installer’s API returns ERROR_INSTALL_ALREADY_RUNNING, 1618, while the _MSIExecute mutex is set, and also while the current process is processing the InstallUISequence or AdminUISequence table. The mutex itself is held only while an execute sequence is running. That is why a reboot resolves it: the process that held it is gone, and the mutex with it.

0x80070652 is the same condition expressed as an HRESULT, because 0x8007 is the HRESULT wrapper for a Win32 error and 0x652 is 1618. There is no second, subtler failure hiding behind the hexadecimal form.

Exchange keeps its own state as well, recorded per installed role. It notes which action is in progress and how far the task sequence got, and that state is what allows setup to resume rather than start again. The message about setup previously failing while performing an action belongs to that second mechanism. Microsoft publishes no page describing it, but its function is clear from context: it names the action that was interrupted and asks you to run setup again so it can carry on. Reading it as a fatal error is how people end up considering a reinstall they do not need.

Another installation genuinely is in progress

You have this one if Installer processes are running, or Windows Update is applying something in the background.

  1. Wait for it to finish rather than killing it. An installer transaction terminated halfway leaves precisely the state this article is about.
  2. Once it completes, reboot and start the Exchange update again on a quiet machine.
  3. Schedule Exchange updates in a window where nothing else patches the server. Competing update agents are a routine cause of failed updates.

The installer lock outlived the process that took it

You have this one if Nothing is installing, no installer process is running, and 1618 persists.

  1. Reboot. Microsoft’s documented behaviour is that 1618 is returned while the mutex is set; ending the process that holds it clears the condition, and a reboot is the reliable way to do that.
  2. If a reboot is genuinely impossible, restart the Windows Installer service and retry.
  3. Confirm the Windows temp directory has free space and that the account running setup can write to it.

Exchange setup is waiting to be resumed

You have this one if The setup log ends by saying a previous run failed while performing an action and must be resumed.

  1. Rerun setup in upgrade mode from an elevated Command Prompt, using the same media and the same build as the interrupted run.
  2. Use the console rather than a remote session that can drop, and let it run to completion.
  3. Read the log afterwards and confirm it records a successful completion rather than another rollback.

Running a different build than the interrupted one is the fastest way to make this much worse. Match the media to the run you are resuming.

Setup resumes and fails at the same point every time

You have this one if The resume runs, stops at the same task immediately, and the log gives no new information.

  1. Stop treating this as installer state. The task named in the log is the problem, and its exception is what to investigate.
  2. Check the ordinary blockers first: pending reboot, disk space, third-party transport agents, prerequisites below the level the build needs, and directory access.
  3. If you do need to touch the Exchange server registry key, export it to a file you can restore before changing anything, and change nothing outside the role that is stuck.

Editing setup state is a last resort behind resuming, not an alternative to it. Microsoft publishes no procedure for it, so treat any recipe you find with corresponding caution and take the export first.

Full reference

The two codes, and what Microsoft says

Code Published meaning
1618 ERROR_INSTALL_ALREADY_RUNNING: another installation is already in progress. Complete that installation before proceeding with this install
0x80070652 The same value as an HRESULT: 0x8007 is the Win32 wrapper and 0x652 is 1618
1638 ERROR_PRODUCT_VERSION: another version of this product is already installed. A different failure that is easy to confuse with this one
1601 ERROR_INSTALL_SERVICE_FAILURE: the Windows Installer service could not be accessed

Knowing that 1638 exists is worth something here, because an update refusing to start because a different version is present looks similar from the outside and is fixed differently.

When the mutex is held

Microsoft’s description of the _MSIExecute mutex is narrow and useful: it is set only while the InstallExecuteSequence, AdminExecuteSequence or AdvtExecuteSequence table is being processed. Two installations cannot run in the same process, so an API call returns 1618 while the mutex is set and also while the current process is processing the InstallUISequence or AdminUISequence table. In practice that means the condition belongs to a live process, and killing the machine’s installer state by rebooting is a legitimate first move rather than a superstition.

Before changing anything under the Exchange server registry key, export it to a file you can restore. Microsoft publishes no supported procedure for clearing Exchange setup state, so this is unverified territory: take the export, change only what relates to the role that is stuck, and expect the rerun to take as long as a fresh install of that role.

The command line to resume with

Elevated Command Prompt, same media as the interrupted run

<drive>:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /Mode:Upgrade

Use _DiagnosticDataOFF instead if you do not want diagnostic data sent. Microsoft states the older /IAcceptExchangeServerLicenseTerms switch stopped working with the September 2021 cumulative updates, so a script that still carries it will fail before it does anything useful. On Exchange Server Subscription Edition the package you are resuming will be a Security Update or a Hotfix Update rather than a cumulative update; launch it elevated in the same way.

Why uninstalling is never the shorter route

  • Microsoft states that after you upgrade to a newer build you cannot uninstall it to revert: uninstalling completely removes Exchange from the server.
  • Removing a server also removes its configuration from Active Directory, so what follows is a recovery installation against a configuration that is no longer there.
  • The supported route for a server that genuinely cannot be recovered is to rebuild the machine and run setup in recovery mode, which reads its configuration back out of the directory.
  • That is a serious operation with its own planning, not a first response to an installer that will not start.

Stopping it happening again

  • Patch Exchange in a window where nothing else patches the server, and pause management agents that update themselves.
  • Run from the console, or from a session that survives a disconnect.
  • Reboot before and after, as Microsoft asks.
  • Keep the media that matches the build until the update has completed and been verified.

Every code this article covers

Code What it points at Source
1618 ERROR_INSTALL_ALREADY_RUNNING: another installation is already in progress. Returned while the _MSIExecute mutex is set, or while the current process is processing an install or admin UI sequence Microsoft Learn
0x80070652 The same condition expressed as an HRESULT: 0x8007 wraps a Win32 error and 0x652 is 1618 Microsoft Learn
Setup previously failed while performing the action install No Microsoft page publishes this message. It is a resume prompt from Exchange setup naming the action that was interrupted; rerun setup in upgrade mode with the same media rather than treating it as fatal not published by the vendor
Event ID 1042 No description is published by Microsoft. Do not treat its presence or absence as proof of anything about the previous installer run; the setup log is the record that matters not published by the vendor

Confirm the fix worked

  1. Setup starts and runs past the point it previously stopped.
  2. The end of C:\ExchangeSetupLogs\ExchangeSetup.log records completion rather than a rollback.
  3. Get-Command ExSetup.exe | ForEach-Object {$_.FileVersionInfo} reports the build you intended.
  4. Test-ServiceHealth reports every required service running, and mail flows.

Questions people ask about this

Does this cost anything to fix?

No. Every step here uses tools already on the server, and the update itself is covered by your existing licensing. Nothing about a stuck installer is a licensing condition.

Why does a reboot fix 1618 so often?

Because Microsoft documents the error as being returned while the _MSIExecute mutex is set, or while a process is running an install UI sequence. Both belong to a live process, and a reboot ends it.

Can I just uninstall and reinstall Exchange?

No. Microsoft states that uninstalling a newer build removes Exchange from the server rather than reverting it, and removing a server takes its configuration out of Active Directory. It converts a stuck update into a rebuild.

Is it safe to clear the setup state in the registry?

Microsoft publishes no supported procedure for it, so treat it as a last resort behind resuming setup. If you do it, export the key first, touch only the role that is stuck, and expect the rerun to take as long as a fresh install of that role.

Why did the first attempt fail at all?

Something interrupted it: a dropped remote session, a pending reboot, a competing installer, a full disk, or a task that genuinely failed. Find that in the setup log before you resume, or you will resume straight into it again.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

License Error Event ID 2601: Exchange cannot contact a domain controller or global catalog License Error 552 5.2.2 mailbox full: recipient quota and hourly receive limits in Exchange License Error MapiExceptionTooManyMountedDatabases: Standard Edition hits its database cap Free Fix 0x80090327 and 0x800B0109: Exchange TLS fails on certificate validation
โ† Back to Knowledge Base