Machines Fail to Start and Initialize

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 384
    Window 10
    Thread Starter
       #11

    Kari said:
    Could you please do as I asked. I am not interested in Event Viewer reports, I want to see the full error message when you start the vm. Usually these error messages have a Details link, I am mostly interested to see the detailed error description.
    Sorry, I thought I did as you asked. When clicking on the "details" tab this is a what the XML view is for the 3040 error (with extra line returns deleted). The error 15130 error XML error output follows it.
    2040 Error:
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
    <EventID>3040</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2015-08-07T18:08:18.707154700Z" />
    <EventRecordID>224</EventRecordID>
    <Correlation />
    <Execution ProcessID="6300" ThreadID="7024" />
    <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
    <Computer>i5-Win8-1</Computer>
    <Security UserID="S-1-5-83-1-3049452786-1304491133-4189872545-898222336" />
    </System>
    - <UserData>
    - <VmInitialize
    xmlns
    ="http://www.microsoft.com/Windows/Virtualization/Events">
    <VmName>Friday Test 2</VmName>
    <VmId>B5C2F4F2-F47D-4DC0-A161-BCF900C98935</VmId>
    </VmInitialize>

    </UserData>
    </Event>

    The 15130 error:
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />

    <EventID>15130</EventID>

    <Version>0</Version>

    <Level>2</Level>

    <Task>0</Task>

    <Opcode>0</Opcode>

    <Keywords>0x8000000000000000</Keywords>

    <TimeCreated SystemTime="2015-08-07T18:08:19.212255100Z" />

    <EventRecordID>2001</EventRecordID>

    <Correlation />


    <Execution ProcessID="2784" ThreadID="4720" />


    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>i5-Win8-1</Computer>

    <Security UserID="S-1-5-18" />

    </System>


    - <UserData>
    - <VmlEventLog
    xmlns
    ="http://www.microsoft.com/Windows/Virtualization/Events">
    <VmName>Friday Test 2</VmName>

    <VmId>B5C2F4F2-F47D-4DC0-A161-BCF900C98935</VmId>


    </VmlEventLog>


    </UserData>


    </Event>


      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #12

    Sometimes this is difficult! Those are from the Event Viewer, not the error messages from Hyper-V. As such the event ID is useless because with it, to restart the service is about the only advice which can be found.

    Here's an example of a Hyper-V error message. Clicking Show details additional information is shown, which can often help to pinpoint the cause of the error:

    Machines Fail to Start and Initialize-2015-08-07_20h44_13.png
      My Computer


  3. Posts : 384
    Window 10
    Thread Starter
       #13

    Kari said:
    Sometimes this is difficult! Those are from the Event Viewer, not the error messages from Hyper-V. As such the event ID is useless because with it, to restart the service is about the only advice which can be found.

    Here's an example of a Hyper-V error message. Clicking Show details additional information is shown, which can often help to pinpoint the cause of the error:

    Machines Fail to Start and Initialize-2015-08-07_20h44_13.png
    Sorry, I was focused on the even log entries because the popup when I try to start the VM doesn't say much. Here it is:Machines Fail to Start and Initialize-error3.png
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
       #14

    OK in this case the additional info in the error message really does not reveal anything.

    Do you store the virtual hard disks and configuration files on default places? VHD files in C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks, and the configuration files in C:\ProgramData\Microsoft\Windows\Hyper-V? If so you could try this and tell if you could create and run a vm:

    • Create a folder Hyper-V on root of any drive than C:
    • On that folder create a subfolder, name it as VHD, and another with a name VM
    • Create a new VM
    • In New Virtual Machine Wizard, step Specify name and location, select Store the virtual machine in a different location, browse to the Hyper-V\VM folder you created and select it as the location
    • In New Virtual Machine Wizard, step Connect Virtual Hard Disk, click the Browse button next to Location, browse to the Hyper-V\VHD folder you created and select it
    • Finish the setup, launch the vm
      My Computer


  5. Posts : 384
    Window 10
    Thread Starter
       #15

    Kari said:
    OK in this case the additional info in the error message really does not reveal anything.

    Do you store the virtual hard disks and configuration files on default places? VHD files in C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks, and the configuration files in C:\ProgramData\Microsoft\Windows\Hyper-V? If so you could try this and tell if you could create and run a vm:

    • Create a folder Hyper-V on root of any drive than C:
    • On that folder create a subfolder, name it as VHD, and another with a name VM
    • Create a new VM
    • In New Virtual Machine Wizard, step Specify name and location, select Store the virtual machine in a different location, browse to the Hyper-V\VM folder you created and select it as the location
    • In New Virtual Machine Wizard, step Connect Virtual Hard Disk, click the Browse button next to Location, browse to the Hyper-V\VHD folder you created and select it
    • Finish the setup, launch the vm
    I followed the instructions precisely. Checking the Event Log it shows that the VM was created successfully.
    I get the exact same error detail for the new machine as I posted earlier.
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
       #16

    OK, that last one was to test that we do not have any permissions issues; if you get the same error message even when everything is located in a folder you created, it's not a permissions issue.

    The last vm you created, please open its settings and take a screenshot of it, post here. An example of what I want to see, settings of a vm:

    Machines Fail to Start and Initialize-2015-08-07_22h30_03.png

    Additionally, please answer the following questions:
    • What kind of user account you are signed in (admin user MS or local, standard user MS or local)?
    • The amount of RAM on your host?
    • Last time before the upgrade when you used a Hyper-V vm, did it open without issues?
    • After the upgrade, has a Hyper-V virtual machine ever worked and started normally or did this start already the first time after the upgrade when you tried to launch a vm?
      My Computer


  7. Posts : 384
    Window 10
    Thread Starter
       #17

    Kari said:
    OK, that last one was to test that we do not have any permissions issues; if you get the same error message even when everything is located in a folder you created, it's not a permissions issue.

    The last vm you created, please open its settings and take a screenshot of it, post here. An example of what I want to see, settings of a vm:

    Machines Fail to Start and Initialize-2015-08-07_22h30_03.png

    Additionally, please answer the following questions:
    • What kind of user account you are signed in (admin user MS or local, standard user MS or local)?
    • The amount of RAM on your host?
    • Last time before the upgrade when you used a Hyper-V vm, did it open without issues?
    • After the upgrade, has a Hyper-V virtual machine ever worked and started normally or did this start already the first time after the upgrade when you tried to launch a vm?
    Here is the screen shot:
    Machines Fail to Start and Initialize-error4.png
    And for your questions:
    What kind of user account you are signed in (admin user MS or local, standard user MS or local)? I am an administrator and get the same errors when I use the built-in Administrator account.
    The amount of RAM on your host? 8GB
    Last time before the upgrade when you used a Hyper-V vm, did it open without issues? Yes
    After the upgrade, has a Hyper-V virtual machine ever worked and started normally or did this start already the first time after the upgrade when you tried to launch a vm? A VM has never worked since the upgrade. The VMs only worked pre-upgrade.

    Thanks for you ongoing help!
      My Computer


  8. Posts : 17,661
    Windows 10 Pro
       #18

    How important are the pre-upgrade virtual machines to you? Would it be acceptable to lose them in order to get this fixed? I would like to suggest something but if you follow that suggestion, the virtual machines are lost. They might be reusable by first copying the vhd files to a safe location, then if we get this fixed use them as existing vhd when creating new virtual machines, but I cannot guarantee that.
      My Computer


  9. Posts : 384
    Window 10
    Thread Starter
       #19

    Kari said:
    How important are the pre-upgrade virtual machines to you? Would it be acceptable to lose them in order to get this fixed? I would like to suggest something but if you follow that suggestion, the virtual machines are lost. They might be reusable by first copying the vhd files to a safe location, then if we get this fixed use them as existing vhd when creating new virtual machines, but I cannot guarantee that.
    Only one of the VMs is important. When I started troubleshooting I backed up the VHD files for the VMs. What is the process please?
      My Computer


  10. Posts : 17,661
    Windows 10 Pro
       #20

    PJLLB said:
    Only one of the VMs is important. When I started troubleshooting I backed up the VHD files for the VMs. What is the process please?
    warning   Warning
    The process below will remove all your virtual machines and they cannot be recovered. The virtual hard disks if copied to a safe location might be able to be used on new virtual machines later on.

    If you proceed you do it acknowledging this. I cannot be held responsible for the loss of your virtual machines.


    1. In Hyper-V Manager, delete all virtual machines (right click, select Delete)
    2. Close the Hyper-V Manager
    3. Manually delete the files remaining in C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks
    4. Right click Start, select Programs and Features
    5. Select Turn Windows features on or off on the left pane
    6. Expand Hyper-V list item, unselect everything in it to disable Hyper-V
    7. Reboot
    8. Create new storage locations for virtual hard disks and virtual machines (configuration files) on another drive than C:, you can for example use the X:\Hyper-V\VHD and X:\Hyper-V\VM folders as I told in an earlier post of mine
    9. Co back to Windows features, this time re-enable everything Hyper-V related
    10. Reboot
    11. Launch Hyper-V Manager, change the default storage locations to those you created (see screenshot below this list)
    12. Create a new vm, run it, come back to tell if it started normally or not


    Change VHD & VM storage locations:

    Machines Fail to Start and Initialize-2015-08-07_23h33_48.png
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:54.
Find Us




Windows 10 Forums