Disabling "Secure Boot" in my BIOS was necessary in my case (HP ZBook computer). Otherwise VBS was still running (loadoptions did'nt disable it)
Original Message:
Sent: Jan 01, 2025 11:04 PM
From: BadOmen
Subject: Windows 11 24h2 hsot - how to disable Virtual Based Security
Sadly, none of this worked for me. No matter what I try, Virtualization-based security refuses to disable. Workstation in turn won't run certain VMs, and some others run rather poorly. I'm running 24H2 on an HP Elitebook G9
Original Message:
Sent: Dec 12, 2024 02:52 AM
From: Danh Nguyen
Subject: Windows 11 24h2 hsot - how to disable Virtual Based Security
Hi guys, do it with me:
1/ Disable Credential Guard with Registry settings
Key path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Key name: LsaCfgFlags
Type: REG_DWORD
Value: 0
Key path: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard
Key name: LsaCfgFlags
Type: REG_DWORD
Value: 0
2/ Disable Credential Guard with UEFI lock, run Windows Command Prompt as administrator
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
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} device partition=X:
mountvol X: /d
3/ Disable VBS with Registry settings, Delete the following registry keys:
Key path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard
Key name: EnableVirtualizationBasedSecurity
Key path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard
Key name: RequirePlatformSecurityFeatures
4/ Run Windows Command Prompt as administrator
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
bcdedit /set vsmlaunchtype off
5/ Open Group policies editor
Computer Configuration -> Admininistrative Templates -> System -> Device Guard -> select "Turn ON Virtualization Base Security " and choose "Disable" option.
6/ Turn off all options in Core isolation of windows 11 24h2
Windows start -> core isolation -> Turn off all options
7/ Windows Start -> In Feature windows 11, uncheck: Hyper-V, Virtual machine plafrorm, Windows subsystem for Linux
8/ Restart PC
Restart the device. Before the OS boots, a prompt appears notifying that UEFI was modified, and asking for confirmation. (Press F3 and press enter to continue).
Original Message:
Sent: Nov 13, 2024 09:18 PM
From: kasper
Subject: Windows 11 24h2 hsot - how to disable Virtual Based Security
Trying to switch from a Windows 2025 host to Windows 11 24h2 host. AMD 8840U hardware. Done registery changes. Done Security Core setting change. Done BCDEDIT changes. Done GPO changes on Devguard. Best case was to disable SVM in BIOS. And that only turned out to be VBS enabled but not running. What can I do to DISABLE VBS in Windows 11 24h2?