Software Metering Agent fails with "Software Metering failed to start PrepDriver" in mtrmgr.log

Applies to: Microsoft System Center Configuration Manager 2007 Service Pack 2Microsoft System Center Configuration Manager 2007 R3Microsoft System Center 2012 Configuration Manager More

Symptoms


After you install the Convenience rollup update for Windows 7 SP1 and Windows Server 2008 R2 SP1 (3125574) and the System Center Configuration Manager client, the Software Metering Agent fails, and the following error message is recorded in the mtrmgr.log file:

Software Metering failed to start PrepDriver

Cause


This error can occur if you install rollup 3125574 before you install the System Center Configuration Manager client software. In that scenario, PrepDrv is not installed during the System Center Configuration Manager client setup process.

Resolution


You can use either of the following two methods to resolve this issue:

Method 1

  1. Uninstall rollup 3125574 and the System Center Configuration Manager client. You can uninstall the Windows Configuration Manager client software from a computer by using CCMSetup.exe with the /Uninstall property. For more information, see Uninstall the Configuration Manager Client.
  2. Reinstall the System Center Configuration Manager client software.
  3. Reinstall rollup 3125574.

    To verify that the installation completed successfully, check mtrmgr.log and make sure no errors are found.

Method 2

Manually install PrepDrv by running the following command from a command prompt:

RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 128 C:\WINDOWS\CCM\prepdrv.inf