Important: Before running the code it’s significant to exit the VirtualBox completely.
Moreover, applying cod will enable many features of Mac on the VM. In this step, you need to run the VirtualBox Code to avoid errors such as -cpuidset and it also modifies the VM as an Apple product. Running VirtualBox Code Using Command Prompt