TitanTurtles Cybersecurity Club

Portland, Oregon

Root | Join | Camp | Blog | Touch | Grind | Caregiver | Events | Legend | Virtualized Intel VT-x/EPT with VMware

Virtualized Intel VT-x/EPT with VMware

Problem

Usually, with either Intel or AMD computer, you can enable the Virtualization Technology or something similar in BIOS so that in VMware you can use “Virtualized Intel VT-x/EPT or AMD-V/RVI” settings for Processors

Screenshot 2025-07-14 164220

However, you may still encounter error when boot up the virtual machine.

Solution

The root cause is the “Virtualization-based security” is enabled. You can double check it by running “msinfo32” in the Windows search area. And, you will see this:

image

To turn it off, you can use the scripts provided in this website: https://consumer.huawei.com/cn/support/content/zh-cn16012808/.

Or, you can create your own batch file and type in the following command and run it:

@echo off

dism /Online /Disable-Feature:microsoft-hyper-v-all /NoRestart
dism /Online /Disable-Feature:IsolatedUserMode /NoRestart
dism /Online /Disable-Feature:Microsoft-Hyper-V-Hypervisor /NoRestart
dism /Online /Disable-Feature:Microsoft-Hyper-V-Online /NoRestart
dism /Online /Disable-Feature:HypervisorPlatform /NoRestart

REM ===========================================

mountvol X: /s
copy %WINDIR%\System32\SecConfig.efi X:\EFI\Microsoft\Boot\SecConfig.efi /Y
bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} device partition=X:
mountvol X: /d
bcdedit /set hypervisorlaunchtype off

echo.
echo.
echo.
echo.
echo =======================================================
echo "Finished. Please reboot your computer."
pause > nul
echo.
echo.

After running the batch commands, manually reboot the machine. And, type F3 several times when you see this screen during rebooting:

image

Afterwards, the “Virtualization-based security” will be disabled. And, you should be able to run VMware virtual machines with “Virtualized Intel VT-x/EPT or AMD-V/RVI” turned ON.

image

image