Chrome Update Failed Error Code 3 (Solved)

Chrome Update Failed Error Code 3 (Solved)

On a Windows based computer, Chrome browser cannot receive the new updates automatically and when you manually check for new updates (from the Chrome Settings menu > Help > About Google Chrome), you receive the following error: «An error occurred while checking for updates. Update check failed to start (error code 3: 0x80080005) or (error code 3: 0x80040154).»

Chrome Update Failed fix

This guide contains instructions to resolve Google Chrome Update errors on Windows 10/8/7/Vista

How to fix Chrome Update Check Failed problem.

Suggestion: Before proceeding to the methods below, make sure that your system is virus free by following the instructions on this guide: Virus and Malware Removal Guide.

Method-1. Enable Google Update services.

The first method to fix the Chrome Update problem is to check that the Google Update services, are enabled.

1. Open Windows Services control panel: To do that:

services. msc

2. In Services control panel, locate the following services Google Update Services: *

* Note: If you cannot see the above services in Services list, then skip the rest steps and proceed to the next method.

3. Right click on the first service (Google Update Service (gupdate) and select Properties.

fix Chrome Update Failed

4. Set the Startup type to Automatic or to Automatic (Delayed Start) and click OK.

Start Chrome Update Service

5. Then right click on the second service (Google Update Service (gupdatem)) and select Properties.
6. Set the Startup type to Manual and click OK.
7. Restart your computer and try to update Chrome again.

Method-2. Enable Chrome Update in Windows Registry.

In some cases, Chrome Update is disabled through Windows Registry. At these cases, you have to modify the Windows Registry in order to enable Chrome updates again. *

* Note: If you cannot find the mentioned registry keys below («UpdateDefault» & «DefaultUpdate») on your system, then continue to the next method.

1. Open Registry Editor: To do that:

open registry editor

2. Navigate to the following key at the left pane:

3. At right panel double click on UpdateDefault key.
4. Change the value data to 1

5. Then navigate at this key:

6. At right panel double click on UpdateDefault key (if exists) and change the value data to 1
7. Close Registry editor and restart your computer.
8. Try to Update Google Chrome again.

Method-3. Run Google Update Manually.

Chrome Update process, uses the «GoogleUpdate. exe» application to download and install Chrome updates. The «GoogleUpdate» application is located at one of the following locations on your disk:

So navigate, at the above locations to find out if the «GoogleUpdate. exe» exists.
– If you cannot find the «GoogleUpdate. exe» at one of the above locations, then the only solution to resolve the «Chrome cannot check for updates» problem, is to reinstall Chrome, by using the instructions in Method-4 below.
– If you find the «GoogleUpdate. exe» application, in one of the above locations, then:

1. Close Chrome browser.
2. Open Command Prompt: To do that:

command prompt

3. In the command prompt navigate to the folder which the «GoogleUpdate. exe» application is located. *

* e. g. If the «GoogleUpdate. exe» application, is located at «C:\Program Files (x86)\Google\Chrome\Update» directory, type this command:

4. Then type the following command and press Enter:

GoogleUpdate. exe /RegServer

5. Close Command Prompt window.
6. Open Google Chrome Settings > Help > About and check if Chrome is updated. If not, then proceed to the next method.

Method-4. Uninstall & Reinstall Google Chrome.

The last – and in most cases the easiest – solution to resolve Chrome Update problems, is to completely uninstall and reinstall Chrome on your system.

1. Backup Chrome bookmarks.
2. Open Programs and features. To do that:

programs and features

3. Highlight the Google Chrome from the installed programs and choose Uninstall.

uninstall chrome

4. Then Delete the following folders (in bold letters) from your disk:

5. Finally Download and install Google Chrome on your system again. *

* Note: Alternately, you can try to install Chrome by using the Offline Chrome Standalone Installer.

That’s all folks! Did it work for you?
Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this guide.

Исправление ошибки Windows Installer 0x80040154

В этой статье я расскажу об исправлении одной очень распространенной ошибки Windows Installer. Обыскавши Интернет как русскоязычный, так и англоязычный, включая форумы и ньюсгруппы Microsoft, я понял что ошибка довольно распространенная, однако исправить ее, на самом деле никому не удавалось.

Суть проблемы

Как то одним жарким летним вечером я решил установить на свой компьютер ActeiveState ActivePerl. Скачал инсталлятор, который был в .msi файле и запустил его. Каково же было мое удивление, когда вместо привычного инсталлятора я увидел вот это:

image

Как вскоре оказалось, подобная ошибка выпадала при запуске на моем компьютере любого .msi файла.

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

Решение проблемы

Для начала я включил Log-файл установщика Windows. Как включить лог Windows Installer вы можете почитать здесь, или поискать в любом поисковике по ключевому слову «voicewarmup».

Лог-файлы появляются во временной папке пользователя, которая обычно находится по пути C:\Users\имя_профиля\AppData\Local\Temp. Открыв лог, я увидел следующую ошибку:

MSI (c) (B8:84) [22:08:06:894]: Failed to connect to server. Error: 0x80040154

Поискав по коду ошибки в Интернете, и не нашедши никаких способов решения проблемы, я решил подумать логически.

Что означает ошибка 0x80040154? Поискав в поисковике, и воспользовавшись утилитой Error Lookup, я определил, что ошибка означает «Класс не зарегистрирован».

Обычно такая ошибка появляется, когда вы запрашиваете у системы создать COM-объект, который не был должным образом зарегистрирован в реестре. Но как определить какой именно объект не зарегистрирован?

Для начала я воспользовался старым добрым отладчиком WinDbg, который входит в пакет Debugging Tools For Windows. Мне понадобилась именно 64-разрядная версия данного отладчика.

Перед началом отладки необходимо загрузить отладочные символы для распознавания имен системных функций и переменных. Эти символы являются довольно полезной вещью не только для поиска ошибок, но также и для исследования работы Windows в целом.

Я предпочитаю указывать отладчику путь для поиска символов через переменную среды _NT_SYMBOL_PATH, которая должна быть задана как: C:\Symbols;srv*C:\Symbols*https://msdl. microsoft. com/download/symbols. В данном случае папка C:\Symbols — это хранилище загруженных символов на жестком диске, чтобы отладчик каждый раз не лез в интернет за ними.

Загрузил я в отладчик файл c:\windows\system32\msiexec. exe и задал для него параметры командной строки так, чтобы он открыл .msi файл. В моем случае параметром командной строки было: /i «C:\Users\MAV\Desktop\ActivePerl-5.12.4.1205-MSWin32-x64-294981.msi» однако можно задавать путь к любому другому .msi файлу.

image

Сам по себе отладчик, конечно не решит проблему, нужно ее локализовать. Поразмыслив, какие функции могут создавать COM-объекты, я остановился на CoCreateInstance, CoCreateInstanceEx и CoGetClassObject

Для установки точек прерывания на эти функции вводим в командной строке отладчика:
bp ole32!CoCreateInstance
bp ole32!CoCreateInstanceEx
bp ole32!CoGetClassObject
Если точки останова у вас не ставятся, значит вы неправильно настроили символы.

После запуска приложения (F5), срабатывает точка останова на ole32!CoCreateInstance. Если точка останова не срабатывает, а выпадает окно с параметрами Wndows Installer, то вы неправильно указали параметры командной строки для запуска.

image

Давайте теперь посмотрим, из какого же места кода вызывается создание нашего объекта, для этого мы можем нажать Debug->Step Out (Shift+F11). Мне пришлось нажать указанную комбинацию дважды, для того чтобы выйти в исходную вызывающую функцию.

image

Исходная вызывающая функция называется msi! CreateMsiServerProxy и, очевидно, находится в модуле msi. dll.

Запомнив имя функции, а также примерный вид искомого кода, я открыл дизассемблер IDA Pro, и загрузил в него файл msi. dll. Следует отметить пару особенностей данного отладчика: во первых, IDA любит блокировать доступ к исследуемому файлу, во вторых, она создает в папке с исследуемым файлом несколько своих файлов баз данных, так что я рекомендую копировать исследуемые файлы в отдельную папку. В третьих, IDA не всегда подгружает файлы с символами, поэтому рекомендую в указанную отдельную папку также скопировать файл msi. pdb из вышеуказанной папки C:\Symbols.

После нахождения функции CreateMsiServerProxy, находим знакомые строки кода в ней:
image

Не иначе как функция пытается создать объект по CLSID IID_IMsiServer. Здесь я не буду вдаваться в подробности COM и искать различия между CLSID и IID, важно что я получил зацепку — имя интерфейса ID_IMsiServer и CLSID .

Windows Registry Editor Version 5.00

После импорта ключа реестра я вновь попробовал запустить .msi файл, и, «О чудо!», он запустился, после чего я успешно установил ActivePerl.

image

У вас может быть аналогичная проблема, но при этом отсутствовать другой ключ реестра. Импортировать при этом необходимо те ключи, которых у вас нет.

Выводы

Спасибо за внимание, я очень надеюсь что статья вам понравилась, жду ваших отзывов, а также с удовольствием отвечу на ваши вопросы.

Источники:

https://www. repairwin. com/fix-chrome-update-failed-error-code-3/

https://habr. com/ru/sandbox/33155/

Понравилась статья? Поделиться с друзьями:
Добавить комментарий

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: