Thursday 12 September 2013

HyperV Virtual Mahine Creation Error due to Logon failure: the user has not been granted the requested logon type

VMM cannot complete the host operation on the server because of the error: The operation failed. The Hyper-V Virtual Machine Management service encountered an unexpected error: Logon failure: the user has not been granted the requested logon type at this computer. (0×80070569). (Solved)
GPO that set the right for "logon as service", on Hyper-v 2012 we need to add the "NT Virtual Machine\Virtual Machine" user to this logon right.
in order to do so perform the following steps on the Hyper-V host machine:
  1. Logon as a Domain Administrator
  2. Install the Group Policy Management feature from the Server Manager console
  3. After installation, open the GPMC MMC snap-in and browse to the policy that manages User Rights
  4. Edit the policy to include NT Virtual Machine\Virtual Machines in the entries for Log on as a Service
  5. Close the policy editor and initiate a gpupdate /force on the Hyper-V host computer to refresh policy. (You may need to wait several minutes for Active Directory replication to occur).
  6. remove the Group Policy Management feature from the Server Manager console.

0 comments: