Just follows these steps:
- Go to Control Panel → Program and Feature.
- Click on Turn Window Features on and off. A window opens.
- Uncheck Hyper-V and Windows Hypervisor Platform options and restart your system.
Now, you can Start HAXM installation without any error.