Error 25028 when virtual machine is installed again

1. Searching for logs

C:\Documents and Settings\Administrator\Local Settings\Temp

The latest modified file vminst.log under

Open it and use editplus -&> multifile search -&> current file search -&> error search

Find the error line

tools-build-462819: 06/04/13 18:45:51 Failed to install driver: 0x00000002. Unknown error code: 0x80070002

 

Installing or upgrading VMware Tools on a Windows XP or Windows 2003 R2 SP2 virtual machine fails with the error: Failed to install driver: 0x00000002(2020221)

 

Cannot install or upgrade VMware Tools on a Windows XP or Windows Server 2003 R2 SP2 virtual machine Installing or upgrading VMware Tools on a Windows XP or Windows Server 2003 R2 SP2 virtual machine fails Various components, such as VMware SVGA II, VMware Pointing Device, vmxnet3 Ethernet adapter, and VMware VMCI Bus Device drivers, do not get installed or upgraded In the vminst.log file, you see entries similar to: tools-build-621624: 04/12/12 12:20:12 Installing driver tools-build-621624: 04/12/12 12:20:12 Cannot query key value HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\Wnd: 2 tools-build-621624: 04/12/12 12:20:12 Failed to get window text: 2 tools-build-621624: 04/12/12 12:20:12 Installing driver with INF: “C:\Programme\Gemeinsame Dateien\VMware\Drivers\video\vmx_svga.inf”, flags: 1 tools-build-621624: 04/12/12 12:20:12 Found “C:\Programme\Gemeinsame Dateien\VMware\Drivers\video\vmx_svga.inf” tools-build-621624: 04/12/12 12:20:12 Attempting to install HID1: PCI\VEN_15AD&DEV_0710&SUBSYS_00000000 tools-build-621624: 04/12/12 12:20:12 HID1 install status: 0xe000020b. Unknown error code: 0x800f020b tools-build-621624: 04/12/12 12:20:12 Attempting to install HID2: PCI\VEN_15AD&DEV_0405&SUBSYS_00000000 tools-build-621624: 04/12/12 12:20:12 HID2 install status: 0xe000020b. Unknown error code: 0x800f020b tools-build-621624: 04/12/12 12:20:12 Attempting to install HID3: PCI\VEN_15AD&DEV_0405&SUBSYS_040515AD tools-build-621624: 04/12/12 12:20:15 HID3 install status: 0x00000002. Unknown error code: 0x80070002 tools-build-621624: 04/12/12 12:20:15 Failed to install driver: 0x00000002. Unknown error code: 0x80070002

This issue occurs if the RunOnce registry key is missing in the virtual machine registry. This key may be accidentally deleted by a third-party software components.

 

Due to a problem with the registry, the following fix is needed

To resolve this issue, add the
RunOnceregistry key to the registry of the virtual machine.

Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft Knowledge Base article
136393.

The preceding link was correct as of March 13, 2013. If you find the link is broken, please provide feedback and a VMware employee will update the link.

To add the
RunOnceregistry key:

ClickStart&>Run, type regedit, and clickOK. The Registry Editor window opens.

Navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion.

Determine if there is folder namedRunOnceunderCurrentVersion.

If it does not exist, right-clickCurrentVersion,clickNew&>Keyand createa folder namedRunOnce.

Add RunOnce to

Similar Posts: