После установки некоторых обновлений касающихся работы Hyper-V на некоторых хостах виртуализации в журнале роли Hyper-V можно обнаружить ошибку с кодом 19510, фиксирующуюся каждые 5 минут:
Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
Source: Microsoft-Windows-Hyper-V-VMMS
Date: 11.02.2016 10:18:32
Event ID: 19510
Level: Error
User: SYSTEM
Computer: KOM-AD01-VM10.holding.com
Description:
The Integration Services Setup Disk image could not be updated: The process cannot access the file because it is being used by another process. (0x80070020).
Причиной появления такой ошибки может стать наличие подмонтированного образа компонент интеграции (%SystemRoot%System32vmguest.iso) на одной или нескольких виртуальных машинах хоста. Чтобы быстро отловить такие машины выполним PS-команду:
Get-VMDvdDrive -VMName * | Where {$_.Path -like "*vmguest.iso"}
![]()
Как видим, в нашем случае на одной из виртуальных машин действительно подмонтирован диск с компонентами интеграции. Отключить его использование можно либо через консоль Hyper-V Manager в свойствах соответствующей виртуальной машины, либо, если таких машин несколько, быстрее это сделать с помощью PS:
Get-VMDvdDrive -VMName * | Where {$_.Path -like "*vmguest.iso"} | Set-VMDvdDrive -Path $null
Спустя 5 минут после этого образ будет успешно обновлён и в журнале появится соответствующее событие:
Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
Source: Microsoft-Windows-Hyper-V-VMMS
Date: 11.02.2016 11:08:33
Event ID: 19500
Level: Information
User: SYSTEM
Computer: KOM-AD01-VM10.holding.com
Description:
The Integration Services Setup Disk image was successfully updated.
Не забывайте освобождать виртуальные приводы во избежание проблем подобного рода ![]()
- Remove From My Forums
-
General discussion
-
dears,
I’ve a server that host a lot of Virtual machines, it is restarting by itself every week and it gives me the below error. I tried to find a solution but I found nothing, can any one help me?
The description for Event ID 19510 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on
the local computer.If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
%%2147942432
0x80070020The locale specific resource for the desired message is not present
-
Edited by
Sunday, January 8, 2017 2:18 PM
-
Edited by
- Remove From My Forums
-
Question
-
Hi all,
Having a bit of a nightmare with Hyper-V on my Windows 8 Pro laptop — Whenever I create a new VM and try to start it I receive the following error;
‘Failed to start the virtual machine ‘test’ because one of the Hyper-V components is not running.’
I sometimes also receive an error saying something along the lines of ‘Unable to change virtual machine state’
I have done a lot of searching a seen two common answers — The first is to try removing the Hyper-V role and re-adding it — I have tried this several times to no avail. (Intel VT and all virtualisation capabilities are enabled in BIOS). The second issue
it would seem
some people have had relates to editing the VMX configuration file and adding the line
hypervisor.cpuid.v0 = «FALSE» — I thought VMX files were only present in VMware Virtual Machines…Any help would be greatly appreciated.
Many thanks in advance.
James
Answers
-
I solved my issue by uninstalling my Safend policy. Only uninstalling worked not just deactivation or turning off the policy.
-
Marked as answer by
Tuesday, December 10, 2013 10:28 AM
-
Marked as answer by
- Remove From My Forums
-
Question
-
Hi all,
Having a bit of a nightmare with Hyper-V on my Windows 8 Pro laptop — Whenever I create a new VM and try to start it I receive the following error;
‘Failed to start the virtual machine ‘test’ because one of the Hyper-V components is not running.’
I sometimes also receive an error saying something along the lines of ‘Unable to change virtual machine state’
I have done a lot of searching a seen two common answers — The first is to try removing the Hyper-V role and re-adding it — I have tried this several times to no avail. (Intel VT and all virtualisation capabilities are enabled in BIOS). The second issue
it would seem
some people have had relates to editing the VMX configuration file and adding the line
hypervisor.cpuid.v0 = «FALSE» — I thought VMX files were only present in VMware Virtual Machines…Any help would be greatly appreciated.
Many thanks in advance.
James
Answers
-
I solved my issue by uninstalling my Safend policy. Only uninstalling worked not just deactivation or turning off the policy.
-
Marked as answer by
Tuesday, December 10, 2013 10:28 AM
-
Marked as answer by
- Remove From My Forums
-
General discussion
-
dears,
I’ve a server that host a lot of Virtual machines, it is restarting by itself every week and it gives me the below error. I tried to find a solution but I found nothing, can any one help me?
The description for Event ID 19510 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on
the local computer.If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
%%2147942432
0x80070020The locale specific resource for the desired message is not present
-
Edited by
Sunday, January 8, 2017 2:18 PM
-
Edited by
- Remove From My Forums
-
General discussion
-
dears,
I’ve a server that host a lot of Virtual machines, it is restarting by itself every week and it gives me the below error. I tried to find a solution but I found nothing, can any one help me?
The description for Event ID 19510 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on
the local computer.If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
%%2147942432
0x80070020The locale specific resource for the desired message is not present
-
Edited by
Sunday, January 8, 2017 2:18 PM
-
Edited by
Hi Everyone,
I am runnning Hyper-V 2012 R2 with few VM’s and some of the VMs are keep failing for backup.
I have tried rebooting the VM (2008 R2 sp1) few times and vssadmin list writers comes clean after every reboot but after every time I try to backup the writers shows errors, different component tho.
To isolate the VSS issue, I ran Windows server backup and it did backup successfully.
there are 3 VHD’s
C — 21% free disk space
D — 36 %
free disk space
E — 14.14
free disk space
I am running Carbonite and Altaro both failing with below error: (in the last month Altaro was always successful to run the backup’s)
I tried to backup other VM’s on same Host with both Altaro and Carboniteand they are good.
Altaro Error:
A problem with Windows Shadow Copy was detected
In order to back up VMs in a consistent state, Altaro VM Backup requests Windows to perform a Shadow Copy before each backup. These problems are normally caused by Windows configuration issues which are easily resolved.
The operation encountered an error. (Error code ‘BASEBACKUPCONTROLLER_016’)
Additional information is available:
Hyper-V reported that there was a problem taking an internal shadow copy on this VM. The Hyper-V VSS writer operation failed because of an error that might recur if another shadow copy is created. (Error code ‘VSS_5015’)
Please check the Windows Event Log for more details, especially the «Hyper-V VMMS» event log on the Hyper-V host.
Carbonite Error:
20496:27524:2017-12-20T17:25:37:780Z::?CheckForErrorInVSSConf: Found failure message in VSS config
FailureMsg=»» ErrorCode=»-2147212300″ ApplicationErrorCode=»-2147024816″.?
?20496:27524:2017-12-20T17:25:38:994Z::?zwcVSS: zwcDeleteSnapshot: DeleteSnapshot Failed 0x00000000?
?20496:27524:2017-12-20T17:25:38:994Z::?zwcVSS: Error String: S_OK?
?20496:27524:2017-12-20T17:25:38:994Z::?zwcVSS: zwcDeleteSnapshot: BackupComplete Failed 0x80042301?
?20496:27524:2017-12-20T17:25:38:994Z::?zwcVSS: Error String: VSS_E_BAD_STATE?
?20496:27524:2017-12-20T17:25:38:997Z::?zwcVSS: zwcDeleteSnapshot: DeleteSnapshot Failed 0x80042308?
?20496:27524:2017-12-20T17:25:38:997Z::?zwcVSS: Error String: VSS_E_OBJECT_NOT_FOUND?
Hyper-V Host event logs:
Event ID — 18012 — Checkpoint operation for ‘VM Name’ failed. (Virtual machine ID AC72F43B-3380-4144-84B1-586BA825234A)
Event ID — 10150 — The description for Event ID 10150 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
VM Name
AC72F43B-3380-4144-84B1-586BA825234A
%%2147942480
0x80070050
The locale specific resource for the desired message is not present
Event ID — 10172 -VSS writers inside virtual machine ‘VM’ failed to perform BackupComplete to its shadow copy (VSS snapshot) set: A function call was made when the object was in an incorrect state for that function (0x80042301). (Virtual machine ID AC72F43B-3380-4144-84B1-586BA825234A)
Event ID — 16010 — The operation failed.
Event ID — 19070 — ‘VM’ background disk merge has been started. (Virtual machine ID AC72F43B-3380-4144-84B1-586BA825234A)
Event ID — 19080 — ‘VM’ background disk merge has been finished successfully. (Virtual machine ID AC72F43B-3380-4144-84B1-586BA825234A)
Thanks everyopne in Advance and much appreciated.
Как старший программный менеджер в группе Product Quality and Online (PQO), я особое внимание уделяю технологиям виртуализации, то есть продуктам Microsoft Hyper-V Server, System Center Virtual Machine Manager (SCVMM), Microsoft Application Virtualization (App-V), Microsoft Enterprise Desktop Virtualization (MED-V) и Windows Virtual PC. Совместно с командами разработчиков я работаю над решением проблем, о которых пользователи сообщают в службу поддержки Microsoft. Данные проблемы следует учитывать всем, кто планирует устанавливать Hyper-V или уже работает с ним
.
Исключения в антивирусе
Если на сервере Hyper-V установлено антивирусное программное обеспечение и файлы виртуальной машины Hyper-V не добавлены в список исключений компонента сканирования в реальном времени, то вы можете столкнуться со множеством трудностей. Наиболее распространенная проблема — администратор открывает консоль управления Hyper-V и обнаруживает, что виртуальные машины исчезли. Другие симптомы:
- проблемы с производительностью виртуальных машин;
- создание или запуск виртуальной машины заканчивается неудачей, при этом появляется одно из следующих сообщений:
- The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8);
- VMName’ Microsoft Synthetic Ethernet Port (Instance ID{7E0DA81A-A7B4-4DFD-869F-37002C36D816}): Failed to Power On with Error ‘The specified network resource or device is no longer available.’ (0x80070037);
- The I/O operation has been aborted because of either a thread exit or an application request. (0x800703E3).
Чтобы избежать этих проблем, добавьте в список исключений компонента сканирования в реальном времени в своем антивирусе перечисленные ниже папки и файлы.
- Папка, в которой по умолчанию хранятся настройки виртуальных машин (C:ProgramDataMicrosoftWindowsHyper-V).
- Другие папки конфигураций виртуальных машин.
- Папка, в которой по умолчанию хранятся VHD-файлы (C:UsersPublicDocumentsHyper-VVirtual Hard Disks).
- Другие папки, в которых хранятся VHD-файлы.
- Папки, в которых хранятся снимки.
- Vmms.exe (возможно, придется настроить как процесс-исключение в антивирусной программе).
- Vmwp.exe (возможно, придется настроить как процесс-исключение в антивирусной программе).
Рекомендуемые исключения, необходимые для работы Hyper-V, а также известные проблемы, связанные с антивирусным программным обеспечением, описаны в статье Microsoft «Virtual machines are missing in the Hyper-V Manager Console or when you create or start a virtual machine, you receive one of the following error codes: ‘0x800704C8’, ‘0x80070037’ or ‘0x800703E3’» (support.microsoft.com/kb/961804).
Снимки и нехватка места на диске
Если снимки не могут быть объединены из-за нехватки места на диске (то есть error0x80070070), не удаляйте файлы с расширением. avhd (файлы снимков). В результате удаления файлов. avhd произойдет потеря данных, которая приведет к тому, что виртуальная машина перестанет запускаться. Если у вас нет возможности освободить необходимое дисковое пространство на томе, где хранятся файлы. avhd, требуется сделать следующее:
- Экспортировать виртуальную машину на том, где достаточно свободного места на диске.
- После завершения экспорта откройте консоль управления Hyper-V и удалите виртуальную машину, которую экспортировали.
- Импортируйте виртуальную машину из нового места хранения. Если версия Hyper-V ниже Windows Server 2008 R2, включите виртуальную машину, а затем выключите ее, чтобы запустить процесс объединения в новом месте хранения.
Полный список наработанных методов использования снимков можно найти в статье TechNet «Hyper-V Virtual Machine Snapshots: FAQ» по ссылке technet.microsoft.com/en-us/library/dd560637(WS.10).aspx.
Компоненты интеграции не обновлены
После того как исправление или обновление для Hyper-V установлено на сервер (Windows 2008 R2, Server 2008 или Microsoft Hyper-V Server), просмотрите документацию, связанную с исправлением, чтобы узнать, требует ли это исправление обновления компонентов интеграции виртуальной машины. Вы также можете просмотреть список обновлений Hyper-V на сайте TechNet, чтобы выяснить, включает ли обновление усовершенствованные компоненты интеграции.
- Список обновлений Hyper-V для Windows Server 2008: technet.microsoft.com/en-us/library/dd430893(WS.10).aspx?lc=1033.
- Список обновлений Hyper-V для Windows Server 2008 R2: technet.microsoft.com/en-us/library/ff394763(WS.10).aspx.
Пример проблемы, которая может возникнуть из-за устаревших компонентов интеграции, можно найти в статье Microsoft «The network connection is lost on a Hyper-V virtual machine» (support.microsoft.com/kb/2223005), где говорится об исправлении для Hyper-V, которое решает проблему сетевого подключения к виртуальной машине. Для этого исправления требуется обновить компоненты интеграции виртуальных машин с системами Windows XP и Windows Server 2003. Если исправление установить на сервер Hyper-V, но не обновить компоненты интеграции виртуальной машины, то, вероятно, сетевая проблема, которую должно было устранить исправление, останется.
Чтобы определить, какие виртуальные машины имеют устаревшие компоненты интеграции, можно просмотреть журнал событий Microsoft-Windows-Hyper-V-Integration/Admin. Если виртуальная машина использует устаревшие компоненты интеграции, то при ее запуске в журнал будет записано следующее событие:
Log Name: Microsoft-Windows-Hyper-VIntegration-Admin
Source: Microsoft-Windows-Hyper-V-Integration
Event ID: 4010
Level: Warning
Description: Hyper-V Heartbeat connected to virtual machine ‘vmname’, but the version does not match the version expected by Hyper-V (Virtual machine ID A5C22E8D-5F58-4186-832F-E7C2AE0B4804). This is an unsupported configuration. This means that technical support will not be provided until this problem is resolved. To fix this problem, upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.
Событие с идентификатором 4010 будет записано для каждой устаревшей службы интеграционного компонента виртуальной машины (экран 1).
![]() |
| Экран 1. Событие 4010 в журнале |
Вы также можете задействовать инструмент Hyper-V Best Practices Analyzer (BPA) или сценарии PowerShell, чтобы определить, какие виртуальные машины имеют устаревшие компоненты интеграции. Узнать, как получить инструмент Hyper-V BPA, можно из статьи Microsoft «Hyper-V BPA for Windows Server 2008 R2 is now available» (support.microsoft.com/kb/977238). Команда разработчиков Hyper-V разместила сценарий PowerShell в хранилище сценариев TechNet по ссылке gallery.technet.microsoft.com/scriptcenter/251337c5-ab97-40b3-a888-80b68102d1d5.
Функция Refresh virtual machine configuration и кластер
Консоль управления Hyper-V не поддерживает кластеры, и это означает, что изменения настроек виртуальных сетей или виртуальных машин в данной консоли должны быть продублированы на другие узлы кластеров с помощью функции Refresh virtual machine configuration в консоли диспетчера отказоустойчивых кластеров.
Если не воспользоваться этой функцией, то виртуальная машина либо вообще не сможет перемещаться между узлами кластера, либо ее параметры (например, VLAN ID), которые были изменены, будут потеряны при перемещении виртуальной машины на другой узел кластера Hyper-V. Чтобы обновить настройки виртуальной машины, выполните следующие шаги.
- В консоли диспетчера отказоустойчивых кластеров откройте раздел Services and Applications, а затем щелкните по виртуальной машине, для которой хотите обновить настройки.
- В окне Actions прокрутите список вниз, щелкните мышью на кнопке More Actions, затем выберите функцию Refresh virtual machine configuration, как показано на экране 2.
![]() |
| Экран 2. Функция Refresh virtual machine configuration |
В системе Server 2008 R2 функцией Refresh virtual machine configuration можно не пользоваться, если вы меняете параметры виртуальной машины с помощью консоли диспетчера отказоустойчивых кластеров. Для изменения параметров виртуальной машины в этой консоли сделайте следующее:
- в консоли диспетчера отказоустойчивых кластеров откройте раздел Services and Applications, затем щелкните по виртуальной машине, для которой хотите изменить параметры;
- в окне Actions щелкните мышью на кнопке Settings, чтобы изменить параметры виртуальной машины.
Сбои в работе Hyper-V
Чтобы посмотреть полный список распространенных проблем в настройке Hyper-V, обратитесь к статье TechNet «Hyper-V: Gotchas» по ссылке social.technet.microsoft.com/wiki/contents/articles/hyper-v-gotchas.aspx. Этот список обновляется раз в квартал при выявлении новых проблем.
Джефф Паттерсон (jeffpatt@microsoft.com) — старший менеджер в команде Product Quality and Online в Microsoft
