This article provides resolution steps for virtual machines failing to power on after migration or re-registration. The error "Cannot complete operation due to concurrent modification by another operation" occurs when stale lock files persist on the datastore.
During cross-vCenter vMotion or storage migration, the management process may fail to clean up the virtual machine lock file (.lck). This orphaned file indicates to the ESXi host that the virtual machine disk is in use by another host, causing the host to deny power-on requests to prevent potential data corruption.
Follow these steps to clear the stale lock file and enable the virtual machine to power on:
cd /vmfs/volumes/<INSERT_DATASTORE_NAME>/<INSERT_VM_DIRECTORY>/mkdir bkupmv *.vmx.lck bkup/If the issue persists, verify that no duplicate folders exist for the virtual machine on the datastore and ensure the virtual machine is registered from the path containing the most recent configuration files.