MSIExec – Some Installations fail when run from a Configuration Manager Task Sequence

When using MSIExec in a Configuration Manager task sequence, you may receive the following error in a verbose MSI log if your task sequence step is set to “Run this step as the following account”:

MSI (s) (8C:04) [11:15:25:812]: SECREPAIR: New Hash Database creation complete.
MSI (s) (8C:04) [11:15:25:812]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (8C:04) [11:15:25:812]: SECREPAIR: Crypt Provider not initialized. Error:-2146893788
MSI (s) (8C:04) [11:15:25:812]: SECUREREPAIR: Failed to CreateContentHash of the file: vcredist.msi: for computing its hash. Error: -2146893788
MSI (s) (8C:04) [11:15:25:812]: SECREPAIR: Failed to create hash for the install source files
MSI (s) (8C:04) [11:15:25:812]: Note: 1: 2262 2: SourceHash 3: -2147287038 
MSI (s) (8C:04) [11:15:25:812]: SECUREREPAIR: SecureRepair Failed. Error code: 80090024F54B34B8
Action start 11:15:25: ResolveSource.
MSI (s) (8C:04) [11:15:25:812]: 
The profile for the user is a temporary profile.

I have reproduced this issue on new installations of the Microsoft Visual C++ 2005 redistributable when KB2918614 is installed. Additionally, Microsoft has confirmed that this a bug with KB2918614 with no ETA on a fix. Currently the workaround is to uninstall KB2918614.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s