none
Been trying to install updated agent with no success

    Question

  • I have a Windows 2016 server that previously had the agent installed on it.  I went to update the agent to the latest version once I installed the latest on the server (because it reported that my endpoints were now incompatible) and all of them updated just fine with the exception of one.  I've since tried the following:

    - Triple checked that all pre-requites have been installed, even updated the Windows Installer to the absolute latest version

    - Upgrade the agent from the DMP console, failed

    - Upgrade the agent from the server itself, failed

    - Uninstall the old agent and attempt the same installed, failed

    - Stripped everything out of the old server referencing the agent and attempt the installs, failed

    I kept getting messages on it not being able to access certain registry keys, so one by one I attempted the install and corrected the permissions on every single registry key (which was extremely tedious let me tell you) and still have the install fail.

    In between all of these attempts over MANY weeks, the server has been rebooted many times, so it's not missing a reboot.

    The install starts, gets part way through and then just rolls back with the following error:

    DPMAgentInstaller failed with errorcode =0x80070643, error says: Fatal error during installation.

    Check log files in [WINDIR]Temp\MSDPM*.LOG

    When I check the log file, I see the same error message:

    MSI (s) (58:CC) [10:01:03:184]: Product: Microsoft System Center  DPM Protection Agent - Update 'Microsoft System Center  DPM Protection Agent Update - KB4339950' could not be installed. Error code 1603. Additional information is available in the log file C:\WINDOWS\\Temp\MSDPMAgentPatchInstall.LOG.

    MSI (s) (58:CC) [10:01:03:184]: Windows Installer installed an update. Product Name: Microsoft System Center  DPM Protection Agent. Product Version: 5.1.378.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Update Name: Microsoft System Center  DPM Protection Agent Update - KB4339950. Installation success or error status: 1603.

    MSI (s) (58:CC) [10:01:03:184]: Note: 1: 1729 
    MSI (s) (58:CC) [10:01:03:184]: Note: 1: 2205 2:  3: Error 
    MSI (s) (58:CC) [10:01:03:184]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1729 
    MSI (s) (58:CC) [10:01:03:184]: Note: 1: 2205 2:  3: Error 
    MSI (s) (58:CC) [10:01:03:184]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
    MSI (s) (58:CC) [10:01:03:184]: Product: Microsoft System Center  DPM Protection Agent -- Configuration failed.

    MSI (s) (58:CC) [10:01:03:184]: Windows Installer reconfigured the product. Product Name: Microsoft System Center  DPM Protection Agent. Product Version: 5.1.378.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 1603.

    MSI (s) (58:CC) [10:01:03:184]: Attempting to delete file C:\WINDOWS\Installer\7b7d2da.msp
    MSI (s) (58:CC) [10:01:03:184]: Deferring clean up of packages/files, if any exist
    MSI (s) (58:CC) [10:01:03:184]: Attempting to delete file C:\WINDOWS\Installer\7b7d2da.msp
    MSI (s) (58:CC) [10:01:03:184]: Unable to delete the file outside of the engine. LastError = 2
    MSI (s) (58:CC) [10:01:03:184]: MainEngineThread is returning 1603
    MSI (s) (58:CC) [10:01:03:184]: RESTART MANAGER: Session closed.
    MSI (s) (58:CC) [10:01:03:184]: No System Restore sequence number for this installation.
    === Logging stopped: 3/26/2019  10:01:03 ===
    MSI (s) (58:CC) [10:01:03:200]: User policy value 'DisableRollback' is 0
    MSI (s) (58:CC) [10:01:03:200]: Machine policy value 'DisableRollback' is 0
    MSI (s) (58:CC) [10:01:03:200]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (58:CC) [10:01:03:200]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (58:CC) [10:01:03:200]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (58:CC) [10:01:03:200]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (58:CC) [10:01:03:200]: Destroying RemoteAPI object.
    MSI (s) (58:E0) [10:01:03:200]: Custom Action Manager thread ending.
    MSI (c) (E0:A0) [10:01:03:215]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (E0:A0) [10:01:03:215]: MainEngineThread is returning 1603

    I have search and researched this issue all to no avail.  Can anyone assist in getting this agent to actually install?  as far as the MSDPMAgentPatchInstall.LOG file that the error is referencing, that's where that message came from.

    Tuesday, March 26, 2019 2:05 PM

All replies

  • Hi Kevin,

    From which version did you update the DPM agent? 1801 -> 1807?

    Could you describe in detail how you are trying to install the DPM agent?

    Best regards,

    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 2:21 PM
  • From 1801 to 1807, yes.

    How much more detail would you like? 

    I attempted to install the agent from the DPM console. 

    Server listed as "Needs updating" in the console, click on "Update Available" to have it install and fail

    I copied the agent installation to the server in question and ran the install from there:
    amd64\1033\DPMAgentInstaller_KB4339950_AMD64.exe

    Run that installer and have it fail with the above messages (in my original thread).

    Tuesday, March 26, 2019 2:45 PM
  • Thank you Kevin for the detailed information.

    Could you try the following:

    1. Copy the DPMAgentInstaller_KB4339950_AMD64.exe to the protected server (for example C:\Temp).

    2. Open up a Command Prompt (Admin) and change directory to the directory where you copied the DPMAgentInstaller_KB4339950_AMD64.exe file.

    3. Run the DPMAgentInstaller_KB4339950_AMD64.exe from within the Command Prompt (Admin).


    What result do you get?


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 2:53 PM
  • As I stated above, I've done that multiple times and it fails, but I did it again.  I can't paste the image in here (it won't let me yet), but here's what the DOS box reports when attempting the install:

    -----------------

    DPMAgentInstaller failed with errorcode =0x80070643, error says: Fatal error during installation.

    Check log files in [WINDIR]Temp\MSDPM*.log
    Press Enter key to close the window

    ------------------

    What would you like to see from the log file as it's way to long to here in its entirety?

    Tuesday, March 26, 2019 3:09 PM
  • Sorry I missed that, so you are running the command below?

    DPMAgentInstaller_x64.exe DPMserver.domain.com

    The following is also required:

    • Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 3:21 PM
  • Just checked the control panel:
    Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030 is installed (along with 2005, 2008, and 2013)

    Yes, that command line is one that I've tried multiple times, all with the same result (and making sure I've referenced the correct DPM FQDN)

    Tuesday, March 26, 2019 3:32 PM
  • Did you try uninstalling the Microsoft Visual C++ 2012 Redistributable (x64) and then try installing the DPM agent from the Command Prompt (Admin) ?

    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 3:33 PM
  • Yes, it didn't make any difference

    Tuesday, March 26, 2019 3:39 PM
  • Strange...

    Did you try installing without any parameters?

    Just by running the following in a Command Prompt (Admin):

    DPMAgentInstaller_x64.exe


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 3:45 PM
  • Did that too, same thing, doesn't make any difference.  Fails with the same message.
    Tuesday, March 26, 2019 3:48 PM
  • And you tried by stopping the Windows firewall service?

    1. Net stop mpssvc

    2. Run: DPMAgentInstaller_x64.exe DPMserver.domain.com in a Command Prompt (Admin).

    3. Reboot the server.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 3:51 PM
  • There is this in the event log that I didn't post before:

    Log Name: Application
    Source: Application Error
    Event ID: 1000

    Faulting application name: MsiExec.exe, version: 5.0.14393.2430, time stamp: 0x5b691f6b
    Faulting module name: MSI5548.tmp, version: 5.1.378.0, time stamp: 0x5b3c6846
    Exception code: 0xc0000005
    Fault offset: 0x000000000004dc49
    Faulting process id: 0x9720
    Faulting application start time: 0x01d4e3ea1d1f5cf4
    Faulting application path: C:\Windows\System32\MsiExec.exe
    Faulting module path: C:\WINDOWS\Installer\MSI5548.tmp
    Report Id: 8204f5eb-2b4b-48e4-af28-2d216ed73393
    Faulting package full name: 

    ------------------------

    and

    ------------------------

    Log Name: Application
    Source: Msinstaller
    Event ID: 1023

    Product: Microsoft System Center  DPM Protection Agent - Update 'Microsoft System Center  DPM Protection Agent Update - KB4339950' could not be installed. Error code 1603. Additional information is available in the log file C:\WINDOWS\\Temp\MSDPMAgentPatchInstall.LOG.

    ---------------------------

    I get those every time I try to install it as well

    Tuesday, March 26, 2019 3:52 PM
  • Something's not right with the MsiInstaller.exe it appears..

    You could try enabling verbose logging:

    How to enable Windows Installer logging
    https://support.microsoft.com/en-us/help/223300/how-to-enable-windows-installer-logging


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 3:56 PM
  • Turned on the extra logging, it didn't record anything different then with it off...
    Tuesday, March 26, 2019 4:13 PM
  • As an FYI, here's the content of the MSDPMAgentBootstrap0Curr.errlog file (I haven't posted this before, but just for all the detail as possible I can include)

    A960 A958 03/26 16:11:20.199 10 main.cpp(153) WARNING Failed: Hr: = [0x00000000] DetectDPM: completed
    A960 A8E8 03/26 16:12:02.513 10 setupdpmfltr.cpp(849) NORMAL dpmfltr driver path [C:\WINDOWS\system32\drivers\dpmfilter.sys]
    A960 A8E8 03/26 16:12:02.513 10 setupdpmfltr.cpp(1034) NORMAL versionBufferSize returned by GetFileVersionInfoSize = 2332
    A960 A8E8 03/26 16:12:02.513 10 setupdpmfltr.cpp(1060) NORMAL Hr: = [0x00000000] QueryFileVersion returning
    A960 A8E8 03/26 16:12:02.513 10 setupdpmfltr.cpp(872) NORMAL The dpmfltr is present and driver version is [4.3.1123.0]
    A960 A8E8 03/26 16:12:02.513 10 setupdpmfltr.cpp(1034) NORMAL versionBufferSize returned by GetFileVersionInfoSize = 2332
    A960 A8E8 03/26 16:12:02.513 10 setupdpmfltr.cpp(1060) NORMAL Hr: = [0x00000000] QueryFileVersion returning
    A960 A9A4 03/26 16:12:02.747 10 main.cpp(6905) NORMAL AccountName for WinLocalSystemSid = NT AUTHORITY\SYSTEM
    A960 A9A4 03/26 16:12:02.747 10 main.cpp(6918) NORMAL AccountName for WinBuiltinAdministratorsSid = BUILTIN\Administrators
    A960 A9A4 03/26 16:12:02.763 10 main.cpp(6935) NORMAL Number of Applications in collection = 21
    A960 A9A4 03/26 16:12:02.810 10 main.cpp(6975) NORMAL Number of Application Object changes saved = 1
    A960 A9A4 03/26 16:12:02.810 10 main.cpp(6987) NORMAL InstallPath is C:\Program Files\Microsoft Data Protection Manager\DPM\bin\VssNullProvider.dll
    A960 A9A4 03/26 16:12:02.825 10 main.cpp(7008) WARNING Failed: Hr: = [0x8011045c] : Encountered Failure: : lVal : pCOMAdminCatalog->CreateServiceForApplication( bsProviderName, bsProviderName, bsServiceStartType, bsServiceErrorNormal, bsEmptyString, bsLocalSystem, 0, varBool.boolVal)
    Tuesday, March 26, 2019 4:15 PM
  • I wish I could reproduce this, this is really a strange behavior and something you don't see often.

    Which account are you using to install the DPM agent? Could you try using another account? (If possible a domain admin?).

    If you have any antivirus software, try disabling it or even temporarily uninstall it completely, did you try disabling the firewall as well or stopping the firewall service?


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 4:34 PM
  • Tried the Local admin, Domain Admin, same result no matter what account I use.

    A/V is Windows Defender, so no fancy third party AV or antimalware getting in the way...

    Tuesday, March 26, 2019 4:38 PM
  • Firewall is disabled by GPO

    Tuesday, March 26, 2019 4:39 PM
  • I do agree that this is puzzling in the extreme, I've worked with Windows since version 3.1 and DOS back in the day and have held various MCSE certifications since NT4... So, I've done this and been there before, I'm just out of my own ideas and short of getting and paying for a support incident with Microsoft (you would think an update of the agent would just install considering it installed on a "sister" server that was built at the same time with the same source files and software, and they all run on Hyper-V, so it's like it's different hardware or anything).  I'm really just at a loss for what's going wrong at this point and I can't find anything useful from any logging or other information on what could possibly be going wrong at this point.

    Also, this server has about 8-10 TB of data on it, so it's not really one that can be "rebuilt" (plus if I did that, I would need to re-replicate that to Azure which would take almost two weeks)...

    Tuesday, March 26, 2019 4:54 PM
  • I'm also running out of ideas..

    You could try to run the following:

    DPMAgentInstaller_KB4339950_AMD64.exe /x

    This will extract everything from the executable file, then you could try manually installing one component by one or try digging through the extracted files.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 26, 2019 10:35 PM