Anavem
Languagefr
ErrorMSI Installer

0x00000641

ERROR_INSTALL_SERVICE_FAILURE

Windows Installer service could not be accessed. Start the msiserver service.

Hex code

0x00000641

Decimal

1601

Severity

Error

Category

MSI Installer

Description

ERROR_INSTALL_SERVICE_FAILURE (hex code 0x00000641, decimal 1601) is a Windows error-level error code in the MSI Installer Errors family. Microsoft surfaces this code through the Win32 API, the Common Language Runtime, the kernel, the event log, PowerShell, command-line tools (sfc, dism, gpupdate, sc), and Windows-side applications such as Outlook, Teams, Office, and System Center.

Windows Installer service could not be accessed. Start the msiserver service.

This page documents what triggers 0x00000641, the most common scenarios where it appears, the likely root causes, and a step-by-step troubleshooting workflow you can run against affected endpoints. It is intended for system administrators, MSP technicians, helpdesk engineers, and anyone diagnosing Windows behavior in a managed environment.

In-depth explanation

This is an error-severity code. Windows uses it to signal a failed operation that prevented the caller from completing its work. The underlying cause can range from a permissions or quota issue to a corrupted system component, missing dependency, or unreachable service.

It is part of the Windows Installer error space. It surfaces in MSI logs (msiexec /l*v), App-V / Intune deployments, and the Application event log.

The code can be looked up programmatically in PowerShell with [ComponentModel.Win32Exception]::new(1601).Message (for Win32 / NTSTATUS codes that map cleanly), or with net helpmsg 1601 for the legacy decimal range. For HRESULT-style codes, decode the facility and code with err.exe from the SDK or via the WinDbg !error command.

Common causes

  • Windows Installer service (msiserver) stopped or disabled.
  • Concurrent installation already in progress — wait or kill msiexec.exe.
  • MSI package corrupted, partially downloaded, or signed with an untrusted certificate.
  • Insufficient permissions on %TEMP% or the install target directory.
  • Custom action failure — check the verbose log msiexec /i <pkg> /l*v %TEMP%\msi.log.

Troubleshooting steps

  1. Confirm the Windows Installer service is running: sc query msiserver — start it with sc start msiserver.
  2. Re-run the installer with verbose logging: msiexec /i <package.msi> /l*v %TEMP%\msi.log and inspect the log for the failing custom action.
  3. Make sure no other MSI is in progress (kill any running msiexec.exe) before retrying.
  4. Check the digital signature of the MSI — Windows blocks unsigned or untrusted packages under SmartScreen / WDAC.
  5. For App-V / Intune deployments, verify the package is targeted at the correct architecture (32 vs 64-bit) and the user has the required group membership.

Decode in PowerShell

# Decode 0x00000641 (1601) in PowerShell
[ComponentModel.Win32Exception]::new(1601).Message

# Or via WinDbg / err.exe (Windows SDK)
# err 0x00000641

# Or net helpmsg (legacy decimal range only)
# net helpmsg 1601

Frequently asked questions

What does the Windows error code 0x00000641 mean?
It is the Win32 / NTSTATUS code ERROR_INSTALL_SERVICE_FAILURE (decimal 1601). Windows Installer service could not be accessed. Start the msiserver service.
How do I decode 0x00000641 in PowerShell?
Run [ComponentModel.Win32Exception]::new(1601).Message in any PowerShell session. For HRESULT-style codes, use err.exe from the Windows SDK or the WinDbg !error command.
Where does Windows typically log this error?
It depends on the originating subsystem (Windows Update → %WinDir%\WindowsUpdate.log; AD/Kerberos → Security event log on the DC; BSOD → minidump under C:\Windows\Minidump; MSI → %TEMP%\msi*.log; WMI → Microsoft-Windows-WMI-Activity). Always cross-reference the timestamp and module name with the Application and System event logs.
Is this code recoverable?
Critical-severity codes usually require kernel-level investigation (driver, hardware, system file repair). Error and warning codes are typically recoverable through the troubleshooting workflow on this page — start with the elevated-shell + log review steps.
Should I open a Microsoft support case for this?
Open a case if the error reproduces after applying the troubleshooting steps, particularly if it blocks production workloads, occurs across multiple endpoints, or is associated with a security boundary (BitLocker recovery, Kerberos failure, DCOM hardening, SmartScreen / WDAC). Have a fresh CBS log, minidump, or Get-WinEvent export ready before opening the case.