Rumah >Tutorial sistem >Siri Windows >Cara Lumpuhkan atau Alih Keluar Hyper-V dalam Windows 11
Hyper-V diprapasang pada komputer Windows 11. Walaupun alat virtualisasi ini tidak tersedia di luar kotak pada edisi Laman Utama OS, anda boleh memasangnya dengan skrip kelompok.
Malangnya, Hyper-V boleh berkonflik dengan apl pihak ketiga pada PC anda, termasuk alatan virtualisasi lain seperti VMWare Workstation, VirtualBox dan emulator. Akibatnya, anda mungkin menghadapi ralat yang dikesan Hyper-V apabila cuba melancarkan aplikasi, permainan PC atau utiliti penalaan perkakasan.
Nasib baik, anda boleh melumpuhkan Hyper-V dalam Windows 11 dengan bantuan dialog Ciri Windows klasik, Prompt Perintah dan PowerShell.
Mengikut reka bentuk, hanya satu alat virtualisasi boleh menggunakan sambungan virtualisasi bersepadu, seperti Intel VT-x dan AMD-V, tersedia pada pemproses anda. Jika anda perlu menggunakan perisian virtualisasi pihak ketiga, termasuk VMware WorkStation dan Kotak Maya, anda mesti melumpuhkan Hyper-V Hypervisor.
Anda juga mungkin perlu melumpuhkan ciri bergantung kepada hipervisor lain, termasuk Pengawal Peranti, Pengawal Kredensial dan bahagian ciri integriti memori Pengasingan Teras dalam Keselamatan Windows.
Anda boleh mengakses apl Maklumat Sistem untuk menentukan sama ada virtualisasi Hyper-V sedang berjalan. Ini berguna jika anda perlu mengesahkan status hipervisor Hyper-V selepas atau sebelum melumpuhkannya.
Untuk menyemak status hipervisor Hyper-V pada komputer anda:
<code class="hljs ">A hypervisor has been detected. Features required for Hyper-V will not be displayed.</code>
Dialog Ciri Windows membolehkan anda menambah ciri tambahan yang dilumpuhkan secara lalai dalam Windows 11. Anda juga boleh menggunakannya untuk melumpuhkan beberapa ciri lanjutan, termasuk Hyper-V.
Ambil perhatian bahawa untuk membetulkan ralat yang dikesan Hyper-V, anda mesti melumpuhkan Platform Mesin Maya dan ciri Platform Windows Hypervisor sebagai tambahan kepada Hyper-V.
Untuk melumpuhkan Hyper-V menggunakan dialog Ciri Windows:
Anda boleh melumpuhkan Hyper-V dalam konfigurasi but menggunakan alat BCDEdit. Ini berguna jika anda hanya mahu menyahaktifkan Hyper-V dan tidak menyahpasang sepenuhnya.
Untuk melumpuhkan Hyper-V menggunakan BCDEdit:
<code class="hljs sql">bcdedit /set hypervisorlaunchtype off</code>
<code class="hljs sql">bcdedit /set hypervisorlaunchtype auto</code>
Additionally, you can use the BCDEdit tool to perform other advanced tasks, such as deleting the old boot menu options and adding a safe mode shortcut to the Windows 11 boot menu.
If the Windows Features dialog fails to remove Hyper-V, you can use the Command Prompt to disable the hypervisor. Here's how to do it:
<code class="hljs bash">dism /online /disable-feature /featurename:Microsoft-hyper-v-all</code>
After the restart, you can run your games and other hypervisors without the error. If not, open the Windows Features dialog, disable the Virtual Machine Platform and Windows Hypervisor Platform options, and restart your PC to turn off Hyper-V Hypervisor.
If you prefer PowerShell, use the WindowsOptionalFeature cmdlet to disable Hyper-V in Windows 11. To do this, launch PowerShell with admin privileges and execute the command. Here's how to do it:
<code class="hljs ">Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All</code>
During the restart following the uninstallation of Hyper-V, you may frequently encounter the message, "We couldn't complete the updates, undoing changes." To resolve this issue, ensure the Hyper-V virtual network adapters are deleted from your PC. You can delete the virtual network adapter from Device Manager.
To delete Hyper-V's virtual network adapters:
Do not remove the Microsoft Wi-Fi Direct Virtual Adapter.
If you encounter the Hyper-V detected issue even after you disable Hyper-V, try to disable the Memory integrity feature in Windows Security. The Memory integrity feature is part of Core Isolation. It helps prevent hackers from accessing and infecting high-security processes using malicious code.
By default, Windows disables the Memory integrity feature to avoid conflict with apps and device drivers due to incompatibility issues. This can also cause issues with third-party virtualization tools and programs needing access to your system's virtualization hardware.
To turn off Memory integrity in Windows Security:
Device Guard and Credential Guard don't play well with other virtualization software, including VMware Workstation. You may encounter an error saying Device Guard/Credential Guard is enabled when trying to power on the VMware Workstation.
Since you intend to use third-party virtualization software, you can safely disable Device Guard and Credential Guard using the Registry Editor.
That said, modifying the Windows Registry involves risk. We recommend you create a restore point and take a registry backup before attempting any modifications.
To disable Device Guard and Credential Guard:
<code class="hljs ">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa</code>
<code class="hljs ">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard</code>
Restart your computer to apply the changes and disable Device Guard and Credential Guard. If you ever need to enable these features, modify the value data and change it to 1.
Hyper-V is an excellent utility if you want an out-of-the-box virtualization solution. However, you must disable Hyper-V to use third-party virtualization software, including VirtualBox and WMware Workstation.
Fortunately, you can easily disable the Hyper-V Hypervisor and other Virtualization-based Security solutions to use third-party hypervisors without errors.
Atas ialah kandungan terperinci Cara Lumpuhkan atau Alih Keluar Hyper-V dalam Windows 11. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!