Virtual Machine management options grayed out due to third-party software locks in vCenter
search cancel

Virtual Machine management options grayed out due to third-party software locks in vCenter

book

Article ID: 316570

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi VMware Cloud Foundation

Issue/Introduction

  • The "Migrate" and "Power Off/On" options may be unavailable (grayed out) in the vCenter Server for a virtual machine (VM). This typically occurs when a virtual machine is locked by third-party software (such as disaster recovery, backup, or replication solutions). The vCenter Server database contains orphaned records in the VPX_DISABLED_METHODS table that persist, restricting virtual machine management functions.



  • A migration initiated in vCenter failed with the error: "Cannot relocate VM_Name because the action is disabled in vCenter".

Environment

  • VMware vCenter Server 8.x
  • VMware vCenter 9.x

Cause

  • Virtual Machine is locked by 3rd party software (such as disaster recovery, backup, or replication software).

  • The vCenter Server database contains orphaned records in the VPX_DISABLED_METHODS table. vCenter uses this table to restrict VM operations during active tasks (e.g., backups). If a task fails or does not complete gracefully, these restrictive entries persist and lock the VM management functions. This list of specific vSphere operations that are currently disabled can be found in vSphere UI under Virtual Machine > Configure > Disabled Methods.

Resolution

Identify Locked Methods:

Identify specific vSphere operations currently disabled in the vSphere UI:

  1. Navigate to Virtual Machine > Configure Disabled Methods.
  2. Review the Source and Reason columns to determine if tasks are active. If tasks are ongoing, do not proceed with the steps below.

Option 1: Using the vSphere Client (vCenter 8.0 Update 3 and later)

  1. Navigate to Virtual Machine > Configure Disabled Methods.
  2. Select the task and click the Enable option located above the table to clear the restrictions:

 

Option 2: Manually remove entries via vCenter MOB

Note: The MOB is deactivated by default in VCF 9.0+. Refer to The MOB is disabled to enable it.

  1. Identify the VM MOB ID:
    1. Select the VM in the vSphere Client.
    2. In the URL bar, locate the object ID.

      Example:
      https://ExamplevCenterFQDNorIP/ui/#?extensionId=vsphere.core.vm.summary&objectId=urn:vmomi:VirtualMachine:vm-141:########-####-####-####-############&navigator=vsphere.core.viTree.hostsAndClustersView

      In this example VM's MOB ID is vm-141.

  2. Access Virtual Machine Operations:

    Navigate to the following URL to access the vCenter MOB: https://<vCenter_IP/FQDN>/mob/?moid=AuthorizationManager&method=enableMethods

  3. Login: Use [email protected] or an equivalent SSO administrator account.

    The following page should load:

  4. Invoke Method:
    1. In the first parameter box entity (required), enter the VM's MOB ID (e.g., vm-141).

      For example:
      <!-- array start -->
      <entity type="ManagedEntity"xsi:type="ManagedObjectReference">vm-141</entity>
      <!-- array end -->
       



    2. In the second parameter box method(required), enter:
      <method>RelocateVM_Task</method>


    3. Click on Invoke Method.



  5. Refresh the vCenter Server web client and the migration option for the VM should now be available.

Note:

  1. If the option remains greyed out, restart the Web Client service or all vCenter Server services. For more information, see Stopping, Starting or Restarting VMware vCenter Server Appliance 6.x & above services.
  2. If the issues persists refer, Migrate option is grayed out on a powered-off virtual machine.
  3. If the stale entry is still present, Contact Broadcom support.