Can't install Guest Additions on Windows XP

Discussions about using Windows guests in VirtualBox.
Post Reply
coudy
Posts: 14
Joined: 19. May 2009, 10:55
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP SP3

Can't install Guest Additions on Windows XP

Post by coudy »

Hi,
My host is Ubuntu 10.04 LTS, and guest is Windows XP SP3. Today I've received update from synaptic to Vbox 3.2.10. Everything was fine, until I started guest OS. Update GA in guest OS crash everytime. Here is log:

Code: Select all

Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
System Directory: C:\WINDOWS\system32
Version: 3.2.10
Previous version: 3.2.8 (Rev 64453)
Handled Windows version: 2k
Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
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 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: VBCoInst.dll... 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:\WINDOWS\system32
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: C:\WINDOWS\system32\drivers\VBoxSF.sys... 100%
Skipped: C:\WINDOWS\system32\VBoxMRXNP.dll
Extract: C:\Program Files\Oracle\VirtualBox Guest Additions\nsx24.tmp... 100%
Rename on reboot: C:\Program Files\Oracle\VirtualBox Guest Additions\nsx24.tmp->C:\WINDOWS\system32\VBoxMRXNP.dll
Extract: C:\WINDOWS\system32\VBoxHook.dll... 100%
Installing Drivers...
Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions
Installing video driver ...
Installing driver ...
HardwareID: PCI\VEN_80EE&DEV_BEEF&SUBSYS_00000000&REV_00
Device class name: Display
Number of GUIDs found: 1
INF-File: C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxVideo.inf
INF-Path: C:\Program Files\Oracle\VirtualBox Guest Additions\
Updating driver for plug'n play devices ...
Installation successful.
Installing guest driver ...
Installing driver ...
HardwareID: PCI\VEN_80EE&DEV_CAFE&SUBSYS_00000000&REV_00
Device class name: Media
Number of GUIDs found: 1
INF-File: C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf
INF-Path: C:\Program Files\Oracle\VirtualBox Guest Additions\
Updating driver for plug'n play devices ...
ERROR (00000005): P
ERROR: Could not install files for Windows 2000 / XP / Vista! Installation aborted.

After guest OS restart I was asked to update driver for device "Virtualbox Device" so I've extracted VBoxWindowsAdditions-x86 /extract /D=C:\Drivers and manually updated drivers for this device.

I'm attaching log from Vbox Host too. I'm not running VirtualBox Open Source Edition (OSE)
Attachments
Vbox3210.7z
logs from VirtualBox
(25.71 KiB) Downloaded 92 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't install Guest Additions on Windows XP

Post by Perryg »

Have you tried to uninstall the guest additions on the XP guest first, then install the new guest additions by selecting install the guest additions from the device tab at the top left of the guest window?
coudy
Posts: 14
Joined: 19. May 2009, 10:55
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP SP3

Re: Can't install Guest Additions on Windows XP

Post by coudy »

I have this problem too with new version 3.2.12. And yes, I've tried uninstall Vbox Guest Additions, reboot and then install. Same problem, with same exception.
khuon
Posts: 4
Joined: 5. Dec 2010, 22:29
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP, Linux, Others

Re: Can't install Guest Additions on Windows XP

Post by khuon »

I also just ran into the same problem. I wonder if a Windows Update moved something.
ElQuia
Posts: 155
Joined: 30. May 2008, 23:31

Re: Can't install Guest Additions on Windows XP

Post by ElQuia »

Guys, having the same problem, upgraded vbox from 3.2.10 to 3.2.12. I am on win7 x64 , virtual XPx86 always worked ok. On first run after vbox upgrade crashes, had to run in safe mode, uninstalled vbox addittions, rebooted. Installed .12 additions, rebooted, CRASHES AGAIN.
3.2.12 additions are causing problems in xp VM.
khuon
Posts: 4
Joined: 5. Dec 2010, 22:29
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP, Linux, Others

Re: Can't install Guest Additions on Windows XP

Post by khuon »

khuon wrote:I also just ran into the same problem. I wonder if a Windows Update moved something.
Okay. I figured out and fixed my problem with the help of the following webpage.

http://www.computercorrect.com/2010/vir ... -xp-error/

In short:
The issue stems from a bug in Windows XP/2000 where new hardware cannot properly be detected if the “RunOnce” key is missing in the registry beneath: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

To fix the problem:

1. Navigate to Start > Run and enter “regedit”.
2. Then find: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
3. With “CurrentVersion” selected, go to the Edit menu and click New > Key
4. Name the key “RunOnce”, and leave everything else at defaults.

NOTE: The new “RunOnce” key should appear underneath the “CurrentVersion” key.

After you’ve added the key, reboot your virtual machine and reinstall guest additions. Everything should go as expected.
coudy
Posts: 14
Joined: 19. May 2009, 10:55
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP SP3

Re: Can't install Guest Additions on Windows XP

Post by coudy »

This error stil exist in Virtualbox 4.0.4
anfho
Posts: 52
Joined: 24. Jan 2011, 21:04
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Ubuntu 16.04

Re: Can't install Guest Additions on Windows XP

Post by anfho »

same here. Can't install guest additions for Win XP Pro SP3. VBox 4.04. Host Win7. Did anybody found a solution to this? (The key RunOnce was already there)....
Thanks!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't install Guest Additions on Windows XP

Post by Perryg »

Hummm,

When you start the guest and then you click on install additions. The autostart process should begin, but if it does not, go to your file manager and start it from there.
Conversely you can click on the device tab and go to the CD/DVD and click on remove disk from the virtual drive. Wait a minute and then click on install guest additions again.
anfho
Posts: 52
Joined: 24. Jan 2011, 21:04
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Ubuntu 16.04

Re: Can't install Guest Additions on Windows XP

Post by anfho »

OK,

uninstalled guest additions, reinstalled them. Auto-start process (install wizzard) works, but guest resolution wouldn't match VBox windows size...

Klicked on auto-resize guest display (Host-Key+G), which did the trick for me.

Now everything works as I expect it should.

Thanks.
kpwuas
Posts: 1
Joined: 22. Mar 2012, 20:09

Re: Can't install Guest Additions on Windows XP

Post by kpwuas »

khuon's solution worked for me upgrading from 4.0.4 to 4.1.10 on an XP SP3 VM.
Post Reply