sodcalculator

10 Tech How-To

Fix Windows Installer Service Could Not Be Accessed

Guide 10-30657 · Updated · Step by step

The Windows Installer service error “Windows Installer service could not be accessed” usually appears when you try to install or uninstall a program, and it means the Windows Installer (msiserver) service is disabled, corrupted, or not running. You can fix it by checking the service status, re-registering the installer, or repairing the Windows Installer component.

What Causes the Error

Windows Installer is a built-in service that manages the installation, modification, and removal of software using .msi and .msp files. When the service is unavailable, Windows cannot complete any installation task. The error can be triggered by several conditions:

  • The Windows Installer service is set to “Disabled” in the Services console.
  • The service is stopped and fails to start due to corrupted system files.
  • Registry entries for the Windows Installer are damaged or missing.
  • A third-party security tool or a recent system update changed service permissions.
  • The service account or its dependencies (like Remote Procedure Call, RPC) are not functioning properly.

How to Check the Service Status

The first step is to see if the Windows Installer service is present and what its startup type is. Open the Services console by pressing Win + R, typing services.msc, and pressing Enter. Scroll to “Windows Installer” and double-click it. The “Startup type” should be Manual (the default) and the service status should be Running or at least able to start. If it is set to “Disabled,” change it to “Manual”, click “Apply”, then click “Start”. If the service is already Manual but won’t start, you may see a specific error code that points to deeper issues.

How to Fix the Error Step by Step

Try these fixes in order, testing the installation after each one.

  1. Set the service to Manual and start it – As described above, ensure the startup type is Manual and then start the service. If it starts, the error is resolved.
  2. Re-register the Windows Installer – Open Command Prompt as Administrator. Run msiexec /unregister then msiexec /register. This resets the COM registration of the installer.
  3. Run the System File Checker – In the same command prompt, run sfc /scannow. This checks for corrupted system files and repairs them. It may take several minutes.
  4. Check the RPC service – Windows Installer depends on the Remote Procedure Call (RPC) service. Make sure “Remote Procedure Call (RPC)” is set to Automatic and is running.
  5. Use the Microsoft Program Install and Uninstall troubleshooter – Download the official troubleshooter from Microsoft’s website. It automates many of the above steps and can fix registry issues.
  6. Repair the Windows Installer via DISM – If SFC doesn’t help, run DISM /Online /Cleanup-Image /RestoreHealth in the admin command prompt, then run SFC again.

If none of these work, you may need to perform a system restore to a point before the error appeared, or use the “Reset this PC” option (keeping your files) as a last resort.

What to Do If the Service Is Missing

In rare cases, the Windows Installer service may not appear in the Services console at all. This usually indicates a corrupted system image or a serious registry problem. Try the following:

  • Run sfc /scannow and DISM as above.
  • Check the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver. If it exists, export it and compare with a known good copy (from another PC with the same Windows version). If it’s missing, you may need to restore from a backup.
  • Use System Restore to revert recent changes.

Common Misconception: Is It Safe to Enable the Service?

Some users worry that enabling Windows Installer could be a security risk. In fact, Windows Installer is a core Windows component, and leaving it disabled breaks many legitimate installations. The service runs only when needed, and it operates under the system account with limited privileges. Disabling it does not protect you from malware; it only prevents software from installing correctly. If you’re concerned about security, keep Windows Update enabled and use a reputable antivirus program.

When to Seek Further Help

If you’ve tried all the steps and the error persists, it may be due to a deeper system corruption or a hardware issue. At that point, consider:

  • Backing up your data and performing a clean installation of Windows.
  • Contacting Microsoft Support (or your device manufacturer) for personalized help.

Frequently Asked Questions

Why does the error appear only for certain programs?

Some installers (especially older ones) rely on a specific version of Windows Installer. If the service is partially corrupted, it might work for some .msi files but fail for others. Re-registering the service usually resolves this.

Can I fix this without admin rights?

No. Changing service settings and re-registering components requires administrative privileges. If you’re on a work or school computer, contact your IT administrator.

Will this error affect my existing programs?

No. The error only affects new installations or uninstallations. Programs already installed will continue to run normally. However, you won’t be able to update or remove them until the service is fixed.

Is there a way to prevent this error from happening again?

Keep Windows updated, avoid using “optimizer” tools that disable services, and always run installer files from trusted sources. Regularly check that the Windows Installer service is set to Manual (not Disabled).

What if the service starts but the error still appears?

This can happen if the service is running but the COM registration is broken. Re-running msiexec /unregister and msiexec /register often fixes it. If not, run the System File Checker and DISM tools.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →