Solved

Windows backup on Server '12 HyperV parent returns error when backing up host component

Posted on 2014-09-15
7
733 Views
Last Modified: 2014-09-21
We have a Windows Server '12 HyperV parent that is running bare metal Windows Backups of itself and of its HyperV children.  The backups complete successfully except that they fail to backup the Host Component.  The exact error message is:
Error in backup of C:\\ProgramData\\Microsoft\ during enumerate: Error [0x8007007b] The filename, directory name, or volume label syntax is incorrect.
Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: Host Component
   Caption     : Host Component
   Logical Path:
   Error           : 8078010D
   Error Message   : Enumeration of the files failed.
   Detailed Error  : 8007007B
   Detailed Error Message : (null)


Backups are being performed to a local USB drive.  All other components (bare metal, VHDs, etc) backup successfully.

Several months ago, I did a restore of a child's VHD to an "alternate location" so I could recover some files out of it.  If I recall correctly, something broke as a result.  I don't remember if the subsequent problem was that the VMs wouldn't restart properly or if they wouldn't back up.  I remember that some file location had been altered as a result of me backing up to an alternate location, and that I had to correct a registry entry to fix the problem.

I suspect that the current problem backing up the Host Component is somehow tied to whatever fix I had to do several months ago.  Unfortunately, I didn't document the problem or the solution, so I don't recall specifically what I did.  I do recall that whatever I did fixed the immediate problem.  Searching Google for assistance (even specifying experts-exchange.com) has proved fruitless.
0
Comment
Question by:SINC_dmack
  • 4
  • 3
7 Comments
 
LVL 3

Accepted Solution

by:
Ken earned 500 total points
ID: 40324297
This may seem a silly question, but why do you have two backslashes before and after ProgramData in the path name? Is that the exact error? You may have entered this info incorrectly the first time around and that is why you had the failed backup previously.
0
 

Assisted Solution

by:SINC_dmack
SINC_dmack earned 0 total points
ID: 40324377
Ken, not a silly question--yes, that's the exact error message.  I fired up REGEDIT, and apparently the last time I opened it was when I made the change to fix whatever the problem was several months ago.  

The key is:
HKLM -> Software -> Microsoft -> Windows NT -> CurrentVersion -> Virtualization -> StoreLocation

The value is:
msxml://C:\\ProgramData\\Microsoft\\Windows\\Hyper-V\\InitialStore.xml

I think when I did the restore, that entry was changed to whatever folder I restored the VHD to.  I'm confident that the updated entry was made as a recommendation of whatever website I found the fix on.

I checked the same key on one of my other HyperV '12 Servers and its value is:
msxml://C:\ProgramData\Microsoft\Virtual Machine Manager\HyperVAuthStore.xml

All I can think is that the website where I found the fix had the wrong syntax, because there's no reason I would have consciously implemented extra slashes.  This is probably a case of me just taking at face value the purported fix and copy-and-pasting it into my affected server without questioning the syntax.  

So it seems pretty apparent that the server having the problem may have the wrong registry entry. I've copied the entry from the healthy server to the one experiencing the backup issues and will report tomorrow if this has fixed it.  Thanks!
0
 

Assisted Solution

by:SINC_dmack
SINC_dmack earned 0 total points
ID: 40324396
So, I rebooted the HyperV parent after changing the key to:
msxml://C:\ProgramData\Microsoft\Virtual Machine Manager\HyperVAuthStore.xml

The HyperV service wouldn't start.  Good thing I copied-and-pasted the original entry here.  I modified the key as follows and rebooted:
msxml://C:\ProgramData\Microsoft\Virtual Machine Manager\InitialStore.xml

The HyperV service wouldn't start again, so I reverted to the original key and rebooted:
msxml://C:\\ProgramData\\Microsoft\\Windows\\Hyper-V\\InitialStore.xml

The HyperV service started and all of the children became available.  

So, I went back and just took the extra slashes out of the key, after realizing that the healthy server had not only a different XML file, but that it was stored in a different location.  One more reboot, and everything came up properly, with the correct number of slashes in the registry key.  We'll see how the backup goes tonight.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 3

Expert Comment

by:Ken
ID: 40325399
Sounds good. Yes, I try to backup any registry hives before making changes. I will check back to see how it went.
0
 

Author Comment

by:SINC_dmack
ID: 40325462
Last night's backup completed successfully.  

I Googled for "msxml://C:\\ProgramData\\Microsoft\\Windows\\Hyper-V\\InitialStore.xml" and found this site, which does include a fix with that exact syntax: http://zoomcloud.blogspot.com/2013/04/hyper-v-error-15500.html

I don't know if this was the specific site that I found several months ago when experiencing my initial problem after a restoring a VHD to an alternate location, but I feel at least a little better knowing that it's at least possible since there is at least one site with the fix with double slashes.  Thanks for your help, Ken!
0
 
LVL 3

Expert Comment

by:Ken
ID: 40326829
Glad you worked through it and thanks for posting your solution. Many times a simple comment makes you look at something a little different to find the right path. Might not even be the solution but gets you going. Take care.
0
 

Author Closing Comment

by:SINC_dmack
ID: 40335068
Ken's comment pointed me towards something that probably should have been apparent to me in the first place, and fortunately regedit on the affected server opened to the exact key that was causing the problem, making troubleshooting a lot simpler.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now