Solved

Hyper-V VMs won't initialise

Posted on 2015-01-01
7
417 Views
Last Modified: 2015-02-24
I have a new server 2012 DataCenter Hyper-V host, and I had created a Win7Pro VM (which was off) and had moved our SBS2003 to a second VM. I got the SBS VM running and it needed a re-start. After the re-start neither of the VMs will start.
I get the following error on both VMs; only the VM name is different:

Virtual Machine Connection

The application encountered an error while attempting to change the state of "VM-SBS2003"

"VM-SBS2003" could not initialize.


An attempt to initialize VM saved state failed.

"VM-SBS2003" could not initialize.(Virtual machineID
C501B627-CCD6-4654-8FDC-3A3b6AF9B3F1)

"VM-SBS2003" could not create or access saved state file
F:\Hyper-V\VMs\Virtual
Machines\C5...\C501B627-CCD6-4654-8FDC-3A3b6AF9B3F1.vsv.
Virtual machineID
C501B627-CCD6-4654-8FDC-3A3b6AF9B3F1
0
Comment
Question by:gregmiller4it
7 Comments
 

Author Comment

by:gregmiller4it
Comment Utility
I have searched for answers to this problem and tried a few things:
Re-started host: one person had seen the same problem and re-starting the host would fix it temporarily...it made no difference in my case.
Deleted both VMs and created new ones and still having no success

I am SOOOO stuck here and I don't know what to do!
0
 
LVL 38

Expert Comment

by:Philip Elder
Comment Utility
Create a new VM using the Hyper-V defaults. Bind an OS ISO to the new VM and run through the OS load steps to make sure everything is as it should be.

You can shut off the VM once the OS starts loading.

Replace the VHDX file for the above VM with the VHD(x) files for the VMs giving you a tough time. Start it up.

Note that you should have 1 vCPU assigned for both to start with and only 4GB of vRAM. You may need to not have a vNIC assigned until after you have installed Integration Services. Note: 2003 may not be a go on 2012 R2.
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
it is peculiar that everything was running until you shutdown the two VMs and then they will not boot.
Have you looked at the referenced .vsv file to see what it is. Check the disk? Rename the .vsv to see whether on the next bootup a new file would be created?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 76

Expert Comment

by:arnold
Comment Utility
Was anything installed on the hyper-v host prior to that: anti-virus etc?
0
 

Accepted Solution

by:
gregmiller4it earned 0 total points
Comment Utility
Problem solved...
I started trying to work out why I might have problems accessing files and figured it could be a rights issue.
At some point in the whole exercise, I changed the default file locations for Hyper-V. I thought I had restarted one or both the VMs since then, but maybe not. Anyway, I deleted both the VMs, removed the Hyper-V role and changed the default file locations as I re-added the Hyper-V role. Then I re-created the two VMs using the same hdd files...and it works again.
So, I must have broken something without realising it and it didn't affect anything until I restarted the VM.
Thanks for your suggestions.
Note to self: don't play with Hyper-V default file locations once I have created VMs!!!
0
 

Author Closing Comment

by:gregmiller4it
Comment Utility
Solved it myself...see my last post
0
 

Expert Comment

by:Martyn Elvy
Comment Utility
I had a similar issue after storage migrating my Hyper-V VM's from on storage location to another.

The fix for me was based on the above, all I needed to do was delete the VM from the Hyper-V management console and then create a new VM and attach the drives.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.

728 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

9 Experts available now in Live!

Get 1:1 Help Now