在运行 Windows 10 TP 的 VirtualBox 上安装 Guest Additions

在运行 Windows 10 TP 的 VirtualBox 上安装 Guest Additions

因此我下载了 Windows 10 TP 并将其安装在 VBox 上,由于分辨率不好,我安装了 Guest Additions Disk 并使用“VBoxAdditions.exe /force”从运行面板运行 .exe,同时将 .exe 的兼容性设置为 Windows 8。这是开始安装时屏幕上显示的内容:

Stopped logging into separate file
Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
Version: 4.3.12 (Rev 93733)
No previous version of Oracle VM VirtualBox Guest Additions detected
Detected OS: Windows 8 (64-bit)
System Directory: C:\Windows\system32
Checking for installation requirements for Vista / Windows 7 / Windows 8 ...
Forcing installation, checking requirements skipped
Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
Extract: DIFxAPI.dll... 100%
Extract: VBoxDrvInst.exe... 100%
Extract: VBoxVideo.inf... 100%
Extract: VBoxVideo.cat... 100%
Extract: iexplore.ico... 100%
Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
Stopping VBoxService ...
Stopping VBoxService via SCM ...
Stopping VBoxService done
Stopping VBoxTray ...
Stopping VBoxTray done
Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
Extract: VBoxVideo.sys... 100%
Extract: VBoxDisp.dll... 100%
Extract: VBoxMouse.sys... 100%
Extract: VBoxMouse.inf... 100%
Extract: VBoxMouse.cat... 100%
Extract: VBoxGuest.sys... 100%
Extract: VBoxGuest.inf... 100%
Extract: VBoxGuest.cat... 100%
Extract: VBoxTray.exe... 100%
Extract: VBoxControl.exe... 100%
Extract: VBoxWHQLFake.exe... 100%
Output folder: C:\Windows\system32
Extract: VBoxService.exe... 100%
Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
Extract: VBoxVideoW8.cat... 100%
Extract: VBoxVideoW8.sys... 100%
Extract: VBoxVideoW8.inf... 100%
Extract: VBoxDispD3D.dll... 100%
Extract: VBoxOGLarrayspu.dll... 100%
Extract: VBoxOGLcrutil.dll... 100%
Extract: VBoxOGLerrorspu.dll... 100%
Extract: VBoxOGLpackspu.dll... 100%
Extract: VBoxOGLpassthroughspu.dll... 100%
Extract: VBoxOGLfeedbackspu.dll... 100%
Extract: VBoxOGL.dll... 100%
Extract: VBoxD3D9wddm.dll... 100%
Extract: wined3dwddm.dll... 100%
Extract: VBoxDispD3D-x86.dll... 100%
Extract: VBoxOGLarrayspu-x86.dll... 100%
Extract: VBoxOGLcrutil-x86.dll... 100%
Extract: VBoxOGLerrorspu-x86.dll... 100%
Extract: VBoxOGLpackspu-x86.dll... 100%
Extract: VBoxOGLpassthroughspu-x86.dll... 100%
Extract: VBoxOGLfeedbackspu-x86.dll... 100%
Extract: VBoxOGL-x86.dll... 100%
Extract: VBoxD3D9wddm-x86.dll... 100%
Extract: wined3dwddm-x86.dll... 100%
Extract: C:\Windows\system32\drivers\VBoxSF.sys... 100%
Extract: C:\Windows\system32\VBoxMRXNP.dll... 100%
Extract: C:\Windows\SysWOW64\VBoxMRXNP.dll... 100%
Extract: C:\Windows\system32\VBoxHook.dll... 100%
Installing drivers ...
Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
Installing guest driver ...
Executing: "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log"
Installing driver ...
INF-File: C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf
(1) ENTER:  DriverPackageInstallW
(1) Installing INF file 'C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf' (Plug and Play).
(1) Looking for Model Section [VBoxGuest.NTamd64]...
(1) Installing devices with Id "PCI\VEN_80EE&DEV_CAFE&SUBSYS_00000000&REV_00" using INF "C:\Windows\System32\DriverStore\FileRepository\vboxguest.inf_amd64_7123bb5f6bb1bfea\vboxguest.inf".
(1) Will force install because driver is not better and force flag is set.
(1) ENTER UpdateDriverForPlugAndPlayDevices...
(0) RETURN UpdateDriverForPlugAndPlayDevices.
(1) Installation was successful.
(0) Install completed
(1) RETURN: DriverPackageInstallW  (0x0)
Driver was installed successfully!
Execution returned exit code: 0
Installing WDDM video driver for Windows 8...
Executing: "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxVideoW8.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log"
Installing driver ...
INF-File: C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxVideoW8.inf
(1) ENTER:  DriverPackageInstallW
(1) Installing INF file 'C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxVideoW8.inf' (Plug and Play).
(1) ERROR: 3758096640 - Could not open file C:\Windows\System32\DriverStore\FileRepository\vboxvideow8.inf_amd64_a020d0cf08428a58\vboxvideow8.inf.
(3) ERROR: 1006 - PnP Install failed.
(1) Attempting to rollback ...
(1) No devices to rollback
(1) Successfully removed '{7d2c708d-c202-40ab-b3e8-de21da1dc629}' from reference list of driver store entry 'C:\Windows\System32\DriverStore\FileRepository\vboxvideow8.inf_amd64_a020d0cf08428a58\vboxvideow8.inf'
(1) RETURN: DriverPackageInstallW  (0x3EE)
ERROR (000003ee): The volume for a file has been externally altered so that the opened file is no longer valid.
Execution returned exit code: 2
Error excuting ""C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxVideoW8.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log"" (exit code: 2) -- aborting installation
Error excuting ""C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxVideoW8.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log"" (exit code: 2) -- aborting installation

答案1

右键单击 VBoxWindowsAdditions-amd64.exe,选择属性并将兼容性设置为 Windows 7。然后不会检查“直接 3D 支持(实验)”,您可以继续安装而不会出现安装错误。

来源: https://4sysops.com/archives/install-virtualbox-guest-additions-on-windows-10/

答案2

通过参考此票,我能够让视频驱动程序与来宾添加功能一起工作:

https://www.virtualbox.org/ticket/13501

在虚拟机的设置中尝试选择Display-> Enable 3D Acceleration。然后尝试重新安装客户机添加程序,/force并且禁用任何兼容模式设置。

此后,如果您幸运的话,诸如自动调整访客显示屏大小之类的功能应该可以正常工作。

注意:这是在 Ubuntu 14.04 主机和 Windows 10(内部版本 9926)客户机上进行的。

相关内容