WazzyD
Contributor
Contributor

After much struggling, this works with getting Kali to run smoothly on Vmware. I copy the below to a .bat file and run as administrator (You need to run the bat file again after a Windows updates...because Windows....) 

Download the dgreadiness tool from Microsoft and modify the path in the .bat file below. Once you run it you might see an error depending on whether settings are manged by registry or GPO. It will still complete and you will restart and hit the windows key to accept the disabling of virtualized-based security. 

You can check system information and you should see that virtualized based security will now show not enabled and you won't see the option for side channel mitigations in your VM settings.

 

@Echo off 
powershell.exe Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
powershell.exe Disable-WindowsOptionalFeature -Online -FeatureName "Microsoft-Hyper-V"
bcdedit /set hypervisorlaunchtype off
dism /online /disable-feature /featurename:Microsoft-hyper-v-all
bcdedit /set vsmlaunchtype off
bcdedit /set '{0cb3b571-2f2e-4343-a879-d86a476d7215}' loadoptions DISABLE-LSA-ISO,DISABLE-VBS
powershell.exe C:\dgreadiness_v3.6\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable
powercfg /powerthrottling disable /path "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe"
exit /b