Greyed Out “Migrate” Button Issue in VMware vCenter and Its Solution

By Ahmet Tolga KAYA 7 min read
Greyed Out “Migrate” Button Issue in VMware vCenter and Its Solution

Quick answer: A greyed out Migrate button in VMware vCenter usually means a backup or other tool left migration listed under the VM’s disabledMethods. Check the disabled methods first, then re-enable migration from the vSphere Client on vCenter 8.0 Update 3 and later, or through the MOB on older versions.

StepWhat to do
Step 1Check Disabled Methods Before You Touch Anything
Step 2Use the vSphere Client on vCenter 8.0 Update 3 and Later
Step 3Enable the MOB If Your vCenter Has It Turned Off

Why Does the “Migrate” Button Become Disabled in VMware vCenter?

During routine maintenance operations, such as performing firmware upgrades or installing new ESXi host updates, you might suddenly notice a frustrating issue: some virtual machines cannot be migrated between different ESXi hosts. When you right-click the specific virtual machine, you will see that the “Migrate” button is entirely greyed out or completely inactive.

In most enterprise environments, this particular problem is frequently caused by third-party backup software integrations. After a virtual machine backup job is completed, the backup software is supposed to remove the hidden locks or tags it temporarily placed in the vCenter database. When it fails to clear these flags correctly, the virtual machine gets stuck in a locked state, preventing any vMotion or migration tasks. Below, we explain step-by-step how to safely resolve this database lock issue.

Step-by-Step Solution Guide:

1. Log into your vCenter Environment: As the first step, log in to your vCenter Server using the vSphere Web Client. Navigate through your inventory and select the specific virtual machine where the “Migrate” button is currently greyed out.

2. Copy the Browser URL to Find the MOID: Once you are on the summary page of the affected virtual machine, check your browser’s address bar and copy the URL. An example of this URL structure is shown below:

https://vcenter.tolgakaya.local/ui/#?extensionId=vsphere.core.vm.summary&objectId=urn:vmomi:VirtualMachine:vm-158:321d44-b617-4b32-be19-3445123c5ba&navigator=vsphere.core.viTree.hostsAndClustersView

Take a careful note of the value indicating the Managed Object ID (MOID), which looks like “vm-158” (or “vm-244” depending on your VM) in the highlighted section of your link.

3. Access the AuthorizationManager Page: Open a new tab in your web browser and enter the following address. Make sure to replace the domain with your own vCenter server’s FQDN or IP address:

https://vcenter.tolgakaya.local/mob/?moid=AuthorizationManager&method=enableMethods

Upon reaching this address, a prompt will appear. Log in using your vCenter administrative credentials (for example, [email protected]).

vmware vcenter

4. Edit the MOID Entity: On the screen that appears, you will see an “Entity” field. You need to replace the default MOID number with the exact ID of the virtual machine you noted down in Step 2. It should be formatted exactly like this example:

<entity type=”ManagedEntity” xsi:type=”ManagedObjectReference”>vm-158</entity>

5. Fill in the Method Field: Next, you must specify the exact task you want to re-enable. Go to the “Method” field on the same page and add the following code snippet:

<method>RelocateVM_Task</method>

vmware vcenter — image  x

6. Confirm and Execute the Process: After filling in both fields correctly, click the “Invoke Method” button to execute the command and apply the changes directly to the vCenter database.

Conclusion and Final Results:

Once you have successfully completed these steps, the database lock will be cleared, and the “Migrate” button will become active again. You will immediately be able to migrate the virtual machine between other ESXi hosts seamlessly. If the migrate option still remains inactive after applying this method, you might need to try restarting the core services of your vCenter Server.

Important Additional Notes: In such scenarios, resolving the problem without removing the virtual machine from the vCenter inventory is the healthiest and most recommended approach. Removing virtual machines from the inventory and re-registering them can cause irreversible loss of historical task data and performance history metrics. Proceeding with Managed Object Browser (MOB) solutions ensures your data remains intact and prevents any operational history loss.

What Causes the Greyed Out Migrate Button in vCenter

vCenter protects a virtual machine while a task is running against it. To do that, it writes an entry to the VPX_DISABLED_METHODS table that blocks operations such as migration. When a backup, replication or disaster recovery job fails or never finishes cleanly, that entry is never removed, and the Migrate option stays greyed out. In some cases the migration also fails with the message Cannot relocate VM_Name because the action is disabled in vCenter.

Broadcom documents this behavior in its knowledge base for vCenter 8.x and 9.x, so it is not specific to one backup product.

Step 1: Check Disabled Methods Before You Touch Anything

Select the VM and open Configure > Disabled Methods. Read the Source and Reason columns. If a task is still running, stop here and wait for it to finish. Removing a lock under an active backup job can corrupt the job, so only continue when you are sure the entry is stale. Also check Recent Tasks for any migration, snapshot or backup that is still in progress.

Step 2: Use the vSphere Client on vCenter 8.0 Update 3 and Later

On vCenter 8.0 Update 3 and later you do not need the Managed Object Browser at all. In Disabled Methods, select the stale entry and click Enable above the table. Refresh the client, and the Migrate option should be back. This is the safest route because it uses a supported interface.

Greyed out Migrate button in VMware vCenter: fix steps in order

Step 3: Enable the MOB If Your vCenter Has It Turned Off

The steps in this article use the Managed Object Browser. Broadcom notes that the MOB is disabled by default in VCF 9.0 and later, so you must enable it first by following Broadcom KB 401669. On older versions it is reachable at https://<vcenter>/mob with an administrator login. Turn it off again when you are finished, because the MOB exposes powerful API methods.

Safety Checks Before Using the MOB

  • Take a backup or snapshot of the vCenter Server before changing anything in its database layer. This is good practice rather than a Broadcom requirement.
  • Confirm the backup or replication job that created the lock has finished or been cancelled.
  • Use the exact MOID of the VM you want to fix, and change one VM at a time.
  • Note that VMs managed by NSX behave differently, because a greyed out Migrate on those can be caused by NSX ownership rather than a stale entry.

If the Migrate Button Is Still Greyed Out

  • Restart the Web Client service or all vCenter services, as described in Broadcom KB 344633.
  • If the VM is powered off, see Broadcom KB 335225, which covers a greyed out Migrate option on powered off VMs.
  • If the stale entry keeps coming back, check your backup software for failed jobs, then open a case with Broadcom Support (KB 206567).

Read More: https://sysarticle.com/how-to-bypass-the-microsoft-account/

Visit Vmware

Read more: ESXi Host Not Responding in vCenter: 7 Proven Steps to Fix It

Read more: How to Migrate DHCP Server to a New Windows Server

FAQ

Why is the Migrate button greyed out in vCenter?

A failed or unfinished backup, replication or recovery task can leave an entry in the VPX_DISABLED_METHODS table, which blocks migration and power operations on that VM.

Do I need the MOB to fix the greyed out Migrate option?

Not on vCenter 8.0 Update 3 or later. You can select the entry under Configure > Disabled Methods and click Enable. The MOB is the manual fallback for earlier releases.

Which method do I enter in the MOB enableMethods page?

Enter the VM MOID, for example vm-141, as the entity and RelocateVM_Task as the method, then click Invoke Method.

Is it safe to remove a disabled method?

Only when the task that created it has finished. If a backup is still running, wait for it, otherwise you risk interfering with the job.

Why is Migrate greyed out for NSX VMs?

Broadcom lists a separate cause for NSX-managed VMs, where NSX controls the VM. That is not a stale database entry, so use the NSX-specific KB instead.

References

Broadcom: Migration options for a virtual machine are greyed out though vMotion is licensed

Ahmet Tolga KAYA

Systems Engineer and Technical Writer focused on Windows, Microsoft technologies, infrastructure, cybersecurity, automation, and platform reliability.