If you run Minishift with Hyper-V on Windows as a normal user or as a user with Administrator privileges, you might encounter the following error:
Error starting the VM: Error creating the VM. Error with pre-create check: "Hyper-V commands must be run as an Administrator".
Workaround: You can either add yourself to the Hyper-V Administrators group, which is recommended, or run the shell in an elevated mode.
If you are using PowerShell, you can add yourself to the Hyper-V Administrators group as follows:
As an administrator, run the following command:
Log out and log back in for the change to take effect.
You can also use the GUI to add yourself to the Hyper-V Administrators group as follows:
Click the Start button and choose Computer Management.
In the Computer Management window, select Local Users And Groups and then double click on Groups.
Double click on the Hyper-V Administrators group, the Hyper-V Administrators Properties dialog box is displayed.
Add your account to the Hyper-V Administrators group and log off and log in for the change to take effect.
Now you can run the Hyper-V commands as a normal user.