title: MSI Error "The computer must be trusted for delegation" caused by KB2918614
body: <p>We have an MSI based installer that recently stopped working on a Windows 2008 R2 environment. The installer is copied over to the target computer using the <code>\\servername\c$\</code> admin UNC shares and then is remotely executed using the create method on the <a href="http://msdn.microsoft.com/en-us/library/aa389388(v=vs.85).aspx">WMI Win32_Process class</a>. The remote execution now fails with the following error message in the Event Viewer:</p>
  
  <blockquote>
    <p>The description for Event ID 10837 from source MsiInstaller cannot be
    found. Either the component that raises this event is not installed on
    your local computer or the installation is corrupted. You can install
    or repair the component on the local computer.</p>
    
    <p>If the event originated on another computer, the display information
    had to be saved with the event.</p>
    
    <p>The following information was included with the event: </p>
    
    <p>Product: OUR PRODUCT NAME -- <strong>The requested operation cannot
    be completed. The computer must be trusted for delegation and the
    current user account must be configured to allow delegation</strong>.</p>
  </blockquote>
  
  <p>After searching it looks like this is caused by a recently released <a href="https://technet.microsoft.com/library/security/MS14-049">security patch for Windows Installer</a>. When I uninstall KB2918614 the installer starts working again, and if I reinstall <a href="http://www.microsoft.com/en-us/download/details.aspx?id=43764">KB2918614</a> the MSI stops working again.</p>
  
  <p>The error message indicates that to solve the issue we would have to have a Domain Administrator edit the target computer using <a href="http://technet.microsoft.com/en-us/library/cc738491(v=WS.10).aspx">Active Directory Users and Computers</a> to allow delegation, however the MSI is NOT using any remote resources, so I don't see why this is required. The same MSI and remote execution process works fine on Windows Server 2012, so I wonder if this is an issue with the patch for 2008 R2.</p>
  
  <p>Are there any other ways to get around this error message?</p>
  
  <p><strong>UPDATE</strong>: This doesnt appear to be an issue with the WMI remote execution, as it also occurs when we try to install the MSI remotely using Powershell, WinRM, and the <code>Invoke-Commmand -ComputerName TargetComputer ...</code> cmdlet. There is a change in the way the Windows Installer on 2008 R2 works after installing KB2918614 that now prevents the custom action from completing it's task.</p>