Windows installer service error help

«Windows Installer Service could not be accessed» error message when installing application

This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.

Symptoms

After you upgrade to Windows Installer version 2.0, the Windows Installer Service may not start, and you may receive the following error message:

The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or the Windows Installer is not correctly installed. Contact your support personnel for assistance.

Note This behavior does not occur in the following products:

Microsoft Windows XP

Microsoft Windows Millennium Edition

Microsoft Windows 98

Cause

This behavior can occur when either of the following conditions exist:

In the DCOM permissions, the default authentication level is set to None, and the default Impersonation level is set to Anonymous.

The system account does not have Full permissions on a folder or registry key that the Windows Installer is trying to access. This is NTFS-specific.

Resolution

Depending on the issue, use one or all of the following methods:

Method 1: Unregister and re-register Windows Installer.

Method 2: Verify the DCOM permissions.

Method 3: Give Full Control permission to the SYSTEM account.

Method 4: Verify the registry permissions.

Method 5: Fix the broken security key for the MsiServer service.

Before you begin: Verify that the service pack is installed

If you are using Windows 2000, make sure that SP 2 is installed.
If you are using Windows NT 4.0, make sure that SP 6 is installed.

If you do not install the appropriate service packs, the steps in the «More Information» section of this article may not work as expected.

More Information

Method 1: Unregister and re-register the Windows Installer

Click Start, click Run, type MSIEXEC /UNREGISTER, and then click OK. Even if you do this correctly, it may look like nothing occurs.

Click Start, click Run, type MSIEXEC /REGSERVER, and then click OK. Even if you do this correctly, it may look like nothing occurs, or you may briefly see an hourglass. After you run this command, the operation is complete.

Try your Windows Installer-based application again.

Method 2: Verify the DCOM permissions

This method involves changing the DCOM default impersonation level to Identify, removing the Msisip.dll file, and then reinstalling SP 3 for Windows 2000.

To do this, follow these steps:

Click Start, click Run, type dcomcnfg, and then click OK.

On the Default Properties tab:

In the Default Authentication Level list, click Connect.

In the Default Impersonation Level list, click Identify, and then click OK.

Click Start, click Run, type explorer /select, %windir%\system32\msisip.dll, and then click OK.

Rename the Msisip.dll file as Msisip.old.

Reinstall Windows 2000 Service Pack 3.

Method 3: Give Full Control permission to the SYSTEM account

Start Windows Explorer, right-click the computer’s root hard drive, and then click Properties.

Click the Security tab, and then click Add.

In the Select Users, Computers, or Groups dialog box, click the SYSTEM account, click Add, and then click OK.

Under Allow, click to select the Full Control check box, and then click OK.

Click the TEMP folder and then verify that the SYSTEM account has full control.

Method 4: Verify the registry permissions

Click Start, click Run, then type Regedt32.

For each of the registry hives, follow these steps:

Select the hive.

For Windows XP, on the Edit menu, click Permissions.

For Windows 2000 and Windows NT 4, on the Security menu, click Permissions.

Verify that the SYSTEM account has been added and that it has Full control. If it does not, add the SYSTEM account with Full control.

Method 5: Fix the broken security key for the MsiServer service

Start the computer by using Windows 2000.

Click Start, click Run, type regedit.exe, and then rename the following key to Old_Security:

Restart the computer (you must do this).

Run Instmsiw.exe for installer 2.0 again; this corrects the broken security key for the MSI service.

For more information about an error message that you may receive when you add or remove a program, click the following article 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

Не удалось получить доступ к службе установщика Windows Installer — как исправить

При установке программ и компонентов Windows, распространяемых в виде установщика с расширением .MSI вы можете столкнуться с ошибкой «Не удалось получить доступ к службе установщика Windows Installer». С проблемой можно столкнуться в Windows 10, 8 и Windows 7.

В этой инструкции подробно о том, как исправить ошибку «Не удалось получить доступ к службе установщика Windows Installer» — представлено несколько способов, начиная с более простых и часто более эффективных и заканчивая более сложными.

Читайте также:  Как сделать загрузочную флешку linux через ultraiso

Примечание: прежде чем приступать к следующим шагам, рекомендую проверить, а есть ли на компьютере точки восстановления (панель управления — восстановление системы) и использовать их, если они в наличии. Также, если у вас отключены обновления Windows, включите их и выполните обновление системы, часто это решает проблему.

Проверка работы службы «Установщик Windows», её запуск при необходимости

Первое, что следует проверить — не отключена ли служба «Установщик Windows» по какой-либо причине.

Для этого выполните следующие простые шаги

  1. Нажмите клавиши Win+R на клавиатуре, введите services.msc в окно «Выполнить» и нажмите Enter.
  2. Откроется окно со списком служб, найдите в списке «Установщик Windows» и дважды нажмите по этой службе. Если служба отсутствует в списке, посмотрите, есть ли там Windows Installer (это одно и то же). Если же нет и её, то о решении — далее в инструкции.
  3. По умолчанию, тип запуска для службы должен быть установлен в положение «Вручную», а обычное состояние — «Остановлена» (она запускается только в процессе установки программ).
  4. Если у вас Windows 7 или 8 (8.1), а тип запуска для службы Установщик Windows установлен в «Отключено», измените на «Вручную» и примените настройки.
  5. Если у вас Windows 10 и тип запуска установлен «Отключена», вы можете столкнуться с тем, что изменить тип запуска в этом окне нельзя (такое может быть и в 8-ке). В этом случае выполните шаги 6-8.
  6. Запустите редактор реестра (Win+R, ввести regedit).
  7. Перейдите к разделу реестраи дважды нажмите по параметру Start в правой панели.
  8. Установите для него значение 3, нажмите Ок и перезагрузите компьютер.

Также, на всякий случай проверьте тип запуска службы «Удаленный вызов процедур RPC» (от него зависит работа службы установщика Windows) — он должен быть установлен в «Автоматически», а сама служба — работать. Также на работу могут влиять отключенные службы «Модуль запуска процессов DCOM-сервера» и «Сопоставитель конечных точек RPC».

В следующем разделе описывается, как вернуть службу «Установщик Windows», но, помимо этого, предложенные исправления также возвращают и параметры запуска службы по умолчанию, что может помочь в решении проблемы.

Если нет службы «Установщик Windows» или «Windows Installer» в services.msc

Иногда может оказаться, что службы «Установщик Windows» отсутствует в списке служб. В этом случае вы можете попробовать восстановить её, использовав reg-файл.

Скачать такие файлы вы можете со страниц (на странице вы найдете таблицу со списком служб, скачайте файл для Windows Installer, запустите его и подтвердите объединение с реестром, после выполнения слияния, перезагрузите компьютер):

Проверьте политики службы установщика Windows

Иногда твики системы и изменение политик установщика Windows могут привести к рассматриваемой ошибки.

Если у вас Windows 10, 8 или Windows 7 Профессиональная (или Корпоративная), вы можете проверить, не были ли изменены политики установщика Windows следующим образом:

  1. Нажмите клавиши Win+R и введите gpedit.msc
  2. Перейдите к разделу Конфигурация компьютера — Административные шаблоны — Компоненты — Установщик Windows.
  3. Убедитесь, что для всех политик установлено «Не задана». Если это не так, дважды нажмите по политике с заданным состоянием и установите его в «Не задано».
  4. Проверьте политики в аналогичном разделе, но в «Конфигурация пользователя».

Если на вашем компьютере установлена домашняя редакция Windows, путь будет следующим:

  1. Зайдите в редактор реестра (Win+R — regedit).
  2. Перейдите к разделуи проверьте, есть ли в нем подраздел с именем Installer. Если есть — удалите его (правый клик по «папке» Installer — удалить).
  3. Проверьте наличие аналогичного раздела в

Если приведенные способы не помогли, попробуйте восстановить работу службы установщика Windows вручную — 2-й способ в отдельной инструкции Служба установщика Windows недоступна, также обратите внимание и на 3-й вариант, он может сработать.

А вдруг и это будет интересно:

Почему бы не подписаться?

Рассылка новых, иногда интересных и полезных, материалов сайта remontka.pro. Никакой рекламы и бесплатная компьютерная помощь подписчикам от автора. Другие способы подписки (ВК, Одноклассники, Телеграм, Facebook, Twitter, Youtube, Яндекс.Дзен)

24.06.2020 в 06:52

Спасибо за правильное направление.
В службе при перезапуске выдавало ошибку, обратил внимание путь к файлу был неправильный исправил в реестре заработало!

How to troubleshoot Windows Installer errors

Symptoms

When you install, uninstall, or update a program on a Windows-based computer, you may receive one of the following error messages.

Error message 1

The Windows Installer Service could not be accessed.

Error message 2

Windows Installer Service couldn’t be started.

Error message 3

Could not start the Windows Installer service on Local Computer. Error 5: Access is denied.

Resolution

To fix this problem automatically, run the «Fix problems that programs cannot be installed or uninstalled» troubleshooter to repair issues that block program installation or removal because of corrupted registry keys.

Important To perform many of the methods and steps in this article, you must be logged on to your computer as an administrator.

To determine whether you’re using an account that has administrator rights

To determine whether you’re using an account that has administrator rights, use one of the following methods, as appropriate for the operating system that you’re running.

Windows 7 and Windows Vista

Open the Date and Time dialog box.

Type the following command in the Start Search or Search programs and files box, and then press Enter:

timedate.cpl
The Date and Time dialog box appears.

Click Change date and time. When the User Account Control dialog box appears, click Continue.

Do one of the following, depending on what happens when you click Continue:

If your computer does not prompt you for a password, you are already logged on with an administrator account. Click Cancel two times to close the Date and Time dialog box. You are ready to fix the Windows Installer issues.

If your computer prompts you for a password, you are not logged on with an administrator account.

Windows XP and Windows Server 2003

Open the Date and Time dialog box.

Click Start, and then click Run.

Type the following command in the Run dialog box, and then press OK:

timedate.cpl

Do one of the following, depending on the result:

Читайте также:  Какие процессоры поддерживает mac os big sur

If the Date and Time Properties dialog box appears, you are already logged on as an administrator. Click Cancel to close the dialog box.

If you receive the following message, you are not logged on as an administrator:

After you’ve verified that you’re logged on to your computer as an administrator, you can start troubleshooting Windows Installer issues.

If the Windows Installer engine is corrupted, disabled, or installed incorrectly, this may cause program installation issues.

Use the following methods to identify any Windows Installer issues that may be causing problems when you install, uninstall, or update programs.

Method 1: Determine whether the Windows Installer engine is working

Click Start , type cmd in the Search box or click Run then type cmd in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.

At the command prompt, type MSIExec, and then press Enter.

If the MSI engine is working, you should not receive any error messages. If you receive an error message, enter the error message text into a search engine such as Bing or Google to locate troubleshooting information about the issue.

Try to install or uninstall again.

Method 2: Make sure that the Windows Installer service is not set to Disabled

Click Start , type services.msc in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open Services.

Right-click Windows Installer, and then click Properties.

If the Startup type box is set to Disabled, change it to Manual.

Click OK to close the Properties window.

Right-click the Windows Installer service, and then click Start. The service should start without errors.

Try to install or to uninstall again.

Method 3: Check your version of Windows Installer, and upgrade to the latest version if necessaryImportant This method applies to Windows XP, Windows Vista, Windows Server 2003, Windows Server 2003 R2, and Windows Server 2008 only.

Click Start , type cmd in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.

At the command prompt, type MSIExec, and then press Enter. If the MSI engine is working, you should not receive any error messages, and a separate dialog box should open. This shows the MSI version.

If the installer is not version 4.5, download and install Windows Installer 4.5.

Try to install or to uninstall again.

Method 4: Reregister the installer engineImportant This method applies to Windows XP and to Windows Server 2000 only.

Click Start, click Run, type cmd, and then click Command Prompt.

At the command prompt, type the following, and then press Enter after each line:

Try to install or to uninstall again.

The installation or update method doesn’t run to completion

There are several methods that can be used to install, to uninstall, or to update a program. Additionally, the method or methods that are used may not have started or completed successfully. In this situation, try some other method to install, or to update the program.

The following are common methods that are used to install software:

Insert the CD or DVD media, and then let the installation auto-start.

Browse to the CD, DVD, removable media, or other location where the programs installation files are stored, and then double-click the Setup program. The setup file is typically one of the following:

Autorun or Autorun.exe

Setup or Setup.exe

Install or Install.exe

Click Run when you download the program from a website.

The installation media is unreadable

Installation media such as CD and DVD media may be dirty or scratched and therefore be unreadable by the CD or DVD reader. To resolve this issue, follow these methods:

Method 1: Clean the CD or DVDTo do this, use a CD or DVD disc-cleaning kit. Or, use a soft, lint-free cotton cloth to gently wipe the silver side of the disc. Do not use paper cloth, as this can scratch the plastic or leave streaks. When you clean the disc, wipe from the center of the disc outward. Do not use a circular motion. If the problem continues to occur, clean the disc by using a damp cloth or a commercial CD or DVD disc-cleaning solution. Dry the disc thoroughly before you insert it into the drive.

Method 2: Copy the installation files to your computer or to other removable mediaWhen you do this, note the location, and then run the installer from that location. The installation file is typically named Autorun.exe or Setup.exe, but this may vary. If you’re not sure, check the Readme file in the folder for instructions about how to run the installation process. If an executable file (.exe) is available, we do not recommend that you run .msi files directly without specific instructions from the vendor.

Note If multiple CDs or DVDs are required, we recommend that you copy all the disks to the same folder, in reverse order (higher disk numbers first). Be prepared to approve the overwriting of existing files if you are prompted, and then install from that location.

Method 3: Obtain a fresh version of the installation packageIf you tried to install from a CD or DVD, do the following:

Check the software manufacturer’s website for a more recent version of the software package. Download and install the new version.

If you already have the latest version, download the program from the manufacturer’s website, and then run the installation.

Downloaded or copied installation files are corrupted

Method 1: Copy the installation files to your computerCopy the installation files to a local hard disk on your computer or to other removable media. Note the location, and then run the installation from that location. The installation file is typically named Autorun.exe or Setup.exe, but this may vary. If you’re not sure, check the Readme file in the folder for instructions about how to run the installation. If an executable file (.exe) is available, we do not recommend that you run .msi files directly without specific instructions from the vendor.

Читайте также:  Csr8510 a10 mac os

If you are installing a program from the Internet, redownload the file (select Save instead of Run in the download dialog box), save the file to a folder on a local hard disk on your computer or to other removable media. Then, run the installation from that location.

If your installation files are on a network (for example, a commercial or corporate environment), copy all the files to a folder on a local hard disk on your computer, and then run the installation from that location.

Method 2: Obtain a fresh version of the installation packageIf some time has elapsed between when you downloaded the package and when you tried to install it, do the following:

Check the software manufacturer’s website for a more recent version of the software package. Download and install the new version.

If you already have the latest version, download the program again, and then run the installation.

Programs that are currently running on your computer are interfering with the installation process

Disable programs that might be interfering with the installation process. To do this, follow these steps:

Click Start , type msconfig in the Search box, and then click msconfig.exe.

If you are prompted for an administrator password or confirmation, type the password, or provide confirmation.

On the General tab, click Selective startup, and then clear the Load startup items check box.

Click Services, click Hide all Microsoft services, and then click Disable all.

Click OK, and then click Restart.

Try running your software program installation.

When you are finished troubleshooting the problem, restart the computer in Normal Startup mode. To do this, follow these steps:

Click Start , type msconfig in the Search box, and then click msconfig.exe.

If you are prompted for an administrator password or confirmation, type the password, or provide confirmation.

On the General tab, click Normal startup, click OK, and then click Restart.

There are typically several ways to remove any program. In this situation, try some other method to remove the program.

The following are common methods that are used to install software:

Method 1: Use the uninstall option (if available)

Click Start , and then click All Programs.

Select the folder for the program that you are trying to uninstall, and then open the folder.

If there is an uninstall option, try using it.

Method 2: Use Control Panel options

Click Start , click Control Panel, click Add and Remove Programs or Programs and Features, and then click Uninstall a program.

Select the program, and then click Uninstall. Follow the instructions.

Note The following steps are appropriate for advanced users only.

Make sure that you don’t have any file or folder names that are longer than 260 characters.

For more about the maximum path length limitation, see Naming files, paths, and namespaces.

Most programs create an installation log. If you can’t locate such a log, you can enable verbose MSI logging. For more information, see How to enable Windows Installer logging.

Note If you’re running the .msi log file without the bootstrapping application (.exe), you can add parameters for verbose logging. For example, you can run the following command:

Msiexec path\ your_msi.msi /L*v path\ your_msi_log.txt For a list of msiexec command-line parameters, see Command-line options.

A failed installation typically logs «Return Value 3» where the problem occurred and where the installation rollback began. The description of the failure appears immediately before the Return Value 3 log entry.

You can use the Wilogutl.exe tool to analyze log files from a Windows Installer installation. This tool may suggest solutions to errors that are found in a log file. It is available in the latest Windows Software Development Kit.

The following is an example of how to use the Wilogutl.exe tool at a command line:

wilogutl /q /l c:\mymsilog.log /o c\outputdir\

You may be able to manually uninstall some parts of the program through the Windows interface. For example, you may be able to delete program files and folders. Because the steps to do this may differ widely, depending on the version of Windows that you’re running and on the program that you’re trying to uninstall, no prescriptive steps are provided here. If you’re not sufficiently familiar with the program that you’re trying to uninstall to positively identify the files and folders for that program, we do not recommend that you try this method. Generally, when you begin to delete program files and folders, you run the risk of damaging your operating system. Use this method at your own risk.

If you are considering uninstalling the program manually, be aware of the following:

Before you use this method, make sure that you create a system restore point.

Before you get started, move any personal data or documents that may have ended up in the installation folder of the program that you’re uninstalling. For example, move this material into the Documents folder.

If you cannot manually delete a program file, this may mean that the file is being used or that some other program is accessing the file and preventing you from deleting it. For example, antivirus software may be accessing the file. When antivirus software is accessing a program file and making it impossible to delete it, it’s likely that this same antivirus software was preventing you from uninstalling the program by more traditional means.

For general information about how to install or to uninstall a program, see the following:

Оцените статью