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 Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,103 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,715 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,838 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Stefan Jagger 6 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.

    1 person found this answer helpful.
    0 comments No comments

  2. Hania Lian 15,746 Reputation points Microsoft Vendor
    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.