But vmgenid will change...Hi,
Changing a VMID directly isn’t supported in Proxmox. The recommended way is to back up the VM and restore it using the new VMID. This ensures everything stays consistent and avoids storage issues,
In very rare scenarios, for Windows OS (SQL Server cluster, AD PDC eg.) which are aware of vmgenid, restart after such restoration may have some unforeseen consequences.
So, restoring the old vmgenid before booting the vm again OR using that kind of script/change manually id/vm-disks names.