From 057c44f7475296e94c43b49ae2ea2e3377820e7e Mon Sep 17 00:00:00 2001 From: Maxim <55401893+Vatson112@users.noreply.github.com> Date: Tue, 29 Oct 2024 14:29:10 +0300 Subject: [PATCH] fix(windows): Update registry key for hyper-v detection --- vmdetect/windows.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vmdetect/windows.go b/vmdetect/windows.go index 2c70b51..7af08b6 100644 --- a/vmdetect/windows.go +++ b/vmdetect/windows.go @@ -123,13 +123,7 @@ func doesRegistryKeyExist(registryKey string) bool { func checkRegistry() (bool, string) { hyperVKeys := []string{ - `HKLM\SOFTWARE\Microsoft\Hyper-V`, - `HKLM\SOFTWARE\Microsoft\VirtualMachine`, `HKLM\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters`, - `HKLM\SYSTEM\ControlSet001\Services\vmicheartbeat`, - `HKLM\SYSTEM\ControlSet001\Services\vmicvss`, - `HKLM\SYSTEM\ControlSet001\Services\vmicshutdown`, - `HKLM\SYSTEM\ControlSet001\Services\vmicexchange`, } parallelsKeys := []string{