There was a good point being made in this thread. The OP was trying to virtualize MacOS, which isn't legal following its terms of service.
What is the correct action for this question? I voted to close with the reason "Not an official Ubuntu flavor", but I don't really think this fits, since questions about virtualizing other OS'es (which don't have any legal restrictions) is on-topic.
Maybe I should have chosen the custom close reason with a comment instead?
GetKeyFromRealSMdCin the error,
GetKeyFromRealSMCin the listed commands. Should be closed if that's the case, irrespective of the gray area