Q. I'm trying to enable the Hyper-V role on a box that doesn't have the hardware required for Hyper-V. I just need the Hyper-V WMI parts for Virtual Hard Disk (VHD) mounting. What can I do?

A. If you try to enable the Hyper-V role through Server Manager or the PowerShell interface on a box that doesn't meet the hardware requirements, you'll receive an error that the hardware doesn't meet the requirements and the installation of Hyper-V will be blocked. A workaround is to use ocsetup, which will allow the role to be installed, but this isn't a Microsoft-supported action. Just run

ocsetup Microsoft-Hyper-V

Note that I set the hypervisor launch to disabled, because it won't be able to load anyway.

Enabling the Hyper-V role

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish