John Strand ADHD VM Problem Solved : Virtualized Intel VT-X/EPT is not supported on this platform
Disclaimer: Before doing this, it is advisible to create a system restore point or taking your registry backup.
Tested it on Windows 11 Pro.
Procedure’s followed:
- Disable Hyper-V via the GUI and restart the system.
From there uncheck Hyper-V if it is checked and restart the system.
2. Use systeminfo and msinfo32 to check the status of Hyper-V.
3. Deactivate the hypervisor launch type.
Command: bcdedit /set hypervisorlaunchtype off
4. Using Powershell cli to remove all Hyper-V features.
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
or
Disable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform (Press Y to reboot the system.)
If this does not solve the issue then try this:
5. Edit group policy (type gpedit.msc in run)
Go to Local Computer Policy > Computer Configuration > Administrative Templates > System
Click on Device Guard, on the right hand side double click on “Turn On Virtualization Security” to open a new window. It would be “Not Configured selected by default”, select “Disable” and click “Ok”
Close the Group Policy Editor. Restart the system
Now start the ADHD vm. Hopefully it will work now. Sidechannel error will also disabled because of this settings changed.
Now you should see your Microsoft Defender is not happy at all because you downgrade some security measure.
If you go to Device security of your defender then you will see memory integrity is turned off. This is because you disabled that gpo settings.
My recommendation is, once you complete the lab within the vm then again revert the changes that you just made to strengthen the security again of your host machine.
Using Scripts:
Now whatever the things that we had done above, can be done as well using scripts. All credits goes to BHIS and John Strand’s team. I am just documenting it for me and communities convenience.
Open windows powershell with admin privilege and run the below commands one by one.
Invoke-WebRequest -Uri https://raw.githubusercontent.com/krooth/Antisyphon_lab_scripts/main/WinADHD/Disable_Hyper_V_and_Device_Guard.ps1 -OutFile C:\Disable_Hyper_V_and_Device_Guard.ps1
cd C:\
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
.\Disable_Hyper_V_And_Device_Guard.ps1 (Press Y and then reboot the system)
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —
Now another solution:
If you simply uncheck this, then this error “Virtualized Intel VT-X/EPT is not supported on this platform” will be gone and you do not need to perform the above steps. But only problem is, docker container will not run after logging in to the system.
Disable windows updates:
Now once this done, now we need to disable updates. Like previous it can be done both manually and automatically.
Download the script:
Invoke-WebRequest -Uri https://raw.githubusercontent.com/deterministicj/AntiSyphonTraining-VM-Fix-Menu/refs/heads/main/ADHD-Fix-Menu.ps1 -OutFile C:\ADHD-Fix-Menu.ps1
cd C:\
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
.\ADHD-Fix-Menu.ps1
Select the option 1 to disable automatic updates.
Once everything is done, now take a snapshot of the system and enjoy the labs.
Thanks. I hope you like this write up. Please subscribe below and share with your network.
LinkedIn:
https://www.linkedin.com/in/md-mahimbin-firoj-7b8a5a113/
YouTube: