I believe in Hyper-V!

Hyper-V on Windows 8 RP; Failed to Import Virtual Machine…

Before two days I receive exported virtual machine from one of our clients, (exported through Hyper-V manager). I needed to import into Hyper-V on my laptop, (I have Windows 8 RP with Hyper-V role installed). Few first steps is well passed, but I’m stuck on the fifth step, as you can see in the pictures below.

1
2
3
4

And after the fourth step I got this error.
5

I solved this issue and I would like to explain you how to do that.

I’m domain user and local administrator on my machine!

Open local group policy editor (gpedit.msc), navigate to;

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Log on as a batch job.
7

By default Administrators, Backup Operators and Performance Log Users have rights but you need to add local administrator on the Local Security Settings on Log on as a batch job.
8

When your are finished open command prompt and type gpupdate /force,
and now you can import your previously exported virtual machine.
9

I’m not sure, but this looks like a bug in Windows 8 Release Preview

One more important thing!
If you ever do virtual machine export, shutdown the guest, don’t leave it in save state condition!
Why? As you can see on the picture below, if you do export with the previous version of Hyper-V and import to a Hyper-V 3.0 you will get this warning.
6

Folks, enjoy in weekend Smile

3 Responses to “Hyper-V on Windows 8 RP; Failed to Import Virtual Machine…

  1. Milan Mayers

    Very useful article. Thank you!

  2. Chris Davis

    I ran into the same “Logon failure” issue recently. I did not change any permissions, instead I restarted the Hyper-V manager service on the host and then was able to import my vm successfully. How’s that for strange Microsoft behavior?

    • Hi Chris,
      Yes, this is very strange. I think it’s bug in W8 hyper-v role. Hopefully, this will solve with some of the updates.
      Romeo

Leave a Reply to Milan Mayers Cancel reply

Your email address will not be published. Required fields are marked *