Skip to content

Instantly share code, notes, and snippets.

@tzhvh
Last active June 24, 2022 02:48
Show Gist options
  • Save tzhvh/17c3d6a120f372bd96e6dc2a30c86892 to your computer and use it in GitHub Desktop.
Save tzhvh/17c3d6a120f372bd96e6dc2a30c86892 to your computer and use it in GitHub Desktop.
things i tried before ensp worked again on 22621 aka windows 11 22H2

Getting Hyper-V out of the way

bcdedit /copy {current} /d "Windows Hyper-V disabled"
bcdedit /set {get guid from output of copy command} hypervisorlaunchtype off
restart into it

First error

--------------------------- VirtualBox - Error In supR3HardNtChildPurify --------------------------- <html><b>supHardenedWinVerifyProcess failed with VERR_SUP_VP_EXE_VS_PROC_NAME_MISMATCH: (rc=-5618)</b><br/><br/>Please try reinstalling VirtualBox.<br><br><!--EOM-->where: supR3HardNtChildPurify what: 5 VERR_SUP_VP_EXE_VS_PROC_NAME_MISMATCH (-5618) - Process Verification Failure: Executable file name and process image name does not match up. </html> --------------------------- OK ---------------------------

  1. Disable mem integrity

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity

create DWORD enabled with val 0

  1. change VBoxDrv to delayed start for defender scanning go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VBoxDrv Edit the key called Start. Change its value from 1 to 3

  2. delayed start didn't start at all

sc.exe start VBoxDrv

VBox works however The VM session was closed before any attempt to power it on

  1. delete all VBox VMs

  2. Reinstall VBox

  3. Register all VMs again in ensp

should work now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment