[SOLVED] Unable to install Hyper-V, Duplicate ownership for directory \??\C:\Windows\System32

AlJeffri

Member
Joined
Oct 28, 2018
Posts
24
Dear all

Whenever I try to install Hyper-V in Windows Server 2016, the installation fails and roll back after reaching like 95% completion without any error messages appearing in EventViewer

Things that I have tried so far:

  • Run dism /online /cleanup-image /scanhealth
  • Run dism /online /cleanup-image /checkhealth
  • Run dism /online /cleanup-image /restorehealth
  • Mount the Windows Server 2016 ISO and Run dism /online /cleanup-image /restorehealth /source:WIM:E:\sources\install.wim:1 /limitaccess
  • Run sfc /scannow
  • Run Checkdisk tool on C:
  • Run Windows Update

In CBS.log file I found the following errors and INFOs:
Code:
Error - Overlap: Duplicate ownership for directory \??\C:\Windows\System32 in component Microsoft-Hyper-V-VStack-VMSP, version 10.0.14393.2214, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}


DriverUpdateInstallUpdates failed [HRESULT = 0x80070bc2 - ERROR_SUCCESS_REBOOT_REQUIRED]


Error HRESULT_FROM_WIN32(15010) from InstrumentationManifestAssert at onecore\admin\wmi\events\config\manproc.cpp line 731, online=TRUE


Error HRESULT_FROM_WIN32(15010) in eventsXml: <events><provider guid="{2380c5ee-ab89-4d14-b2e6-142200cb703c}" messageFileName="%SystemRoot%\system32\SlbHostPlugin.dll" name="Microsoft-Windows-SoftwareLoadBalancer-HostPlugin" resourceFileName="%SystemRoot%\system32\SlbHostPlugin.dll" symbol="SLB_HOST_PLUGIN_EVENTS"><channels xmlns="http://schemas.microsoft.com/win/2004/08/events">


Failed execution of queue item Installer: Events ({3bb9fd2b-351e-4b9c-b1fc-ed0758805998}) with HRESULT HRESULT_FROM_WIN32(15010).  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]


Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]


Startup: Failed to process advanced operation queue, startupPhase: 0.  A rollback transaction will be created. [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]


DriverUpdateUninstallUpdates failed [HRESULT = 0x80070bc2 - ERROR_SUCCESS_REBOOT_REQUIRED]


Startup: Processing complete. [HRESULT = 0x80070bc2 - ERROR_SUCCESS_REBOOT_REQUIRED]


Error - Overlap: Duplicate ownership for directory \??\C:\Windows\System32 in component Microsoft-Hyper-V-VStack-VMSP, version 10.0.14393.2214, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}


Not able to query DisableWerReporting flag.  Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]


Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]


Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]


Startup: Processing complete. [HRESULT = 0x80070bc2 - ERROR_SUCCESS_REBOOT_REQUIRED]

Note that I've tried to upload CBS.log but it's exceeds forum limitation as it's about 4MB in size.


This issue is driving me crazy as I couldn't find any solid solution for it so far, unfortunately most people are giving up and just reinstall Windows which is not an option in my case.


Thanks in advance
 
Step#1 - Export EventLog Key




  1. Click on the Start button type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog

  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (*.*)
  6. Name this file EVTLOG (with no file extension) and save it to your Desktop.




Once done please upload this file via a file sharing service of your choice.
 
And one more:

Step#1 - Export Publishers Key


  1. Click on the Start button type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers

  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (*.*)
  6. Name this file PUB (with no file extension) and save it to your Desktop.


Once done please upload this file via Dropbox or One Drive or SendSpace.
 
1. Download this file: http://live.sysinternals.com/procmon.exe
2. Run ProcMon.exe
3. Go to the Options menu, and click Enable Boot Logging and then close Procmon.
4. Create a folder on your Desktop in which you'll save the logs.
5. Try installing Hyper - V as you usually would.
6. Reboot your computer when requested.
7. Relaunch ProcMon. A dialogue box will appear asking if you wish to save the collected data. Please click Yes.
8. Save the file in the default format (.PML)
9. Save the file in a folder on your Desktop that you have created in Step 4.
10. Close ProcMon.
11. Zip up the entire folder containing ProcMon logs and upload to a filesharing service for me to review along with your CBS.log.
 
Step#1 - FRST Fix
NOTICE: This script was written specifically for this user, for use on that particular machine. Running this on another machine may cause damage to your operating system
1. Please download Farbar Recovery Scan Tool and save it to your Desktop.
Note: You need to run the 64-bit Version so please ensure you download that one.
2. Download attached file and save it to the Desktop.
Note. It's important that both files, FRST64 and fixlist.txt are in the same location or the fix will not work (in this case...the desktop).
3. Run FRST64 by Right-Clicking on the file and choosing Run as administrator.
4. Press the Fix button just once and wait. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
5. When finished FRST64 will generate a log on the Desktop (Fixlog.txt). Please post the contents of it in your reply.
 

Attachments

Please create a system restore point. Then open CMD as Admin and run the following commands one after another, pressing Enter after each:

Code:
sc config winmgmt start= disabled
net stop winmgmt /y
%systemdrive%
cd %windir%system32wbem
for /f %s in ('dir /b *.dll') do regsvr32 /s %s
regsvr32 %windir%system32tscfgwmi.dll wmiprvse /regserver net start winmgmt for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s cd C:WindowsSystem32wbemAutoRecover
for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
 
I got this error message while executing the fourth line
(The command-flag "/regserver" is not valid.). Screenshot attached


Note that I've fixed some mistakes in the paths and that I'm executing the commands one line at a time (total of 7 lines)
Code:
sc config winmgmt start= disabled
net stop winmgmt /y
%SystemDrive%
cd %windir%\system32\wbem
for /f %s in ('dir /b *.dll') do regsvr32 /s %s
regsvr32 %windir%\system32\tscfgwmi.dll wmiprvse /regserver net start winmgmt for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s cd C:\Windows\System32\wbem\AutoRecover
for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
 

Attachments

  • Error.png
    Error.png
    16.8 KB · Views: 4
After Googling I managed to execute all commands successfully in the following order
Code:
sc config winmgmt start= disabled
net stop winmgmt /y
%SystemDrive%
cd %windir%\system32\wbem
for /f %s in ('dir /b *.dll') do regsvr32 /s %s
regsvr32 %windir%\system32\tscfgwmi.dll
wmiprvse /regserver
net start winmgmt
for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
cd C:\Windows\System32\wbem\AutoRecover
for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
 
Unfortunately after the machine get restarted and reached like %98 of installing Hyper-V I got the same old error message:
Code:
Windows couldn't complete the features
Undoing changes
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top