【Hyper-V】與【VirtualBox】【VMware】沖突的解決方法
阿新 • • 發佈:2019-01-22
列表 not 模擬 .html off 解決方法 have detect 命令
安裝Visual Studio以後可能會導致與VirtualBox、VMware產生沖突,這是因為安裝了Windows Phone SDK,沖突表現為: 打開VirtualBox、VMware創建64位虛擬機時,出現了如下錯誤提示: VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer. 這是因為Windows Phone SDK在安裝時打開了Hyper-V導致的。 Windows Phone SDK中的手機模擬器需要用Hyper-V來實現虛擬化。Hyper-V是微軟的虛擬化軟件,類似VirtualBox、VMware,可以用來創建虛擬機。它們被稱為Hypervisor或Virtual Machine Monitor(虛擬機監視器)。 由於Hyper-V與VirtualBox、VMware不能共存,因此當Hyper-V打開時,VirtualBox、VMware就不能正常工作了。上面錯誤提示中提到的”VT-x/AMD-V“是處理器的硬件虛擬化支持,已經在BIOS中打開了; Hyper-V使用了它,於是VirtualBox、VMware就抱怨說無法使用(”not operational“)了。 解決方法就是禁用Hyper-V。途徑有多種: 第一種方法:使用管理員權限運行命令:bcdedit /set hypervisorlaunchtype off。 對應的打開Hyper-V的命令:bcdedit /set hypervisorlaunchtype auto。 第二種方法:使用”添加或刪除Windows組件“圖形界面程序,在裏面取消勾選Hyper-V。 上述方法都需要重啟計算機。而且禁用Hyper-V之後就無法使用Windows Phone SDK中的手機模擬器了。 目前還沒有找到VirtualBox虛擬機和Hyper-V同時運行的方法,除非VirtualBox中虛擬機是32位的 (我試了32位Windows XP的虛擬機在啟用Hyper-V時仍可以正常運行)。 若想在啟動電腦的時候選擇是否打開Hyper-V,按照以下步驟操作: 1、以管理員權限運行 bcdedit /copy {current} /d "Windows 10 (開啟 Hyper-V)" 命令,隨後會提示已經創建了另外一個啟動菜單項,記下 { } 中的一串代碼。 2、運行 bcdedit /set {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} hypervisorlaunchtype auto 命令,將上面的代碼替換掉這裏的紅色XXX代碼。 3、右鍵“此電腦”屬性,高級系統設置,啟動和故障恢復,設置“顯示操作系統列表的時間”
http://www.ldmnq.com/bbs/thread-23071-1-1.html
模擬器和系統自帶Hyper-V沖突,勾選Hyper-V後,重啟系統,啟動模擬器,直接藍屏
【Hyper-V】與【VirtualBox】【VMware】沖突的解決方法