Storage Migration “Operation not allowed for VM because Hyper-V State is yet to be initialized from Virtual Machine Configuration” (0x80070015) #HyperV

1 Min. Read

Issue:

When trying to migrate a VM storage to a local device or through iSCSI using Hyper-V Manager or PowerShell you could see this:

VMStorageMigration-Error0x80070015-01

VMStorageMigration-Error0x80070015-02

Solution:

The only solution that works is to restart the Hyper-V management service.

Restart-Service -Name VMMS

Get-VM -ComputerName HV05 | Out-GridView -Title "Select one or more VMs to Live Migrate" -PassThru | Move-VMStorage -DestinationStoragePath "V:\VMs\"

VMStorageMigration-Error0x80070015-05

Cause:

I was moving the VM including the storage, and I lost the connectivity to the iSCSI storage, thus the VM storage migration failed. When I attempt to migrate the VM again, the storage migration failed with error 0x80070015.

Hope this helps!

Cheers,
-Charbel

Previous

StarWind News September 11th, 2015 @starwindsan

Step By Step: Running Hyper-V Cluster on Nano from Windows Server 2016 TP4 Using PowerShell Direct #HyperV

Next

Let me know what you think, or ask a question...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to Stay in Touch

Never miss out on your favorite posts and our latest announcements!

The content of this website is copyrighted from being plagiarized!

You can copy from the 'Code Blocks' in 'Black' by selecting the Code.

Please send your feedback to the author using this form for any 'Code' you like.

Thank you for visiting!