Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

VirtualBox 嚴重錯誤「建立 COM 物件失敗」解決記錄

編輯:關於 Windows

在已安裝 VirtualBox 正式版的電腦上,另安裝便攜版(或解壓版)導致衝突,啟動正式版報錯:「建立 COM 物件失敗,應用程式將被中斷」,詳細碼 REGDB_E_CLASSNOTREG (0x80040154)。

解決步驟

  1. 以管理員身分開啟命令提示字元。
  2. 切換至 VirtualBox 安裝目錄(例:D:\WIN_Program\VirtualBox)。
  3. 依序執行以下兩條命令(路徑請自行調整):
VBoxSVC.exe /reregserver
regsvr32 VBoxC.dll

(原文為 vboxsvc.exe 與 vboxc.dll,實際檔名大小寫不影響)

  1. 重新啟動 VirtualBox,錯誤應解除。

附錄:其他常見 VirtualBox 錯誤處理

「Cannot access the kernel driver!」

  • 多發生於重裝系統後未註冊核心驅動。
  • 解決:至 VirtualBox 安裝目錄,右鍵 VBoxDrv.inf 選擇 「安裝」。

原因分析

同時存在安裝版與便攜版會導致 COM 類別註冊衝突(CLSID 指向錯誤路徑)。重新註冊伺服器與核心 DLL 可修正登錄指向。

Copyright © Windows教程網 All Rights Reserved