"Error 1719: The Windows Installer service could not be accessed" error message when you try to add or remove a program (315346)
The information in this article applies to:
- Microsoft Windows XP Professional
- Microsoft Windows XP Home Edition
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows Millennium Edition
- Microsoft Windows 98 Second Edition
- Microsoft Windows XP Professional x64 Edition
This article was previously published under Q315346 Important This article contains information about how to modify the
registry. Make sure to back up the registry before you modify it. Make sure
that you know how to restore the registry if a problem occurs. For more
information about how to back up, restore, and modify the registry, click the
following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry SYMPTOMS When you try to add or remove a program, you may receive
the following error message: Error 1719. The Windows
Installer Service could not be accessed. You may be running in safe mode or
Windows Installer may not be correctly installed. CAUSE This behavior may occur if the following conditions are
true:
- The Windows Installer files that are on your hard disk are
damaged or are missing.
- You install or remove a program that uses the Windows
Installer Microsoft Software Installation (MSI) package file (.msi). For
example, this may occur when you try to install Microsoft Office on your
computer.
RESOLUTION To resolve this behavior, use the following methods. Method 1: Re-register the Windows Installer To re-register the Windows Installer, verify the location of the
Msiexec.exe file on your hard disk and in the Windows Registry, and then
re-register the Windows Installer. To do so: Warning Serious problems might occur if you modify the registry
incorrectly by using Registry Editor or by using another method. These problems
might require that you reinstall your operating system. Microsoft cannot
guarantee that these problems can be solved. Modify the registry at your own
risk. Note Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps.
- Verify the location of the Msiexec.exe file on your hard
disk. To do so:
- Click Start, and then click
Search.
- Click All files and
folders.
- In the File name box, type
msiexec.exe, and then click
Search.
- In the search results, make a note of the location of
the Msiexec.exe file.
The location of the Msiexec.exe file should be
similar to the following example, where Drive is the
drive where Windows is installed, and %Windir% is the folder where Windows is
installed:An example of this is C:\Windows\System32.
Note In Microsoft Windows 98-based computers, the Msiexec.exe file is
located in the
Drive:\%Windir%\System
folder. - On the File menu, click
Close.
- Verify the location of the Msiexec.exe file in the Windows
Registry. To do so:
- Click Start, and then click
Run.
- In the Open box, type
regedit, and then click OK.
- Locate, and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer - In the right pane, double-click
ImagePath.
- In the Edit String dialog box, make
sure that the string in the Value data box contains the
correct path of the Msiexec.exe file on your hard disk that you determined
earlier in step 1.
For example, if the Msiexec.exe file is located in
the Drive:\Windows\System32 folder on your hard
disk, the correct path of the Msiexec.exe file in the Value
data box is the following path, where Drive
is the drive where Windows is installed: Drive:\Windows\System32\Msiexec.exe /V Note If you are using Windows 98, the correct path of the
Msiexec.exe file is
Drive:\Windows\System\Msiexec.exe /V.
If
the Value data box does not contain the correct path, make the
appropriate changes to correct the path, and then click
OK. - Quit Registry Editor.
- Start your computer in safe mode, and then register the
Msiexec.exe file. To do so:
- Shut down, and then restart your computer.
- Press F8 after you receive the following message:
Please select the operating system to
start
- On the Windows Advanced Option menu,
use the arrow keys to select Safe Mode, and then press
ENTER.
- If you use a dual-boot or multiple-boot computer,
select the appropriate operating system from the list that is displayed, and
then press ENTER.
- Log on to the computer.
- Click Start,, click
Run, type the following line, and then click
OK:
Note For 64-bit operating systems, you also need to reregister the
64-bit MSI installer. To do this, click Start, click
Run, type the following line, and then click
OK:
Drive:\Windows\Syswow64\Msiexec
/regserver
- Shut down, and then restart your computer in standard
mode.
If the issue persists and you still receive the error message
that is described earlier in the "Symptoms" section, follow the steps in Method
2. Method 2: Reinstall the Windows InstallerTo reinstall the Windows Installer, rename the damaged Windows
Installer files, and then reinstall the Windows Installer. To do so:
- Click Start, and then click
Run.
- In the Open box, type
cmd, and then click OK.
- At the command prompt, type the following line, and then
press ENTER, where Drive is the drive where Windows
is installed and where %Windir% is the folder where
Windows is installed:
attrib -r -s -h drive:\%Windir%\system32\dllcache For example, type attrib -r -s -h c:\windows\system32\dllcache Note If you are using Windows 98, type system
instead of system32. - At the command prompt, type the following lines, pressing
ENTER after each line:
ren msi.dll msi.old
ren msiexec.exe msiexec.old
ren msihnd.dll msihnd.old
- At the command prompt, type exit,
and then press ENTER.
- Restart your computer.
- Update the Windows Installer files on your hard disk to the
latest version. Windows Installer 2.0 is available for download from the
Microsoft Download Center.
- For Windows Millennium Edition, Windows 98 Second
Edition (SE), and Windows 98:
- For Windows 2000 and Windows NT 4.0:
- For Windows XP: For
more information, click the following article number to view the article in the
Microsoft Knowledge Base:
893803
Windows Installer 3.1 v2 (3.1.4000.2435) is available
For
more information about how to download Microsoft support files, click the
following article number to view the article in the Microsoft Knowledge Base: 119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help prevent
any unauthorized changes to the file.
- Shut down your computer, and then restart it in standard
mode.
Modification Type: | Major | Last Reviewed: | 10/16/2006 |
---|
Keywords: | kberrmsg kbprb KB315346 |
---|
|