Skip to content

Instantly share code, notes, and snippets.

@dantmnf
Last active August 6, 2023 13:13
Show Gist options
  • Save dantmnf/ababfbcbeaa8e27c7ab06787187063dd to your computer and use it in GitHub Desktop.
Save dantmnf/ababfbcbeaa8e27c7ab06787187063dd to your computer and use it in GitHub Desktop.
some random notes
# hvix64.exe/hvax64.exe
bcdedit /set hypervisorloadoptions IOVTEST
# this will invalidate TPM protector
Suspend-Bitlocker $env:SystemDrive
# pci.sys
$pci_hackflags = Get-ItemPropertyValue HKLM:\SYSTEM\CurrentControlSet\Control\PnP\PCI -Name HackFlags
Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\PnP\PCI -Name HackFlags -Value ($pci_hackflags -bor 0x80) -Type DWord
# from hyper-v error message
Set-ItemProperty HKLM:\SOFTWARE\Policies\Microsoft\Windows\HyperV -Name RequireSecureDeviceAssignment -Value 0 -Type DWord
Set-ItemProperty HKLM:\SOFTWARE\Policies\Microsoft\Windows\HyperV -Name RequireSupportedDeviceAssignment -Value 0 -Type DWord
@dantmnf
Copy link
Author

dantmnf commented Aug 6, 2023

Update: the IOVTEST option no longer works on Windows 11 22H2

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