Cannot add Fibre CHannel Adapter to Windows Server 2012 VM on Hyper-V SecuritySecurityOptOut

Michael Whitfield 5 Reputation points
2023-07-28T01:27:28.66+00:00

Hi, i am trying to add a Fibre Channel adapter on a windows server 2012 machine running in hyper-v on Windows 11 pro. I am getting the error "Failed to add resources. Cannot modify property. Failed to add resources (Virtual Machine ID xxxxxxx) Cannot modify propertyt without enabling VirtualizationBasedSecurityOptOut.

Just to test, i did try and deactive the security settings i had enabled and the error persisted. I was editing the options in the security section of settings for that particular VM. However obviously preference is to have the security and have the fibre channel. Was not able to find much support for this error online hoping someone can help.

THanks

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Stefan Jagger 11 Reputation points
    2024-03-19T21:28:25.6033333+00:00

    After powering off the machine, in powershell run

    Set-VMSecurity VMName -VirtualizationBasedSecurityOptOut $true
    

    You should now be able to add the adapter.

    2 people found this answer helpful.

  2. Anonymous
    2023-07-31T02:58:24.46+00:00

    Hi @Michael Whitfield

    It is possible that the issue is related to the Fibre Channel adapter itself. I suggest checking if the adapter is compatible with Windows Server 2012 and Hyper-V on Windows 11 Pro. Additionally, you can try updating the drivers for the adapter. If the issue persists, you may need to contact the manufacturer of the adapter for further assistance.

    Hope the information is helpful.

    Best Regards,

    Hania Lian

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

    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.