❗Проверка перед началом настройки:
⚠️ Перед тем как следовать этой инструкции, убедитесь, что вход по PIN-коду в Windows отключён!
Шаг 1. Отключение компонентов через DISM
(в PowerShell, запущенном от имени администратора)
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All /NoRestart
dism.exe /Online /Disable-Feature:VirtualMachinePlatform /NoRestart
dism.exe /Online /Disable-Feature:HypervisorPlatform /NoRestart
Шаг 2. Отключение запуска гипервизора через BCDEDIT
(в PowerShell от администратора выполните)
bcdedit /set hypervisorlaunchtype off
Шаг 3. Изменение параметров реестра
(в PowerShell, запущенном от имени администратора)
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v EnableVirtualizationBasedSecurity /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v RequirePlatformSecurityFeatures /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LsaCfgFlags /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /v EnableVirtualizationBasedSecurity /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /v RequirePlatformSecurityFeatures /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v EnableHVCI /t REG_DWORD /d 0 /f
Шаг 4. Удаление файлов гипервизора
takeown /F "C:\Windows\System32\hvix64.exe"
icacls "C:\Windows\System32\hvix64.exe" /grant *$(([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value):F
takeown /F "C:\Windows\System32\hvax64.exe"
icacls "C:\Windows\System32\hvax64.exe" /grant *$(([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value):F
del "C:\Windows\System32\hvix64.exe"
del "C:\Windows\System32\hvax64.exe"
