Views:

Summary



A DPX installation fails on a Windows server with the following error message: The driver installation failed. Attempting to undo system changes ... (Error code 0x65B: Function failed during execution .) To resolve this issue, do not compress using NTFS file compression.

Symptoms



The installation process runs as expected until it reaches the point of installation for the Change Journal driver. At this point, it stops and then starts to roll back.

The CJ driver cannot install on a drive where the C:\WINDOWS\system32 subfolder DRVSTORE folder is compressed using NTFS file compression.

The Bexinstall.log file displays the following error:

DIFXAPP: INFO: Copied file: 'C:\Program Files\BEX\tools\CJ\BexWinCj.sys' -> 'C:\Windows\system32\DRVSTORE\WinCjInsta_2D98462B7370AFF96B041F6A1C8914BF0D3C40CC\BexWinCj.sys'.

DIFXAPP: INFO: Installing INF file "C:\Windows\system32\DRVSTORE\WinCjInsta_2D98462B7370AFF96B041F6A1C8914BF0D3C40CC\WinCjInstall.inf" of Type 5.

DIFXAPP: INFO: installing class filter 'C:\Windows\system32\DRVSTORE\WinCjInsta_2D98462B7370AFF96B041F6A1C8914BF0D3C40CC\WinCjInstall.inf'

DIFXAPP: ERROR: The driver installation failed. Attempting to undo system changes ... (Error code 0x65B: Function failed during execution.)

DIFXAPP: INFO: Driver store reference information does not exist for service 'BexWinCj'. So, no undo for this service.

DIFXAPP: INFO: Unable to revert to a previous driver store for service 'BexWinCj'.

DIFXAPP: INFO: Will attempt to uninstall the driver.

DIFXAPP: ERROR: Error unable to open service 'BexWinCj' to delete it because of error 0x424

DIFXAPP: INFO: Successfully removed '{04E8B68F-519D-41D8-9AE5-055481080DEE}' from reference list of driver store entry ''

DIFXAPP: INFO: Driver Store entry '' removed.

DIFXAPP: INFO: RETURN: DriverPackageInstallW (0x65B)

DIFXAPP: ERROR: encountered while installing driver package 'C:\Program Files\BEX\tools\CJ\WinCjInstall.inf'

DIFXAPP: ERROR: InstallDriverPackages failed with error 0x65B

DIFXAPP: RETURN: InstallDriverPackages() 1627 (0x65B)

CustomAction MsiInstallDrivers returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

Action ended 10:46:06: InstallExecute. Return value 3.

MSI (s) (EC:7C) [10:46:06:061]: User policy value 'DisableRollback' is 0

MSI (s) (EC:7C) [10:46:06:061]: Machine policy value 'DisableRollback' is 0



Resolution



Perform the following steps:

  1. Open the C:\WINDOWS\system32\ directory using Windows Explorer.
  2. Locate the subfolder DRVSTORE.
  3. Right-click the folder, then select the Properties menu option.
  4. Click the General tab, then click the Advanced button.
  5. Clear the Compress contents to save disk space check box.
  6. Click OK.
  7. Within DRVSTORE folder, delete all folders that start with WinCj

  8. Open the registry by running, regedit.

Delete: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BexWinCj

Delete: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BexWinCjFlt

Delete the "BexWinCj" data value from the "UpperFilters" (REG_MULTI_SZ) string under : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{533C5B84-EC70-11D2-9505-00C04F79DEAF} - Do not delete the "UpperFilters" String.

  1. After making these changes, you must reboot the server. After reboot run the install process again.

If this procedure does not resolve the problem, verify that no other backup products are installed. In some instances, Legato Networker can cause the DPX installer to fail with the above symptoms. Uninstall all other backup products before installing DPX on the same node.