Virtual Pci Express Port Failed to Power on with Error 'A hypervisor feature is not available to the user‘

Taylor B 10 Reputation points
2023-08-15T20:27:59.8966667+00:00

Hi all,

I'm trying to make a VM using Hyper-V on Windows 11 pro with GPU pass-through using DDA. I have followed the steps outlined in this link and have tried this fix with no luck.

I just get this error: Virtual Pci Express Port Failed to Power on with Error 'A hypervisor feature is not available to the user‘

With the Virtualization Based Protection disabled in the Group Policy editor, System Info still says Virtualization Base Security is Running even after reboot.

Thank you in advance for any help.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,735 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Ian Xue 37,621 Reputation points Microsoft Vendor
    2023-08-16T06:14:06.83+00:00

    Hi,

    Please set the registry value EnableVirtualizationBasedSecurity under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard to 0 and restart the computer. If it does not exit you can create the DWORD value manually.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Rufus Nemalikanti 0 Reputation points
    2024-09-08T19:27:23.3766667+00:00

    Hello,

    I'm also getting the same error message, even after trying the solution that @Ian Xue . Can you please help me.

    Thanks, in Advance,

    Rufus

    0 comments No comments

  3. Andrei Butcu 0 Reputation points
    2024-10-28T14:48:26.61+00:00

    Just open PowerShell as Administrator, then type:

    Get-VMAssignableDevice -VMName "Your_VM_Name"

    Get-VMAssignableDevice -VMName "Your_VM_Name" | Remove-VMAssignableDevice

    Then power on your VM.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.