本文提供了啟用或禁用虛擬機平台在Windows 11中。

Windows Hypervisor平台(WHP)允許諸如VirtualBox或Qemu之類的應用程序利用Windows操作系統中的虛擬化功能。它使開發人員能夠通過直接訪問對管理程序層的直接訪問來創建基於虛擬化的應用程序,例如虛擬機和模擬器。

虛擬機平台啟用Windows中的虛擬化支持。

啟用可使用設置應用程序

首先,打開Windows設置應用程序。

您可以通過單擊開始菜單並選擇設置來做到這一點。或按鍵盤快捷鍵( Windows鍵 + i )啟動設置應用程序。

設置應用程序打開時,單擊左側的 system 按鈕。然後,在右側選擇高級瓷磚。 src=”https://geekrewind.com/wp-content/uploads/2025/08/Virtual-Workspaces-tile-in-Settings-1024×662.avif”>

Then, toggle the “Virtual Machine Platform“button to enable or disable it.

完成設置應用程序時,完成設置應用程序時。要使用“控制面板”應用程序。

首先單擊“開始”,然後在搜索欄中鍵入“ 打開或關閉Windows功能“。選擇似乎打開Windows Control面板的結果。

要禁用它,取消選中框。

從命令提示

demplant dempt

dempt of plote

dempt off plote

提示。

要運行Windows命令提示符作為管理員,單擊“啟動”,搜索命令提示符,右鍵單擊它,然後選擇“ 作為管理員。 src=”https://geekrewind.com/wp-content/uploads/2021/07/windows-11-command-prompt-administrator.webp”>

When the Command Prompt opens, simply copy and paste the following line and hit Enter to enable the Hypervisor Platform.

DISM/Online/Enable-Feature/featureName:“虛擬MachinePlatform”

要禁用它,請在下面運行命令。 PowerShell

更喜歡PowerShell的用戶可以使用它來啟用或禁用虛擬機平台

以管理員的身份運行Windows PowerShell,打開開始菜單並蒐索PowerShell,如下所示。 src=“ https://geekrewind.com/wp-content/uploads/2021/07/windows-11-powershell-hell-run-as-as-administrator.webp”>

Windows PowerShell打開Windows powerShell時-Online-FeatureName”VirtualMachinePlatform”

To disable the feature, run the command below.

Disable-WindowsOptionalFeature-Online-FeatureName”VirtualMachinePlatform”

That should do it!

Conclusion:

The Virtual Machine Platform is essential為了在Windows 11中啟用虛擬化。用戶可以通過各種方法啟用或禁用該功能:設置應用程序控制面板命令提示 Windows PowerShell 。 激活該功能使用戶可以創建虛擬機並有效運行多個操作系統。 進行更改後,請記住要重新啟動計算機以應用新設置。 有了正確的配置,用戶可以充分利用Windows 11的虛擬化功能來開發和測試。

Categories: IT Info