VBox的擴展工具安裝在 管理 -> 全局設定 -> 擴展
有時候安裝擴展會失敗如:
VBoxManage.exe: error: Failed to install "D:\Oracle_VM_VirtualBox_Extension_Pack-6.0.6.vbox-extpack"
VBoxManage.exe: error: Failed to load the main module ('D:\Program Files\Oracle\VirtualBox\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack\win.amd64\VBoxPuelMain.DLL'): VERR_SYMBOL_NOT_FOUND - GetLastError=127
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleExtPack(struct HandlerArg *)" at line 1211 of file VBoxManageMisc.cpp
或者是:
VBoxManage.exe: error: Failed to install "D:\Oracle_VM_VirtualBox_Extension_Pack-6.0.6.vbox-extpack"
VBoxManage.exe: error: The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to rename the extension pack directory: VERR_ACCESS_DENIED
VBoxManage.exe: error: VBoxExtPackHelperApp.exe: error: If the problem persists, try running the command: VBoxManage extpack cleanup
VBoxManage.exe: error: rcExit=1
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleExtPack(struct HandlerArg *)" at line 1211 of file VBoxManageMisc.cpp
這些情況。只需要把
D:\Program Files\Oracle\VirtualBox\ExtensionPacks\
和
D:\Program Files\Oracle\VirtualBox\VBoxExtPackHelperApp.exe
的權限改成everyone完全控制,然後就可以了。
具體做法右擊 ExtensionPacks 文件夾,選擇屬性 -> 安全 -> 編輯 -> 添加 -> 高級 -> 立即查找 -> 選擇everyone -> 確定 -> 勾選完全控制(這一步可以只在VBoxExtPackHelperApp.exe上做) -> 確定 ->確定
然後對VBoxExtPackHelperApp.exe做一樣的操作。
這樣就可以安裝了。