The instance name must be the same as computer name

If you're like me and you clone your Dynamics 365 virtual machines regularly to create other test instances, you might be hit with the error: ‘The instance name must be…