Неопознанная ошибка 0x80004005 hyper v

  • Remove From My Forums
  • Question

  • I installed Hyper V a few months back and setup some VMs, now I’ve cleared everything off and I’m trying to start again.

    I’ve disabled Hyper V and reenabled it, I can’t find how to remove it completely. 

    The Hyper V host service states with the error
    The Hyper-V Virtual Machine Management service encountered an unexpected error: Unspecified error (0x80004005).

    When I try to create a NEW machine I get an error trying to access the network switches.  When I try look at the network switches I get a Generic Failure. 

    Does anyone know how to completely remove it so I can start again or how to fix the above.

  • Hi,

    >>VM is failed over to Domain B Hyper-V replica server B1 running WS2019 Datacenter host and started, no errors.

    >>VM is replicated to a different WS2019 Datacenter host B2 in Domain B and is failed over. It’s still using certificate based replication.

    1.Some VMs from Domain A cannot replica to B1 or B2, right?

    >> VM is shutdown and upgraded to version 9. VM starts and works fine

    2.When you upgrade your VM’s version, can them replica to B1 or B2?

    >>Enable replication fails from B2 to B1 with errors above.

    3.Some vms in B2 cannot replica to B1, but if we re-create vm, it can replica successfully ,right?

    >>Where is B1 still storing information about A10F389C-C365-4829-A748-36EAA9009690?

    4. All the configuration and data files will be stored in the  location where you choose in replication settings.

    Please try to re-create VMs with their VHD and delete replication process, start all over again.

    Please make sure the firewall rules have been configured correctly. If you have any AV software on host or vm, please uninstall it.

    For more information about how to troubleshooting Hyper-V replica, you can refer to:

    https://social.technet.microsoft.com/wiki/contents/articles/21948.hyper-v-replica-troubleshooting-guide.aspx

    Advanced Troubleshooting of Hyper-V Replica – Part 1

    Advanced Troubleshooting of Hyper-V Replica – Part 2

    Hyper-V failed to generate initial replica for server

    Hope this can help you a bit.

    Best Regards,

    Daniel


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    • Edited by

      Friday, February 21, 2020 4:35 AM

    • Proposed as answer by
      Danie1zhouMicrosoft contingent staff
      Tuesday, February 25, 2020 5:00 AM
    • Marked as answer by
      Progent.CT
      Monday, March 9, 2020 7:44 PM
  • Windows Server 2008 Standard Windows Server 2008 Enterprise Windows Server 2008 Datacenter Hyper-V Server 2008 Еще…Меньше

    Проблемы

    На компьютере под управлением Windows Server 2008, на котором установлена роль Hyper-V или на компьютере с операционной системой Microsoft Hyper-V Server 2008 может возникнуть одна из указанных ниже проблем.

    • При попытке подключиться к виртуальной машине появляется следующее сообщение об ошибке:

      Не удается подключиться к виртуальной машине, так как срок действия сертификата для проверки подлинности истек или недействителен. Вы хотите попробовать подключиться еще раз?

    • При запуске виртуальной машины появляется следующее сообщение об ошибке:

      Не удалось инициализировать «VMName». Не удалось инициализировать систему удаленного взаимодействия компьютера. Ошибка: «неопределенная ошибка» (0x80004005). Не удалось найти пригодный для использования сертификат. Ошибка: «неопределенная ошибка» (0x80004005).

    Причина

    Эта проблема возникает из-за истечения срока действия сертификата службы управления виртуальными машинами (VMMS) Hyper-V.

    Решение

    Сведения о пакете обновления

    Чтобы устранить эту проблему, установите последнюю версию пакета обновления для Windows Server 2008. Чтобы получить дополнительные сведения, щелкните следующий номер статьи базы знаний Майкрософт:

    968849 Получение последнего пакета обновления для Windows Server 2008

    Сведения об обновлении

    Следующий файл можно загрузить в центре загрузки Майкрософт: Обновление для Windows Server 2008 x64 Edition (KB967902) Download загрузить пакет 967902. Для получения дополнительных сведений о том, как загрузить файлы поддержки Microsoft, щелкните следующий номер статьи базы знаний Майкрософт:

    119591 Как скачать файлы поддержки Майкрософт через веб-службыЭтот файл был проверен корпорацией Майкрософт на наличие вирусов. Корпорация Майкрософт использует самые последние на момент публикации файла версии антивирусного программного обеспечения. Файл хранится на защищенных серверах, что предотвращает его несанкционированное изменение.

    Предварительные условия

    Перед применением этого обновления необходимо установить окончательную версию Hyper-V. Для получения дополнительной информации щелкните приведенный ниже номер статьи базы знаний Майкрософт:

    950050 Описание обновления для финальной версии технологии Hyper-V для Windows Server 2008

    Требование перезагрузки

    После установки этого обновления необходимо перезагрузить компьютер

    Сведения о замене обновлений

    Это обновление не заменяет никакие другие обновления.

    Сведения о файлах

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

    Примечания для Windows Server 2008

    Файлы. manifest и. mum, устанавливаемые в каждой среде, указаны отдельно в разделе «Дополнительные сведения о файлах для Windows Server 2008». Эти файлы и связанные файлы Cat (каталог безопасности) важны для поддержания состояния обновляемого компонента. CAT-файлы подписаны цифровой подписью Майкрософт. Атрибуты этих файлов безопасности не отображаются в списке.Для всех поддерживаемых 64-разрядных версий Windows Server 2008

    Имя файла

    Версия файла

    Размер

    дата

    Время

    Платформа

    Vmms.exe

    6.0.6001.22383

    3 878 400

    21-Feb-2009

    06:17

    x64

    Vmwp.exe

    6.0.6001.22383

    3 526 144

    21-Feb-2009

    06:17

    x64

    Исправление также включает версию GDR для всех поддерживаемых 64-разрядных версий Windows Server 2008

    Имя файла

    Версия файла

    Размер

    дата

    Время

    Платформа

    Vmms.exe

    6.0.6001.18221

    3 878 816

    21-Feb-2009

    05:06

    x64

    Vmwp.exe

    6.0.6001.18221

    3 526 120

    21-Feb-2009

    05:06

    x64

    После установки этого обновления сертификат Hyper-V VMMS может обновляться автоматически по истечении срока его действия.

    Обходное решение

    Для решения этой проблемы можно создать новый сертификат. Для этого выполните следующие действия:

    1. Выключите или сохраните все виртуальные машины.

    2. Перезапустите службу Hyper-V VMMS.

    3. Запустите виртуальные машины.

    Примечание. Поскольку сертификат Hyper-V VMMS действителен в течение одного года, обновление необходимо применить, чтобы предотвратить возникновение этой ошибки в будущем.

    Статус

    Корпорация Майкрософт подтверждает наличие этой проблемы в своих продуктах, которые перечислены в разделе «Применяется к».

    Дополнительная информация

    Чтобы определить дату окончания срока действия для самозаверяющего сертификата службы Hyper-V VMM, выполните указанные ниже действия.

    1. Нажмите кнопку Пуск , выберите пункт выполнить , введите MMC и нажмите кнопку ОК.

    2. В меню Файл выберите команду Добавить или удалить оснастку.

    3. Откройте вкладку Сертификаты и нажмите кнопку Добавить.

    4. Выберите пункт учетная запись службы , а затем нажмите кнопку Далее.

    5. Выберите пункт локальный компьютер , а затем нажмите кнопку Далее.

    6. Выберите элемент Управление виртуальными машинами Hyper-V и нажмите кнопку Готово.

    7. Нажмите кнопку ОК , чтобы закрыть окно Добавление и удаление оснастки.

    8. Разверните раздел Сертификаты — служба, разверните узел VmmsPersonal и выберите пункт Сертификаты.

    9. Дважды щелкните сертификат службы VMM и проверьте дату окончания срока действия в окне сертификата службы VMM.

    Для получения дополнительных сведений о терминологии, связанных с обновлением программного обеспечения, щелкните номер следующей статьи, чтобы просмотреть статью в базе знаний Майкрософт:

    824684 Стандартные термины, используемые при описании обновлений программных продуктов Майкрософт

    Дополнительные сведения о файлах для Windows Server 2008

    Дополнительные файлы для всех поддерживаемых 64-разрядных версий Windows Server 2008

    Имя файла

    Версия файла

    Размер

    дата

    Время

    Платформа

    Amd64_microsoft-hyper-v-vstack-vmms_31bf3856ad364e35_6.0.6001.22383_none_92eac53930a5ec97.manifest

    Not Applicable

    249 723

    21-Feb-2009

    06:38

    Not Applicable

    Amd64_microsoft-hyper-v-vstack-vmwp_31bf3856ad364e35_6.0.6001.22383_none_91954bdf3181df4c.manifest

    Not Applicable

    192 587

    21-Feb-2009

    06:37

    Not Applicable

    Package_for_kb967902_sc_0_bf~31bf3856ad364e35~amd64~~6.0.1.0.mum

    Not Applicable

    1 505

    21-Feb-2009

    14:39

    Not Applicable

    Package_for_kb967902_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum

    Not Applicable

    1 529

    21-Feb-2009

    14:38

    Not Applicable

    Package_for_kb967902_sc_bf~31bf3856ad364e35~amd64~~6.0.1.0.mum

    Not Applicable

    1 411

    21-Feb-2009

    14:39

    Not Applicable

    Package_for_kb967902_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum

    Not Applicable

    1 431

    21-Feb-2009

    14:38

    Not Applicable

    Package_for_kb967902_server_0_bf~31bf3856ad364e35~amd64~~6.0.1.0.mum

    Not Applicable

    1 509

    21-Feb-2009

    14:39

    Not Applicable

    Package_for_kb967902_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum

    Not Applicable

    1 532

    21-Feb-2009

    14:38

    Not Applicable

    Package_for_kb967902_server_bf~31bf3856ad364e35~amd64~~6.0.1.0.mum

    Not Applicable

    1 419

    21-Feb-2009

    14:39

    Not Applicable

    Package_for_kb967902_server~31bf3856ad364e35~amd64~~6.0.1.0.mum

    Not Applicable

    1 439

    21-Feb-2009

    14:38

    Not Applicable

    Update-bf.mum

    Not Applicable

    1 771

    21-Feb-2009

    14:39

    Not Applicable

    Нужна дополнительная помощь?

    Просмотров 196к. Опубликовано 15 августа, 2018 Обновлено 24 июня, 2019

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

    Как исправить ошибку 0x80004005

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

    Ошибка 0x80004005 на VirtualBox

    Обычно это раздел реестра, который вызывает проблемы.

    1. Удерживайте клавишу Windows и нажмите R.  Введите regedit и нажмите OK.regedit 
    2. Перейдите к следующему пути реестра:
      HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers
      
      "C:Program FilesOracleVirtualBoxVirtualBox.exe"="DISABLEUSERCALLBACKEXCEPTION"
    3. Если этот ключ существует, удалите его и повторите попытку. Если удаление ключа не помогает, попробуйте отключить антивирус.

    Если ошибка все ещё возникает, тогда:

    • Удалите антивирус, проверьте его и затем переустановите.
      Замените антивирус другим, например, AVG или Essentials безопасности.

    Ошибка 0x80004005 при доступе к общей папке или диску

    Мы будем использовать regedit для создания   значения LocalAccountTokenFilterPolicy.

    1. Удерживайте клавишу Windows и нажмите R
    2. Введите regedit и нажмите OK.
    3. Перейдите к следующему пути в regedit
      HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
    4. Для 32-разрядной системы создайте новое значение DWORD, с названием LocalAccountTokenFilterPolicy.
      Для 64-разрядной системы создайте QWORD (64-разрядный), с названием LocalAccountTokenFilterPolicy.
    5. В любом случае установите значение в числовое значение 1 (значение включено) и не забудьте нажать «ОК».
    6. Обычно значение LocalAccountTokenFilterPolicy создается до того, как вы сможете установить значение данных; нет проблем, просто дважды щелкните и измените данные с 0 на 1.
    7. Как только это будет сделано, перезагрузите компьютер и посмотрите, можете ли вы теперь обращаться к общим дискам или папкам.

    Если проблема повторяется после выполнения всех вышеперечисленных действий; тогда

    Удерживая клавишу Windows и нажмите R и введите hdwwiz.cpl, чтобы открыть Диспетчер устройств. Выберите «Сетевые адаптеры», затем выберите «Вид» в меню и выберите «Просмотр скрытых устройств». Разверните сетевые адаптеры, и если вы увидите Microsoft 6to4 Adapters, затем удалите их все, щелкнув правой кнопкой мыши и выбрав «Удалить устройство».

    После этого перезагрузите компьютер и проверьте.

    Ошибка 0x80004005 при установке Windows 7 или Windows Server 2008 R2 с пакетом обновления 1

    Скачать и запустить CheckSUR из здесь . После того, как  средство готовности к обновлению системы завершит проверку компонентов в системе, запустите сканирование SFC.

    E_FAIL (0x80004005) При настройке VirtualBox на Ubuntu

    Если вы пытаетесь выделить виртуальную машину более 3 ГБ ОЗУ, убедитесь, что хост — это 64-разрядная система, и разрешено использование истинного аппаратного обеспечения (VT-x)

    Не удалось открыть сеанс для виртуальной машины

    В некоторых сеансах на виртуальной машине (VirtualBox) вы можете увидеть следующую ошибку.

    Не удалось открыть сеанс для виртуальной машины

    Чтобы устранить проблему,  откройте Центр управления сетями и выберите «Изменить настройки адаптера». Щелкните правой кнопкой мыши свой адаптер только для хостинга Virtualbox и выберите «Свойства». Включите «VirtualBird NDIS6 Bridget Networking Driver», если он отключен, и снова проверьте. Теперь VirtualBox должен работать нормально. Если нет,  включите Virtual Network NDIS6 Bridget Networking Driver  для каждого сетевого адаптера (Ethernet, WiFi …) и всегда снимите флажок NDIS6 и протестируйте.

    Удаление Microsoft 6to4

    Чтобы решить эту проблему, вы должны удалить Microsoft 6to4-устройства из своего диспетчера задач. Имейте в виду, что вы можете не видеть эти устройства, потому что они скрыты по умолчанию. Таким образом, вы увидите их только после включения опции Показать скрытые устройства.

    Ниже приведены шаги для удаления этих устройств.

    1. Удерживайте клавишу Windows и нажмите R
    2. Введите devmgmt.msc и нажмите Enter.

      devmgmt.msc

    3. Нажмите «Вид» и выберите «Показать скрытые устройства».

    Показать скрытые устройства

    1. Дважды щелкните Сетевые адаптеры
    2. Щелкните правой кнопкой мыши устройство Microsoft 6to4 и выберите «Удалить» . Повторите этот шаг для всех устройств Microsoft 6to4, которые вы видите в списке

    Microsoft 6to4

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

    Ошибка 0x80004005 При извлечении файлов

    Если вы получаете эту ошибку при попытке извлечь или открыть ZIP-файлы или файлы .rar, у вас есть несколько потенциальных исправлений.

    Способ 1. Попробуйте использовать другую утилиту для извлечения

    Во-первых, убедитесь, что файл не защищен паролем, а утилита разахиватора не оборудована для обработки файлов, защищенных паролем. Вы можете сделать это, загрузив еще одну утилиту, например 7Zip, и посмотрите, требуется ли вам указать пароль при попытке открыть или извлечь один и тот же архив .zip или .rar.

    Способ 2. Отключите защиту антивирусом в реальном времени

    Другая возможная причина — чрезмерный защитный пакет сторонних разработчиков. При определенных условиях несколько сторонних антивирусных пакетов будут блокировать извлечение zipped-файлов. Если вы используете внешний сторонний антивирус вместо стандартного набора безопасности (Защитник Windows), вы можете попытаться временно отключить защиту в реальном времени или защиту вашего стороннего AV-адаптера и выяснить, устранена ли проблема.

    В случае, если вы больше не сталкиваетесь с  ошибкой 0x80004005, подумайте об удалении вашего текущего пакета сторонних поставщиков  и перейдите в другой пакет безопасности. Если вы хотите избежать других конфликтов, подобных этому, подумайте над встроенным решением безопасности.

    Метод 3: Повторная регистрация jscript.dll и vbscript.dll

    Если первые два возможных решения вам не удались, попробуем другой подход. Некоторым пользователям удалось зафиксировать их, перерегистрировав несколько DLL (библиотеки динамических ссылок) в расширенной командной строке. Чтобы быть более точным, этот метод попытается устранить проблему, перерегистрировав jscript.dll (библиотеку, используемую при запуске JScript) и vbscript.dll (модуль, содержащий функции API для VBScript). Вот краткое руководство о том, как это сделать:

    1. Нажмите клавишу Windows + R, чтобы открыть окно «Выполнить». Затем введите «cmd» и Ctrl + Shift + Enter и нажмите « Да» в приглашении UAC (Контроль учетных записей пользователей), чтобы открыть повышенную командную строку.
    2. В командной строке с повышенными правами введите следующую команду и нажмите Enter:
        regsvr32 jscript.dll
    3. В том же приглашении с повышенным командованием введите следующую команду и нажмите Enter:
      regsvr32 vbscript.dll
    4. Перезагрузите компьютер и убедитесь, что вы можете открывать или извлекать файлы .zip или .rar без получения ошибки 0x80004005 .

    I have setup Hyper-V replication between to Hyper-V hosts (certificate-based). Worked fine until now.

    Had to remove the replication and deleted the replicas including the virtual machine configs, disks, vmcx files.Both Hyper-V manager and powershell on replica server is not showing the virtual machine anymore.

    Reenabling replication between the host throws errors: Hyper-V failed to enable replication for virtual machine Unspecified error (0x80004005). Also in the event viewer with:

    Event ID: 16300 Cannot load virtual machine configuration. Unspecified Error (0x80004005) (Virtual Machine ID 150C0BD2………)

    Event ID: 33686 Hyper-V failed to enable replication relationship on the replica server. Unspecified error (0x80004005)

    Note that I have bunch of virtual machines replicating between Hyper-V hosts. Hosts are functioning fine. Only affecting 2 particular instances (both has replication being removed and trying to be reenabled). Cant find traces of the Virtual machine ID 150C0BD2xxxxxxx)
    except the data.vmcx file which still contains the details of these two VMs. How do I purge the old details within this data.vmcx file? I have restarted Hyper-V related services and the host machines.

    Any help and advice is very much appreciated. Thank you.

    I have setup Hyper-V replication between to Hyper-V hosts (certificate-based). Worked fine until now.

    Had to remove the replication and deleted the replicas including the virtual machine configs, disks, vmcx files.Both Hyper-V manager and powershell on replica server is not showing the virtual machine anymore.

    Reenabling replication between the host throws errors: Hyper-V failed to enable replication for virtual machine Unspecified error (0x80004005). Also in the event viewer with:

    Event ID: 16300 Cannot load virtual machine configuration. Unspecified Error (0x80004005) (Virtual Machine ID 150C0BD2………)

    Event ID: 33686 Hyper-V failed to enable replication relationship on the replica server. Unspecified error (0x80004005)

    Note that I have bunch of virtual machines replicating between Hyper-V hosts. Hosts are functioning fine. Only affecting 2 particular instances (both has replication being removed and trying to be reenabled). Cant find traces of the Virtual machine ID 150C0BD2xxxxxxx)
    except the data.vmcx file which still contains the details of these two VMs. How do I purge the old details within this data.vmcx file? I have restarted Hyper-V related services and the host machines.

    Any help and advice is very much appreciated. Thank you.

    • Remove From My Forums
    • General discussion

    • Доброго времени суток. Подниму свою старую темку:
      https://social.technet.microsoft.com/Forums/ru-RU/3d3519a9-5d1d-49fd-a31c-997c3cdf751a/-?forum=virtualizationru
      Проблема не решилась даже после переустановки всех 4х hyper-v серверов. Все так же при подключении периодически ругается на авторизацию и выдает ошибку: «Ошибка при проверке подлинности (код 0x80004005)». Помогает перелогон или перезагрузка
      клиентского компьютера. Подключение осуществляется с windows 8.1 и windows 2012, результат одинаковый.

      • Edited by

        Tuesday, August 4, 2015 11:13 AM

      • Changed type
        Petko KrushevMicrosoft contingent staff, Moderator
        Thursday, August 20, 2015 6:50 AM

    Если вы использовали гипервизор Hyper-V и в какой-то момент решили установить VirtualBox, то при запуске виртуальной машины столкнетесь с ошибкой «Не удалось открыть сессию для виртуальной машины»:

    Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED).
    
    Код ошибки: E_FAIL (0x80004005)
    Компонент: ConsoleWrap
    Интерфейс: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    Решить это можно, удалив компоненты Hyper-V в Windows: Панель управления — Программы и компоненты — Установка и удаление компонентов. Однако, если виртуальные машины Hyper-V вам нужны, это может быть неудобно.

    Для того, чтобы иметь возможность запускать виртуальные машины VirtualBox при установленных компонентах Hyper-V, требуется выключить запуск гипервизора Hyper-V. Для этого запустите командную строку от имени администратора и введите следующую команду:

    > bcdedit /set hypervisorlaunchtype off

    После выполнения команды перезагрузите компьютер. Теперь VirtualBox будет запускаться без ошибки «Не удалось открыть сессию для виртуальной машины» (однако Hyper-V запускаться не будет).

    Чтобы вернуть всё в исходное состояние, используйте команду

    > bcdedit /set hypervisorlaunchtype auto

    с последующей перезагрузкой компьютера.

    Этот способ можно модифицировать, добавив в меню загрузки Windows два пункта: один с включенным Hyper-V, другой — с отключенным. В в командной строке от имени администратора:

    > bcdedit /copy {current} /d "Отключить Hyper-V"

    Будет создан новый пункт меню загрузки Windows, также в командной строке отобразится GUID этого пункта.

    > bcdedit /set {GUID этого пункта меню} hypervisorlaunchtype off

    В результате, после перезагрузки Windows 10 или 8, вы увидите два пункта меню загрузки ОС:

    /files/blog/429/3.jpg

    Поиск:
    Web-разработка • Windows • Ubuntu • Linux • Виртуальная машина • VirtualBox • MS Hyper-V • bcdedit

    Каталог оборудования

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    Производители

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    Функциональные группы

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    The aim of this article is to create a slowly growing cheat-sheet of Hyper-V Errors and known fixes.

    Errors without Error Codes

    These errors are UI errors that do not provide a Hex Error Code / Win32 Error Code.

    There was an error during move operation.

    Migration operation on ‘<VM Name>’ failed.

    See:

    1. 0x80041024
    2. 0x8000FFFF
    There was an error during move operation.

    Virtual machine migration operation failed at migration source.

    Failed to create folder.

    See 0x80070005

    Errors with Error Codes

    The following errors have error codes either stated on GUI error messages, as part of PowerShell error messages or in the Hyper-V event logs in Event Viewer.

    0x80004005

    Event ID: 21002 & 16300 & 1106

    ‘<Virtual Machine Name>’ Failed to create Planned Virtual Machine at migration destination: Unspecified error (0x80004005). (Virtual machine ID <Virtual Machine GUID>)

    Cannot load a virtual machine configuration: Unspecified error (0x80004005). (Virtual machine ID <Virtual Machine GUID>)

    vm\service\migration\vmmsvmmigrationdestinationtask.cpp(1781)\vmms.exe!00007FF650130A43: (caller: 00007FF65013359D) Exception(312) tid(19b4) 80004005 Unspecified error

    vm\service\vmmgr\vmmsvirtualmachinemanager.cpp(4128)\vmms.exe!00007FF64FC867EB: (caller: 00007FF64FD83CC0) LogHr(97) tid(19b4) 80004005 Unspecified error
    Msg:[vm\service\vmmgr\vmmsvirtualmachinemanager.cpp(5782)\vmms.exe!00007FF65025928F: (caller: 00007FF64FDA68AE) Exception(308) tid(19b4) 80004005 Unspecified error
    ]

    Note: The Memory ranges, process ID’s and exception codes do not need to match the above, just the presence of 80004005.

    1. You cannot live migrate a VM back onto a hypervisor where it has been previously.
      This can occur if your Hypervisor loses storage (i.e. iSCSI). The Hyper-V VMMS process will obtain an opportunistic, persistently stuck request for a handle to a resource that was on the disk but can no longer be found. Restarting the hypervisor doesn’t clear the lock because it re-establishes when VMMS starts. Even if presented with the file resource, the lock will not establish.In the interest of safety, I strongly recommend exporting/Live migrating all VMs off of the hypervisor before attempting this fix. If you do not, you may lose the VMs and have to re-import them from their config files.Once the hypervisor has been drained of all VMs. Open services.msc and stop all Hyper-V processes. If they will not stop, reboot and then stop themBrowse to C:\ProgramData\Microsoft\Windows\Hyper-V.

      Delete data.vmcs

      Delete the contents of all xxxx Cache folders (e.g. Groups Cache, Planned Snapshots Cache… etc)

      Delete the contents of the Resource Types folder

      Reboot the server and retry the live migration

    2. Delete the VM configuration files for the VM in question and attach its existing VHDX(s) to a new set of configuration files. This will force the creation of a new VMID which will bypass the lock. This will not however solve the original issue (which may lead to other problems in the future) and for Windows VM’s may require Windows to be reactivated.
    0x8000FFFF

    Event ID:
    20864

    Virtual machine failed to generate VHD tree: ‘Catastrophic failure'(‘0x8000FFFF’).

    1. The configuration file references a VM checkpoint data-set that either has been lost from the file system or does not exist in the context of a VM that has been restored from backup. You will need to restore the checkpoint or edit the Virtual Machine Configuration file to resolve the error.For more information see ‘Hyper-V VM Stuck checkpoint after restore from backup‘
    0x80041024

    Event ID: 16000

    The Hyper-V Virtual Machine Management service encountered an unexpected error: Provider is not capable of the attempted operation (0x80041024).

    1. One or both of the Hyper-V servers has an invalid or inaccessible IP address/network address on the “Incoming live migrations” list on the “Live Migrations” tab in Hyper-V settings.
    2. The live migration network is down, the/a cable is unplugged or faulty.
    3. On the destination Hypervisor issue the command:
      netstat -an | find "6600"
      If the query returns no results for TCP 6600 issue the command:
      net stop vmms & net start vmms
      Now re-test the netstat command.
      If the initial netstat command returns a result, or after it returns a result the migration still does not work, there is a firewall blocking traffic into TCP port 6600 on the destination hypervisor.
    0x80070002 Could not create backup checkpoint for virtual machine ‘<VM Name>’: The system cannot find the file specified. (0x80070002). (Virtual machine ID <VM GUID>).

    For more on this, seem my in-depth article.

    1. Check that you have enough disk space on the volume to perform the VSS. If your volume is sub-15%, try using the Hyper-V Manager to change the snapshot directory to another volume – plug in an external NTFS formatted hard drive if you have to.
    2. Check the permissions of the VHD stated in the error.
      icacls “C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\<VHD File>” /grant “NT VIRTUAL MACHINE\Virtual Machines”:F
    3. Check that you can manually checkpoint/snapshot the VM while it is running.
      In Hyper-V Manager or in PowerShell, force a checkpoint on the VM and then delete it and wait for it to merge back. If this works, you are not having a physical VSS issue. If it fails, you need to troubleshoot this and not the WSB error.
    4. Live Migrate the VM off of the current server and onto a different Hypervisor, attempt the backup here, then bring it back to the original server and try again. This process will reset the permissions on the VM file set. If you cannot live or offline migrate the VM, the you need to troubleshoot this and not the WSB error.
    5. Ensure that all VHDX files associated with the VM are on the same storage volume and not spread across multiple Volumes/LUNs (be it individual disks, logical RAID or iSCSI disks). If they are, move them to a common location and retry the operation.
    0x80070003

    Event ID:
    32000

    Hyper-V Replication could not be enabled

    1. Under Hyper-V Settings> Replication Configuration. Ensure that the path shown under ‘Specify the default location to store Replica files:’ is a valid path on the server
    0x80070005 ‘General access denied error'(‘0x80070005’)

    For more on this, see my in-depth article.

    1. If you are using a management console (not the local Hyper-V console to perform the migration. You must setup Kerberos Constrained Delegation for all of your Hyper-V hosts machine accounts in Active Directory.
    2. Ensure that both NetBIOS and fully qualified DNS entries exist in the Constrained delegation (click the “Expanded” check box to verify this) e.g. myserver1 and mysever1.mydomain.local for both “CIFS” and “Microsoft Virtual System Migration Service”.
    3. For Hyper-V 2008, 2008 R2, 2012 and 2012 R2 “Trust this computer for delegation to specified services only” should be used along with “Use Kerberos only”.
    4. For Hyper-V 2016 and 2019 or a mixed environment “Trust this computer for delegation to specified services only” must be used along with “Use any authentication protocol”.
    0x80070057 vm\service\vmmgr\vmmsvirtualmachineobject.cpp(8731)\vmms.exe!00007FF64FDCB0D0: (caller: 00007FF65028C7DA) ReturnHr(110) tid(19b4) 80070057 The parameter is incorrect.
    Msg:[vm\service\vmmgr\vmmsvirtualmachineobject.cpp(8725)\vmms.exe!00007FF64FE3C560: (caller: 00007FF65028C7DA) Exception(306) tid(19b4) 80070057 The parameter is incorrect.
    ]Note: The Memory ranges, process ID’s and exception codes do not need to match

    1. For more on this see 0x80004005, Event ID 21002 & 16300 & 1106
    0x8007274C

    Event ID: 20306

    The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host ‘<Hypervisor FQDN>’: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (0x8007274C).

    1. The Live Migration firewall rules have not been enabled in Windows Firewall (or your third party firewall). This is especially easy to forget on Server Core and Hyper-V Server installs.
    2. No DNS server(s) or invalid DNS server(s) have been specified on the network configuration for the hypervisor.
    3. Specified DNS server(s) are unreachable.
    4. An intermediate firewall or IDS blocked the request. Ensure that you check that your migration NIC connections are not running in a ‘public/restricted LAN profile.
    0x8007274D

    Event ID: 20306

    The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host ‘<hostname>’: No connection could be made because the target machine actively refused it. (0x8007274D).

    1. If you are using a Windows NIC Team, there is a chance that the Hyper-V Management Service loaded before the NIC Team converged. This created a failed race condition. Consequently, the VMMS service will not have bound to Port 6600, causing this error. You can check for this condition by executing either of the following.
      CMD:
      netstat -an | find "6600"
      PowerShell:
      netstat -an | find `"6600`"If no results are returned for TCP Port 6600, you are impacted by this race condition.
      to solve the issue in the immediate term, execute either of the following.
      CMD:
      net stop vmms & net start vmms
      PowerShell:
      restart-service vmmsTo resolve the issue long-term. Use service.msc to set the ‘Hyper-V Management Service from ‘Automatic’ start to ‘Delayed Start’. This will usually be sufficient to ensure that the service binds correctly. If it is not, you will need to add a watchdog on the port binding and service.
    2. An intermediate firewall or IDS blocked the request. Ensure that you check that your migration NIC connections are not running in a ‘public/restricted LAN profile.
    0x8009030C

    Event ID: 20302, 20306

    Attempting to Live Migrate a VM between two servers from a third management workstation results in:

    The Virtual Machine Management Service failed to authenticate the connection for a Virtual Machine migration at the source host: The logon attempt failed (0x8009030C).

    The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host ‘<hostname>’: The logon attempt failed (0x8009030C).

    Live Migration worked previously and Kerberos Constrained Delegation is verified as being correctly setup on the Domain Controller. Port 6600 is correctly servicing on both Hyper-V peers on the correct IP interface.

    If you enable Kerberos Ticket Auditing on your domain controllers you receive Event ID 4769 with a failure code of 0x29:

    A Kerberos service ticket was requested.

    Account Information:
    Account Name: <hostname>$@<domain name>
    Account Domain: <domain name>
    Logon GUID: {00000000-0000-0000-0000-000000000000}

    Service Information:
    Service Name: Microsoft Virtual System Migration Service/<fqdn>
    Service ID: NULL SID

    Network Information:
    Client Address: ::ffff:172.16.1.8
    Client Port: 58871

    Additional Information:
    Ticket Options: 0x40830000
    Ticket Encryption Type: 0xFFFFFFFF
    Failure Code: 0x29
    Transited Services: –

    Error Code 0x29 or error KRB_AP_ERR_MODIFIED means that the Kerberos message checksum failed and the message is suspected of being modified in transit as a result of the checksum mismatch.

    Possible ‘natural’ explanations for this include:

    1. The authentication data was encrypted with the wrong key for the intended server.
    2. The authentication data was modified in transit by a hardware or software error, or by an attacker.
    3. The client sent the authentication data to the wrong server because incorrect DNS data caused the client to send the request to the wrong server.
    4. The client sent the authentication data to the wrong server because DNS data was out-of-date on the client.

    In this case it is likely that it is being caused by a bug in the Kerberos Service on Windows Server Domain Controllers as identified in an emergency out-of-bound patch release on 14th November 2021 for Windows Server 2008 R1 and higher.

    View: Windows Message Centre Announcement

    “Take action: Out-of-band update to address authentication issues on DCs relating to Kerberos delegation scenarios

    Microsoft is releasing Out-of-band (OOB) updates today, November 14, 2021, to resolve issues in which authentication might fail on DCs with certain Kerberos delegation scenarios on all supported versions of Windows Server when used as a Domain Controller. To get the standalone update package, search for it in the Microsoft Update Catalog. You can import this update into Windows Server Update Services (WSUS) manually. See the Microsoft Update Catalog for instructions. Note These updates are not available from Windows Update and will not install automatically.”

    You need to patch your Domain Controllers (not the Hypervisors) with the following KB’s and restart them to fix the problem:

    • Windows Server 2019: KB5008602
    • Windows Server 2016: KB5008601
    • Windows Server 2012 R2: KB5008603
    • Windows Server 2012: KB5008604
    • Windows Server 2008 R2 SP1: KB5008605
    • Windows Server 2008 SP2: KB5008606


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

    Интересное по теме:

  • Неожиданная ошибка stellaris
  • Неонатальный скрининг новорожденных ошибки форум
  • Неожиданная ошибка directx
  • Неон вд 203 коды ошибок
  • Необходимо отметить о важности следующих проблем найдите ошибки

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии