AntoФотография
for win10
Set-ExecutionPolicy Unrestricted -Force;
bcdedit /set hypervisorlaunchtype off;
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard" -Name "EnableVirtualizationBasedSecurity" -Value 0 -Type DWORD -Force;
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Lsa" -Name "LsaCfgFlags" -Value 0 -Type DWORD -Force;
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -Restart -Force;