> ## Content Index
> Fetch the complete content index at: https://yonglun.me/llms.txt
> Use this file to discover other available public pages before exploring further.

# Hyper-V功能的关闭与启用
- URL: https://yonglun.me/hyper-v/
- Published: 2020-08-01T12:56:18.000Z
- Updated: 2025-04-22T08:18:44.000Z
- Description: 最近在Windows 10下 尝试WSL2与Oracle VirtualBox的共存。发现WSL2需要Hyper-V功能支撑，但启用Hyper-V后，Oracle VirtualBox 的虚拟机运行时速度超慢，无法使用。测试了一下，发现关闭Hyper-V功能后，Oracle VirtualBox 可以正常工作。下面给出关闭及启用Hyper-V功能的方法。
- Author: Yonglun
- Tags: #lang-zh

最近在Windows 10下 尝试WSL2与Oracle VirtualBox的共存。发现WSL2需要Hyper-V功能支撑，但启用Hyper-V后，Oracle VirtualBox 的虚拟机运行时速度超慢，无法使用。测试了一下，发现关闭Hyper-V功能后，Oracle VirtualBox 可以正常工作。下面给出关闭及启用Hyper-V功能的方法。

## 1.关闭Hyper-V功能

- 以管理员身份运行命令行窗口，执行下面的命令
- 完成后重新启动计算机

```batch
bcdedit /set hypervisorlaunchtype off

```

## 2.启用Hyper-V功能

- 以管理员身份运行命令行窗口，执行下面的命令
- 完成后重新启动计算机

```batch
bcdedit /set hypervisorlaunchtype auto

```