If you’re getting an error along the lines of “{hard disk} cannot be directly attached to the virtual machine because it has 1 differencing child hard disks”
Then the solution is to delete the virtual machine (but not the hard disk!) and then recreate the machine using the hard disk.