- I am trying to install Parallels Tools in Windows-based virtual machine, but Parallels Tools installation crashes while installing.
Before using the tool, you need to identify which driver fails to install in Windows virtual machine. In order to do that, please:
Create snapshot to be secured from all unwanted changes in the virtual machine. When solution is applied successfully, please delete snapshot.
Go to C:\Windows\Temp. Find and open the most recent parallels-tools-setup document.
Press Ctrl+F to open search dialog. Search for "DIFXAPP: ERROR" without qoutes:
DIFXAPP: INFO: Installing INF file 'C:\Program Files (x86)\Parallels\Parallels Tools\Drivers\prl_sound\prl_sound.inf' (Plug and Play). DIFXAPP: INFO: Could not open file C:\Windows\System32\DriverStore\FileRepository\prl_sound.inf_amd64_857254279ea3f2e6\prl_sound.inf. (Error code 0xE0000100: The style of the INF is different from what was requested.) DIFXAPP: ERROR: PnP Install failed. (Error code 0x3EE: The volume for a file has been externally altered so that the opened file is no longer valid.)
Note what driver fails to install, e.g. prl_sound.inf_amd64_857254279ea3f2e6.
Go to C:\Windows\System32\DriverStore\FileRepository and locate the driver folder. Enter the folder and open driver information file (see pic. below). Note driver version.
Now you have to locate the same driver with the same version on another virtual machine which is not experience this error (virtual machine with the same Windows OS, same bit version and the same Parallels Desktop build that you have). It could be your test virtual machine, or just another virtual machine on duty. Copy driver folder from FileRepository to the virtual machine you troubleshoot (paste it inside C: drive).
NOTE: Do not forget to check bit version of Windows OS. Drivers for 32 and 64 bit versions are different.
Download Driver Package Installer (DPInst) from attach below:
Place dpinst tool to the C: drive. In Windows virtual machine you troubleshoot open Command Prompt and execute:
cd C:\ dpinst.exe /d /u \\path-to-inf
where path-to-inf is a path to the *.inf file of the driver, which is located inside driver folder (the one you've downloaded)
Confirm that you want to uninstall the driver by pressing Enter.
Reboot the virtual machine. Try to install Parallels Tools again. On the "All devices using this driver will be removed. Do you wish to continue?" pop-up say 'Yes'.
Now, if you picked-up everything correctly, the following pop-up will appear:
This means that you are going to uninstall a live driver, which is currently used in the system. And Parallels Tools installation cannot replace this working driver due to the registry corruption. After confirming to uninstall the driver, reboot and try to install Parallels Tools.
You may also try to run 'dpinst' by using the driver from FileRepository folder. Also there could be several corrupter drivers, so if the installation fails again, look at the logs - there could be another error on another driver.
If the installation crashes on 69% please check prl_memdev driver in %systemroot%\system32\FileRepository\
If the installation crashes on 59% please check prl_dd driver in %systemroot%\system32\FileRepository\
If using dpinst tools doesn't help - you may try to manually copy the same driver files into %systemroot%\system32\FileRepository\ from your test virtual machine.
If the installation crashes on 66%, to workaround this you may uninstall sound device from Device Manager before installing Parallels Tools. Parallels Tools installation will skip installing sound driver, and will successfully finish, but Windows won't have sound playback.
- For Windows 8 you may use 'Refresh PC' option to fix the registry and install Parallels Tools
IF NOTHING HELPS:
Also create snapshot to be secured from all unwanted changes in the virtual machine. When solution is applied successfully, please delete snapshot.
- Open Windows registry: Press Win+R -> type "regedit" -> hit Enter.
- Highlight HKEY_LOCAL_MACHINE- > File -> Load Hive -> specify "c:\windows\system32\config\drivers" -> name key somehow (say 'LoadedHive')
- Edit -> Find, specify the name of the driver (e.g. "prl_dd").
- Delete all entries of prl_dd in the 'LoadedHeave' branch. (Note: you will need to change owner of the branch and give it permissions 'Full Control').
- Restart virtual machine and install Parallels Tools.
Corrupted Windows registry