Cannot load a virtual machine configuration: The security ID structure is invalid. (0x80070539). (Virtual machine ID BF1F425E-BE12-4901-8F71-8BE48EA34F27)

Posted on 2013-01-20
Medium Priority
Last Modified: 2013-01-25
Hi guys.

I'm not 100% certain what caused it, but when I start my Hyper-V Virtual Machine Management on a 2012 server, virtual machines are listed. When I check the event logs, I get the following message:

Cannot load a virtual machine configuration: The security ID structure is invalid. (0x80070539). (Virtual machine ID BF1F425E-BE12-4901-8F71-8BE48EA34F27)

What I believe may have broken was that this hyper-v was a member of the domain and I dropped it off. After I restarted, I could no longer see the VMs and I got the above message.
I also had SCVMM installed on the box, and removed, don't know if that could have had anything to do with it.

In saying that, the VM was created while the hyper-v was on the workgroup, but the snapshots were created when the hyper-v was a member of the domain. I thought of a permission issue but I checked all the files and the permissions (seems) are correct.

I need help URGENTLY as I need this server up within the next 7 hours.

I thought of just re-creating the VM and pointing to the VHDX as this is intact, but unfortunately the box had two snapshots, so if I do this, it will revert back to the oldest state.

How do I fix this problem OR restore the machine and keep the snapshot? I am afraid to say the guest OS is the Primary Domain Controller so I need this fixed urgently.

Question by:Craig Rutherford
  • 2
LVL 57

Expert Comment

ID: 38798398
The error 0x80070539 is typically related to trying to find a SID.  Not knowing anything about how Hyper-V works, I would assume that there is some SID that is associated with this VM and that when you removed the host from the domain that SID was deleted or at least put in a state that the host OS no longer has access to it.

To me the fix would be to get the host OS back to a state where it was still a member of the domain or somehow get back the SID on the host OS where the host OS could access it.

Accepted Solution

Craig Rutherford earned 0 total points
ID: 38798607
Thanks for the info.

After some brainstorming and testing, what I did to fix was to edit the disk and manually merge the snapshots with the vhdx file. Then I re-created the VM, pointed to the virtual drive, and all seems ok.


Author Closing Comment

by:Craig Rutherford
ID: 38818004
I end up sorting out the issue

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
Want to create a VM?  Here's how you do it.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

623 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