Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"The Windows Installer Service Could Not Be Accessed" error when you try to install a program in Windows 7 or Windows Vista


View products that this article applies to.

Symptoms

When you try to install a program in Windows 7 or Windows Vista, you receive the following error message:
"The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance."

↑ Back to the top


Resolution

To resolve this issue, use Method 1. If Method 1 does not resolve the issue, use the next method that is listed until you resolve the issue.
Method 1: Reset the Windows Installer Service settings in the registry
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756 How to back up and restore the registry in Windows

To reset the Windows Installer Service settings in the registry, create a registry file by using Notepad. Then, run the file to update the registry key. 

To do this, follow these steps:

 
  1. Click Start, and then type Notepad in the Search box.
  2. Under the Programs heading, click Notepad.exe.
  3. Copy the following text, and then paste it into a notepad: 
     
    Windows Registry Editor Version 5.00
     
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver]
    "DisplayName"="@%SystemRoot%\\system32\\msimsg.dll,-27"
    "ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
      74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\
      00,73,00,69,00,65,00,78,00,65,00,63,00,20,00,2f,00,56,00,00,00
    "Description"="@%SystemRoot%\\system32\\msimsg.dll,-32"
    "ObjectName"="LocalSystem"
    "ErrorControl"=dword:00000001
    "Start"=dword:00000003
    "Type"=dword:00000010
    "DependOnService"=hex(7):72,00,70,00,63,00,73,00,73,00,00,00,00,00
    "ServiceSidType"=dword:00000001
    "RequiredPrivileges"=hex(7):53,00,65,00,54,00,63,00,62,00,50,00,72,00,69,00,76,\
      00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,\
      74,00,65,00,50,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,00,50,00,72,00,69,\
      00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,00,6f,00,63,00,\
      6b,00,4d,00,65,00,6d,00,6f,00,72,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,\
      00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,\
      73,00,65,00,42,00,61,00,73,00,65,00,50,00,72,00,69,00,6f,00,72,00,69,00,74,\
      00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,\
      65,00,43,00,72,00,65,00,61,00,74,00,65,00,50,00,65,00,72,00,6d,00,61,00,6e,\
      00,65,00,6e,00,74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\
      00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,69,\
      00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,72,00,\
      69,00,74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,\
      00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,\
      66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,\
      00,65,00,50,00,72,00,6f,00,66,00,69,00,6c,00,65,00,53,00,69,00,6e,00,67,00,\
      6c,00,65,00,50,00,72,00,6f,00,63,00,65,00,73,00,73,00,50,00,72,00,69,00,76,\
      00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,\
      72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,\
      00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,\
      47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,\
      00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,6e,00,50,00,\
      72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,00,50,00,72,\
      00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,52,00,65,00,\
      73,00,74,00,6f,00,72,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,\
      00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,73,00,65,00,\
      51,00,75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,\
      00,65,00,00,00,53,00,65,00,53,00,68,00,75,00,74,00,64,00,6f,00,77,00,6e,00,\
      50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,\
      00,61,00,6b,00,65,00,4f,00,77,00,6e,00,65,00,72,00,73,00,68,00,69,00,70,00,\
      50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,\
      00,6f,00,61,00,64,00,44,00,72,00,69,00,76,00,65,00,72,00,50,00,72,00,69,00,\
      76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
    "FailureActions"=hex:84,03,00,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
      00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00
     
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver\Enum]
    "0"="Root\\LEGACY_MSISERVER\\0000"
    "Count"=dword:00000001
    "NextInstance"=dword:00000001
  4. Click File, click Save As, and then name the file Msirepair.reg.
  5. In the Save as type box, click All Files (*.*).
  6. In the Save in box, click Desktop, and then click Save.
  7. On the File menu, click Exit to close notepad.
  8. On the Desktop, right-click Msirepair.reg, and then click Run as administrator. If you are prompted to enter an administrator password or provide confirmation, type the password, or click Continue.
  9. Click Yes when you are prompted to install the registry keys.
  10. Restart the installation process for the program that you want to install.
Method 2: Start the Windows Installer Service
To start the Windows Installer Service, follow these steps:
  1. Click Start, and then type CMD in the Search programs and files dialog box.
    Click Start, and then type CMD in the Search programs and files dialog box.
  2. Right-click cmd.exe, and then click Run as Administrator.
    Right-click cmd.exe, and then click Run as Administrator.
  3. Type net start MSIServer, and then press ENTER.
     
  4. Restart the installation process for the program that you want to install.
To check that the Windows Installer Service is running, follow these steps:
  1. Click Start, type services.msc in the Search box, and then click Services under the Programs heading.
  2. In the Services (Local) list, right-click Windows Installer, and then click Properties.
  3. In the Startup type drop-down list, check that the value is set to Manual.
  4. The Windows Installer Service is running if the Service status: entryis set to Running.
Method 3: Uninstall any earlier versions of the program that you want to install
If an earlier version of the program that you want to install is already installed on the computer, follow these steps: 
  1. Click Start, click Control Panel, and then click Uninstall a Program under Programs.
  2. Select the program in the list that you want to install.
  3. Click Uninstall (or Uninstall/Change in Windows Vista), and then follow the instructions or prompts to uninstall the application.
  4. Restart the computer.
  5. Restart the installation process for the program that you want to install.

This issue occurs when one or more of the following conditions are true:
 
  • You install or remove a program that uses the Microsoft Installer Service before you try to install the program on your computer.
  • The Windows Installer Service is not running.
  • The Windows Installer registry settings are corrupted or configured incorrectly.
For more information about this issue in Windows XP and Windows Server 2003, click the following number to view the article in the Microsoft Knowledge Base:
 
315346 Error message when you try to add or remove a program on a computer that is running Windows XP or Windows Server 2003: "The Windows Installer service could not be accessed"

 

↑ Back to the top


Keywords: kb, consumerwin7track, consumertargetwinfy12, kbcip

↑ Back to the top

Article Info
Article ID : 2642495
Revision : 5
Created on : 5/11/2017
Published on : 5/15/2017
Exists online : False
Views : 201