I’ve encountered this problem in a myriad of ESXi host versions and vCenter versions. For unknown reasons, I am able to migrate some VMs and not others. I’ve tried a number of resolutions in various KB articles, but the only approach that has worked thus far is removing the VM from inventory and adding it back.
Symptoms: Migrate, Move To, Remove from Inventory, and Delete from Disk options are greyed out for a powered-on VM.
To resolve this issue, remove the virtual machine from the vCenter Server Inventory and add it back. Note: When removing a virtual machine from the vCenter Server Inventory, the previous performance statistics for the virtual machine are lost.
Caution: Before performing these steps, make a note of the datastore where the virtual machine resides.
- In the vSphere Client, right-click the powered-off virtual machine and click Remove from Inventory.
- Click Yes when prompted to confirm the removal.
- Click Home > Storage
- Open the Datastore and folder where the VM’s vmx file is stored
- Right-click the .vmx file and click Register VM. This might be “Add to Inventory” in earlier versions.
- Follow the steps in the wizard to add the virtual machine back to the Inventory.
- Click Home > Hosts and Clusters.
- Right-click the virtual machine. The migrate option is now available.