Hyper-V does not work in build 10532

I really need Hyper-V, but it does not work in build 10532. 

As long as it was installed in 10525, upgrade to 10532 failed.

I disabled it in 10525, then upgrade to 10532 worked. But now I can't enable Hyper-V anymore.

This is from CBS.LOG:

2015-08-30 16:05:26, Info                  CSI    00000191@2015/8/30:14:05:26.828 CSIPERF - FileMapsCreated 262ms
2015-08-30 16:05:26, Info                  CSI    00000192 Unable to delete directory [ml:120{60},l:118{59}]"\??\C:\ProgramData\Microsoft\Windows\Hyper-V\Resource Types"; file [l:82{41}]"03CE9A94-E887-40F3-A166-D9E54C42A5BF.vmcx" exists

2015-08-30 16:05:26, Info                  CSI    00000193 Unable to delete directory [ml:90{45},l:88{44}]"\??\C:\ProgramData\Microsoft\Windows\Hyper-V"; file [l:28{14}]"Resource Types" exists

2015-08-30 16:05:26, Info                  CSI    00000194 Unable to delete directory [ml:114{57},l:112{56}]"\??\C:\Users\Public\Documents\Hyper-V\Virtual hard disks"; it is still owned by component Microsoft-Hyper-V-VStack, Version = 10.0.10532.0, pA = amd64, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-08-30 16:05:26, Info                  CSI    00000195 Unable to delete directory [ml:76{38},l:74{37}]"\??\C:\Users\Public\Documents\Hyper-V"; it is still owned by component Microsoft-Hyper-V-VStack, Version = 10.0.10532.0, pA = amd64, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-08-30 16:05:26, Info                  CSI    00000196 Unable to delete directory [ml:48{24},l:46{23}]"\??\C:\WINDOWS\System32"; file [l:22{11}]"stdole2.tlb" exists in file map

2015-08-30 16:05:26, Info                  CSI    00000197 CSIPERF - FilePI Commit 338ms
2015-08-30 16:05:26, Info                  CSI    00000198 Registry installer wrote 1532 (0x00000000000005fc) values

2015-08-30 16:05:27, Info                  CSI    00000199 CSIPERF - GacPI Commit 114ms
2015-08-30 16:05:27, Info                  CSI    0000019a SMI Primitive Installer [done]

2015-08-30 16:05:27, Info                  CSI    0000019b@2015/8/30:14:05:27.062 Primitive installers committed
2015-08-30 16:05:27, Info                  CSI    0000019c Component changelist required a reboot - 4 components are marked BootCritical
    Microsoft-Windows-WinNat, Version = 10.0.10532.0, pA = amd64, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}
    Microsoft-Windows-WNV, Version = 10.0.10532.0, pA = amd64, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}
    Microsoft-Hyper-V-Drivers-Hypervisor, Version = 10.0.10532.0, pA = amd64, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}
    Microsoft-Hyper-V-Drivers-VmSwitch-NetSetup, Version = 10.0.10532.0, pA = amd64, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}
2015-08-30 16:05:27, Info                  CSI    0000019d@2015/8/30:14:05:27.391 Begin executing midground installer for 1 components
    Installer ID: {9ca6102c-8b37-4b53-9acc-4e2ec0217057}
    Installer name: [41]"Services category (svchost group, lanman)"
2015-08-30 16:05:27, Info                  CSI    0000019e@2015/8/30:14:05:27.391 Done executing midground installer in 0ms
2015-08-30 16:05:27, Info                  CSI    0000019f@2015/8/30:14:05:27.391 Begin executing midground installer for 83 (0x00000053) components
    Installer ID: {c4ecd77a-8511-4b18-89bf-c6ebecad4e01}
    Installer name: [26]"Resource Cache (servicing)"
2015-08-30 16:05:27, Info                  CSI    000001a0@2015/8/30:14:05:27.391 Done executing midground installer in 0ms
2015-08-30 16:05:27, Info                  CSI    000001a1@2015/8/30:14:05:27.391 Begin executing midground installer for 11 (0x0000000b) components
    Installer ID: {51d504ad-4868-464c-a504-e6cc8a210a97}
    Installer name: [7]"Service"
2015-08-30 16:05:27, Info                  CSI    000001a2@2015/8/30:14:05:27.406 Done executing midground installer in 18ms
2015-08-30 16:05:27, Info                  CSI    000001a3 Poqexec successfully registered in [ml:30{15},l:28{14}]"PoqexecCmdline"
2015-08-30 16:05:27, Info                  CSI    000001a4@2015/8/30:14:05:27.578 Beginning NT transaction commit...
2015-08-30 16:05:27, Info                  CSI    000001a5@2015/8/30:14:05:27.641 CSI perf trace:
CSIPERF:TXCOMMIT;67850
2015-08-30 16:05:27, Info                  CBS    Startup: Failed to process advanced operation queue.  Drivers and primitives will be rolled back and a restart initiated.

August 30th, 2015 2:18pm

Relevant log excerpt seems to be this:

15-08-30 16:54:19, Info                  CSI    000000af Begin executing advanced installer phase 32 (0x00000020) index 139 (0x000000000000008b) (sequence 172)
    Old component: [l:0]""
    New component: [ml:336{168},l:334{167}]"Microsoft-Windows-Hyper-V-Pci-Express.Resources, Culture=en-US, Version=10.0.10532.0, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS"
    Install mode: install
    Smart installer: FALSE
    Installer ID: {9f4ec79f-3a97-4772-b635-2899468900a2}
    Installer name: [3]"Mof"
2015-08-30 16:54:19, Info                  CSI    000000b0 Performing 1 operations as follows:
  (0)  LockComponentPath: flags: 0 comp: {l:16 b:3cdc9cbf33e3d0015700000004075807} pathid: {l:16 b:3cdc9cbf33e3d0015800000004075807} path: [l:236{118}]"\SystemRoot\WinSxS\amd64_microsoft-windows-h..i-express.resources_31bf3856ad364e35_10.0.10532.0_en-us_9b813d8b73df0048" pid: 704 starttime: 130854200538955888 (0x01d0e333bc7e0070)
2015-08-30 16:54:19, Info                  CBS    Progress: UI message updated. Operation type: Foundation. Stage: 1 out of 1. Percent progress: 78.
2015-08-30 16:54:21, Error                 CSI    000000b1@2015/8/30:14:54:21.189 (F) Logged @2015/8/30:14:54:19.130 : [ml:144{72},l:142{71}]"MOF (install online) $(runtime.System32)\en-US\VirtualPciExpress.V2.mfl"
[gle=0x80004005]
2015-08-30 16:54:21, Error                 CSI    000000b2@2015/8/30:14:54:21.189 (F) CMIADAPTER: Inner Error Message from AI HRESULT = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]
 [
[142]"Fehler beim Erstellen von Objekt 6 in Zeilen 22 - 27:

0X80041002 Klasse, Instanz oder Eigenschaft "CIM_LogicalDevice" wurde nicht gefunden.

"
]
[gle=0x80004005]
2015-08-30 16:54:21, Error                 CSI    000000b3@2015/8/30:14:54:21.189 (F) CMIADAPTER: AI failed. HRESULT = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]
	Element:
	[106]"<mof xmlns="urn:schemas-microsoft-com:asm.v3" name="$(runtime.System32)\en-US\VirtualPciExpress.V2.mfl" />"
[gle=0x80004005]
2015-08-30 16:54:21, Error                 CSI    000000b4@2015/8/30:14:54:21.189 (F) CMIADAPTER: Exiting with HRESULT code = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)].
[gle=0x80004005]
2015-08-30 16:54:21, Info                  CSI    000000b5 Performing 1 operations as follows:
  (0)  LockComponentPath: flags: 0 comp: {l:16 b:dd09d7c033e3d0015a00000004075807} pathid: {l:16 b:dd09d7c033e3d0015b00000004075807} path: [l:230{115}]"\SystemRoot\WinSxS\x86_microsoft.windows.s..ation.badcomponents_31bf3856ad364e35_10.0.10532.0_none_692acab4b4f3927e" pid: 704 starttime: 130854200538955888 (0x01d0e333bc7e0070)
2015-08-30 16:54:21, Error      [0x018020] CSI    000000b6 (F) Failed execution of queue item Installer: Mof ({9f4ec79f-3a97-4772-b635-2899468900a2}) with HRESULT 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)].  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
20

Free Windows Admin Tool Kit Click here and download it now
August 30th, 2015 3:13pm

Lines 22-27 of that file are:

//
// Copyright (c) 2010 Microsoft Corporation, All Rights Reserved
//

#pragma autorecover
#pragma classflags("forceupdate")

//
// Remove the top level classes first to guarantee a fresh update.
//

#pragma namespace("\\\\.\\root\\virtualization\\v2\\ms_409")

#pragma deleteclass("Msvm_VirtualPciExpress", NOFAIL)
#pragma deleteclass("Msvm_VirtualPciExpressSettingData", NOFAIL)
#pragma deleteclass("Msvm_AssignableDeviceService", NOFAIL)
#pragma deleteclass("Msvm_AssignableDeviceDismountSettingData", NOFAIL)#pragma namespace("\\\\.\\root\\virtualization\\v2")
instance of __namespace{ name="ms_409";};
#pragma namespace("\\\\.\\root\\virtualization\\v2\\ms_409")

[Description("Represents the state of the PCI Express port.") : Amended,AMENDMENT, LOCALE(0x0409)] 
class Msvm_PciExpress : CIM_LogicalDevice
{
  [Description("A string containing the device instance path that identifies the device virtual pci express device.") : Amended] string DeviceInstancePath;
  [Description("A string containing the device location path that identifies the device virtual pci express device.") : Amended] string LocationPath;
  [Description("The function number of the virtual pci express device.") : Amended] uint16 FunctionNumber;
};

[Description("Represents the configured state of a PCI express port.") : Amended,AMENDMENT, LOCALE(0x0409)] 
class Msvm_PciExpressSettingData : CIM_ResourceAllocationSettingData
{
  [Description("A free-form string array of identifiers of this resource presented to the virtual computer system's operating system. The indexes and values per index are defined on a per resource basis (that is, for each enumerated ResourceType value). This property is set to \"GUID\".\nThis is a read-only property, but it can be changed using the ModifyVirtualSystemResources method of the sd class.") : Amended] string VirtualSystemIdentifiers[];
};

[Description("Manages the assignable devices on a host computer system.") : Amended,AMENDMENT, LOCALE(0x0409)] 
class Msvm_AssignableDeviceService : CIM_Service
{
  [Values{"Completed with No Error", "Method Parameters Checked - Job Started", "Failed", "Access Denied", "Not Supported", "Status is unknown", "Timeout", "Invalid parameter", "System is in use", "Invalid state for this operation", "Incorrect data type", "System is not available", "Out of memory", "File not found"} : Amended,Description("Dismounts the specified PCI device so that it can be assigned.") : Amended] uint32 DismountAssignableDevice([In,Description("String containing the device instance path to a PCI device.") : Amended] string DismountSettingData,[Out,Description("String containing the device instance path to the dismounted device.") : Amended] string DismountedDeviceInstancePath,[Out,Description("A reference to the job (can be null if the task is completed).") : Amended] CIM_ConcreteJob Ref Job);
  [Values{"Completed with No Error", "Method Parameters Checked - Job Started", "Failed", "Access Denied", "Not Supported", "Status is unknown", "Timeout", "Invalid parameter", "System is in use", "Invalid state for this operation", "Incorrect data type", "System is not available", "Out of memory", "File not found"} : Amended,Description("Mounts the specified PCI device so that it can be used by the host computer system.") : Amended] uint32 MountAssignableDevice([In,Description("String containing the device instance path to a device.") : Amended] string DeviceInstancePath,[In,Description("String containing the device location path to a device.") : Amended] string DeviceLocationPath,[Out,Description("String containing the device instance path to the mounted device.") : Amended] string MountedDeviceInstancePath,[Out,Description("A reference to the job (can be null if the task is completed).") : Amended] CIM_ConcreteJob Ref Job);
};

[Description("Represents the settings of a virtual system to import. Used by the Dismount method of the Msvm_AssignableDeviceService class.") : Amended,AMENDMENT, LOCALE(0x0409)] 
class Msvm_AssignableDeviceDismountSettingData : CIM_SettingData
{
  [Description("PNP device instance ID.") : Amended] string DeviceInstancePath;
  [Description("PNP device location path.") : Amended] string DeviceLocationPath;
  [Description("Indicates if the requisite ACS support should be in place before permitting the dismount.") : Amended] boolean RequireAcsSupport;
  [Description("Indicates if device mitigations should be in place before permitting the dismount.") : Amended] boolean RequireDeviceMitigations;
};

August 30th, 2015 3:16pm

Ok, found a workaround myself.

The installation of Hyper-V Services fails because these two files cannot be compiled:

C:\Windows\WinSxS\amd64_microsoft-windows-h..i-express.resources_31bf3856ad364e35_10.0.10532.0_en-us_9b813d8b73df0048\virtualpciexpress.v2.mfl

C:\Windows\WinSxS\amd64_microsoft-windows-hyper-v-pci-express_31bf3856ad364e35_10.0.10532.0_none_6b822f97783871c3\VirtualPciExpress.v2.mof

Error message says that class CIM_LogicalDevice cannot be found, but there seems to be a general error with the Syntax of these files. 

Now I copied these files to a backup folder, then gave myself permissions (takeown / icacls) and replaced both files with dummy MOF files:

// Copyright (c) 2010 Microsoft Corporation, All Rights Reserved
//

#pragma autorecover
#pragma classflags("forceupdate")

//
// Remove the top level classes first to guarantee a fresh update.
//

#pragma namespace("\\\\.\\root\\virtualization\\v2\\ms_409")

#pragma deleteclass("Msvm_VirtualPciExpress", NOFAIL)
#pragma deleteclass("Msvm_VirtualPciExpressSettingData", NOFAIL)
#pragma deleteclass("Msvm_AssignableDeviceService", NOFAIL)
#pragma deleteclass("Msvm_AssignableDeviceDismountSettingData", NOFAIL)#pragma namespace("\\\\.\\root\\virtualization\\v2")
instance of __namespace{ name="ms_409";};
#pragma namespace("\\\\.\\root\\virtualization\\v2\\ms_409")

After this I was able to install all Hyper-V components, but the virtual switch did not work. But now I was able to compile the original version of VirtualPciExpress.v2.mof (running "mofcomp VirtualPciExpress.v2.mof" in my backup folder). Rebooted again, removed the Virtual Switch from my NIC, and now I was able to configure the virtual switch again and boot my VMs.

  • Marked as answer by svhelden Sunday, August 30, 2015 4:46 PM
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2015 4:46pm

This worked for me, thanks. I didn't need to compile the mof again, the virtual switch worked as soon as I added it.
September 2nd, 2015 3:28pm

 I didn't need to compile the mof again 
Good. Might in my case be related to all the things I tried before.
Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 3:46pm

Hi

Thank you for your suggestion. This didn't work for me, but I am not sure if I did it correctly. Could you kindly comment?

Best wishes

Nima
=============================

1 - went to C:\Windows\WinSxS\amd64_microsoft-windows-hyper-v-pci-express_31bf3856ad364e35_10.0.10532.0_none_6b822f97783871c3\ folder
2 - there is only one file there (VirtualPciExpress.v2.mof) no mfl file.
3 - I took over the file and edited to be exactly as you have entered in your code snippet above (no more and no less)
4 - I compiled it (mofcomp <file_path>)
5 - tried to install the hyper-v service (BTW, all other components have installed ok, it is just the service)
6 - restarted and then the same problem (0x800f0922).

My story began exactly like yours and had no hyper-v problem whilst on build 10525.

any advice would be greatly appreciated
September 2nd, 2015 5:15pm


2 - there is only one file there (VirtualPciExpress.v2.mof) no mfl file.

There are two files in two different folders that you need to replace:

C:\Windows\WinSxS\amd64_microsoft-windows-h..i-express.resources_31bf3856ad364e35_10.0.10532.0_en-us_9b813d8b73df0048\virtualpciexpress.v2.mfl

C:\Windows\WinSxS\amd64_microsoft-windows-hyper-v-pci-express_31bf3856ad364e35_10.0.10532.0_none_6b822f97783871c3\VirtualPciExpress.v2.mof


Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 5:19pm

Done a complete search on my entire system and neither of those file exists. I have everything for Hyper-V installed apart from the Hyper-V Services.

This is not the solution for people installing Hyper-V for the first time at least. Maybe those files only exists if you've had it install previously.

September 3rd, 2015 12:41pm

Done a complete search on my entire system and neither of those file exists. 

Under normal circumstances, you may not have access to these folders, so you might not find the files when searching.

You should use PSEXEC to get a commandline as LocalSystem, then type

cd C:\Windows\WinSxS\amd64_microsoft-windows-h..i-express.resources_31bf3856ad364e35_10.0.10532.0_en-us_9b813d8b73df0048\

to get to that directory.

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 12:43pm

Worked for me also, a big thanks!

September 4th, 2015 6:09am

I was able to replace both these files but my Windows said "Wrong parameter 0x80070057".
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 8:04am

Maybe you had a typo in the dummy file. Note that you can not use an empty file.
September 4th, 2015 8:30am

What action do i need to do exactly. 

i dont now what to replace with which files, 

and i cant acces them. 

is this also known at microsoft?

Free Windows Admin Tool Kit Click here and download it now
September 5th, 2015 4:15am

Worked for me also, a big thanks !

Just cannot understand how Microsoft has skipped this...

Eric


September 6th, 2015 2:07am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics