Hi,
Is your VM clustered? You could not disable migration for a specific VM in a failover cluster, but you could prevent the VM from moving to other nodes by removing them from the preferred owners of the role. Here are the steps:
- Open Failover Cluster Manager and select the role in "Roles".
- Open the Properties sheet
- Deselect other nodes in the Preferred Owners list.
Or you could disable migration on a host by running the powershell cmdlet Disable-VMMigration
Best Regards,
Ian
----------
Please remember to "Accept Answer" and upvote if the reply is helpful.