locked
Unable to install SCCM client agent RRS feed

  • Question

  • Hello all,

    i have facing the issue on few client machines while installing the sccm clients it was ending with 1651 error as per the client.msi log

    Please guide me to fix the issue.

    CCMsetup.log

    Find features 'CcmFramework,SmsRemoteClient,SmsInventory,SmsSoftwareMetering,SmsSoftwareDistribution,ClientUI,ClientSDK,SmsRemoteTools,SmsImageDeployment,SmsPatchManager,UpdatesAgent,ScanAgent,TSAgent,SmsPeerDPAgent,DcmClient,DcmClientSDK,SmsOSDeployment,SmsTaskSequence,BCD,SmsSysPrep,VirtualApp,SmsOutOfBandManagement,SCOPClient,SmsSCOPClient32,CcmMtc,SmsPowerManagement,EndpointProtection,BgbAgent,CertEnrollAgent,ComplRelayAgent,SensorFrameworkDriver' from msi database C:\WINDOWS\ccmsetup\client.msi ccmsetup 7/14/2020 5:55:42 PM 108292 (0x1A704)
    No features were excluded and will be excluded. ccmsetup 7/14/2020 5:55:42 PM 108292 (0x1A704)
    MSI PROPERTIES are  CCMCERTSTORE="MY" CCMFIRSTCERT="1" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="224" CCMPKICERTOPTIONS="1" DNSSUFFIX="ASTRAZENECA.NET" FSP="SESKWCMPSS2" MANAGEDINSTALLER="0" SMSCACHESIZE="20480" SMSMP="SESKWCMMP2" SMSSITECODE="5PA" SMSSLP="SESKWCMMP2" INSTALL=ALL REINSTALLMODE=vmaus ccmsetup 7/14/2020 5:55:42 PM 108292 (0x1A704)
    Will install client patches with PATCH property.  PATCH="C:\WINDOWS\ccmsetup\cm1910-client-kb4537079-x64.msp" ADDLOCAL="CcmFramework,SmsRemoteClient,SmsInventory,SmsSoftwareMetering,SmsSoftwareDistribution,ClientUI,ClientSDK,SmsRemoteTools,SmsImageDeployment,SmsPatchManager,UpdatesAgent,ScanAgent,TSAgent,SmsPeerDPAgent,DcmClient,DcmClientSDK,SmsOSDeployment,SmsTaskSequence,BCD,SmsSysPrep,VirtualApp,SmsOutOfBandManagement,SCOPClient,SmsSCOPClient32,CcmMtc,SmsPowerManagement,EndpointProtection,BgbAgent,CertEnrollAgent,ComplRelayAgent,SensorFrameworkDriver" ccmsetup 7/14/2020 5:55:42 PM 108292 (0x1A704)
    Expanded MSI PROPERTIES are  CCMCERTSTORE="MY" CCMFIRSTCERT="1" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="224" CCMPKICERTOPTIONS="1" DNSSUFFIX="ASTRAZENECA.NET" FSP="SESKWCMPSS2" MANAGEDINSTALLER="0" SMSCACHESIZE="20480" SMSMP="SESKWCMMP2" SMSSITECODE="5PA" SMSSLP="SESKWCMMP2" INSTALL=ALL REINSTALLMODE=vmaus PATCH="C:\WINDOWS\ccmsetup\cm1910-client-kb4537079-x64.msp" ADDLOCAL="CcmFramework,SmsRemoteClient,SmsInventory,SmsSoftwareMetering,SmsSoftwareDistribution,ClientUI,ClientSDK,SmsRemoteTools,SmsImageDeployment,SmsPatchManager,UpdatesAgent,ScanAgent,TSAgent,SmsPeerDPAgent,DcmClient,DcmClientSDK,SmsOSDeployment,SmsTaskSequence,BCD,SmsSysPrep,VirtualApp,SmsOutOfBandManagement,SCOPClient,SmsSCOPClient32,CcmMtc,SmsPowerManagement,EndpointProtection,BgbAgent,CertEnrollAgent,ComplRelayAgent,SensorFrameworkDriver" ccmsetup 7/14/2020 5:55:42 PM 108292 (0x1A704)
    C:\WINDOWS\ccmsetup\{15714557-4FAA-4A6B-A33A-8F64D3FF658A}\client.msi is Microsoft trusted. ccmsetup 7/14/2020 5:55:50 PM 108292 (0x1A704)
    Running installation package
      Package:     C:\WINDOWS\ccmsetup\{15714557-4FAA-4A6B-A33A-8F64D3FF658A}\client.msi
      Log:         C:\WINDOWS\ccmsetup\Logs\client.msi.log
      Properties:   CCMCERTSTORE="MY" CCMFIRSTCERT="1" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="224" CCMPKICERTOPTIONS="1" DNSSUFFIX="ASTRAZENECA.NET" FSP="SESKWCMPSS2" MANAGEDINSTALLER="0" SMSCACHESIZE="20480" SMSMP="SESKWCMMP2" SMSSITECODE="5PA" SMSSLP="SESKWCMMP2" INSTALL=ALL REINSTALLMODE=vmaus PATCH="C:\WINDOWS\ccmsetup\cm1910-client-kb4537079-x64.msp" ADDLOCAL="CcmFramework,SmsRemoteClient,SmsInventory,SmsSoftwareMetering,SmsSoftwareDistribution,ClientUI,ClientSDK,SmsRemoteTools,SmsImageDeployment,SmsPatchManager,UpdatesAgent,ScanAgent,TSAgent,SmsPeerDPAgent,DcmClient,DcmClientSDK,SmsOSDeployment,SmsTaskSequence,BCD,SmsSysPrep,VirtualApp,SmsOutOfBandManagement,SCOPClient,SmsSCOPClient32,CcmMtc,SmsPowerManagement,EndpointProtection,BgbAgent,CertEnrollAgent,ComplRelayAgent,SensorFrameworkDriver" ccmsetup 7/14/2020 5:55:50 PM 108292 (0x1A704)
    File C:\WINDOWS\ccmsetup\{15714557-4FAA-4A6B-A33A-8F64D3FF658A}\client.msi installation failed. Error text: ExitCode: 1651
    Action: 
    ErrorMessages:
    ccmsetup 7/14/2020 5:55:53 PM 108292 (0x1A704)
    Next retry in 120 minute(s)... ccmsetup 7/14/2020 5:55:54 PM 108292 (0x1A704)

    client.msi.log

    MSI (s) (E0:0C) [17:55:53:296]: PROPERTY CHANGE: Adding PATCH property. Its value is 'C:\WINDOWS\ccmsetup\cm1910-client-kb4537079-x64.msp'.
    MSI (s) (E0:0C) [17:55:53:296]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'CcmFramework,SmsRemoteClient,SmsInventory,SmsSoftwareMetering,SmsSoftwareDistribution,ClientUI,ClientSDK,SmsRemoteTools,SmsImageDeployment,SmsPatchManager,UpdatesAgent,ScanAgent,TSAgent,SmsPeerDPAgent,DcmClient,DcmClientSDK,SmsOSDeployment,SmsTaskSequence,BCD,SmsSysPrep,VirtualApp,SmsOutOfBandManagement,SCOPClient,SmsSCOPClient32,CcmMtc,SmsPowerManagement,EndpointProtection,BgbAgent,CertEnrollAgent,ComplRelayAgent,SensorFrameworkDriver'.
    MSI (s) (E0:0C) [17:55:53:296]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\WINDOWS\system32'.
    MSI (s) (E0:0C) [17:55:53:296]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '3'.
    MSI (s) (E0:0C) [17:55:53:296]: PROPERTY CHANGE: Adding MSICLIENTUSESEXTERNALUI property. Its value is '1'.
    MSI (s) (E0:0C) [17:55:53:296]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '94836'.
    MSI (s) (E0:0C) [17:55:53:296]: Machine policy value 'DisableAutomaticApplicationShutdown' is 0
    MSI (s) (E0:0C) [17:55:53:311]: PROPERTY CHANGE: Adding MsiRestartManagerSessionKey property. Its value is '83263485fc28554897c5e9cd2bd38607'.
    MSI (s) (E0:0C) [17:55:53:311]: RESTART MANAGER: Session opened.
    MSI (s) (E0:0C) [17:55:53:311]: PROPERTY CHANGE: Adding MsiSystemRebootPending property. Its value is '1'.
    MSI (s) (E0:0C) [17:55:53:311]: Using cached product context: machine assigned for product: 76144EC2714380A4C93CD9D7B9C5A99E
    MSI (s) (E0:0C) [17:55:53:311]: Product {2CE44167-3417-4A08-9CC3-9D7D9B5C9AE9} is admin assigned: LocalSystem owns the publish key.
    MSI (s) (E0:0C) [17:55:53:311]: Product {2CE44167-3417-4A08-9CC3-9D7D9B5C9AE9} is managed.
    MSI (s) (E0:0C) [17:55:53:311]: Product: Configuration Manager Client - Update 'client' could not be installed. Error code 1651. Additional information is available in the log file C:\WINDOWS\ccmsetup\Logs\client.msi.log.
    MSI (s) (E0:0C) [17:55:53:311]: Windows Installer installed an update. Product Name: Configuration Manager Client. Product Version: 5.00.8913.1000. Product Language: 1033. Manufacturer: Microsoft Corporation. Update Name: client. Installation success or error status: 1651.
    MSI (s) (E0:0C) [17:55:53:311]: Closing MSIHANDLE (2) of type 790542 for thread 113164
    MSI (s) (E0:0C) [17:55:53:311]: Attempting to delete file C:\WINDOWS\Installer\533836eb.msp
    MSI (s) (E0:0C) [17:55:53:358]: MainEngineThread is returning 1651
    MSI (s) (E0:C8) [17:55:53:358]: RESTART MANAGER: Session closed.
    MSI (s) (E0:C8) [17:55:53:358]: No System Restore sequence number for this installation.
    Info 1651. Windows Installer does not permit updating of managed advertised products. At least one feature of the product must be installed before applying the update.
    C:\WINDOWS\ccmsetup\{15714557-4FAA-4A6B-A33A-8F64D3FF658A}\client.msi
    MSI (s) (E0:C8) [17:55:53:358]: User policy value 'DisableRollback' is 0
    MSI (s) (E0:C8) [17:55:53:358]: Machine policy value 'DisableRollback' is 0
    MSI (s) (E0:C8) [17:55:53:358]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (E0:C8) [17:55:53:358]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (E0:C8) [17:55:53:374]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (E0:C8) [17:55:53:374]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (74:80) [17:55:53:374]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (74:80) [17:55:53:374]: MainEngineThread is returning 1651
    === Verbose logging stopped: 7/14/2020  17:55:53 ===


    THANKS SURESH M

    Tuesday, July 14, 2020 5:34 PM

All replies

  • How exactly is the client install being initiated?

    Jason | https://home.configmgrftw.com | @jasonsandys

    Tuesday, July 14, 2020 7:24 PM
  • Hi,

    1651 errors are usually indicative of installation components not being fully present; however the SCCM client does a pretty good job of making sure it has everything before launching the Windows Installer. They are usually indicative that 1 of 2 things are going on:
    1.The machine needs a reboot to complete a previous installation
    2.The machine is not running a current version of the Windows Installer

    So start with the reboot to see if that clears things up. If not, reinstall the Windows Installer using the latest version available.

    Regards,
    Allen

    Please remember to mark the replies as answers if they help.

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by vvravikiran Monday, July 20, 2020 4:31 PM
    Wednesday, July 15, 2020 3:05 AM
  • using the command line ccmsetup.exe smssitecode = AUTO
    i have taken the ccmsetup.exe file from \\CASSERVER\\SMS_CAS\Client

    THANKS SURESH M

    Wednesday, July 15, 2020 5:37 AM
  • I have rebooted and tried but still remains same.

    May i know how we can reinstall windows installer to latest version to fix the issue.


    THANKS SURESH M

    Wednesday, July 15, 2020 5:39 AM
  • using the command line ccmsetup.exe smssitecode = AUTO
    i have taken the ccmsetup.exe file from \\CASSERVER\\SMS_CAS\Client

    THANKS SURESH M

    I believe the command line should be without the spaces

    ccmsetup.exe SMSSITECODE=AUTO

    I also find it better to specify the site code instead of using AUTO in case the correct value cannot be read from Active Directory.


    JacquesB4

    Wednesday, July 15, 2020 6:49 AM
  • ccmsetup.exe /skipprereq:silverlight.exe SMSSITECODE=XXX SMSMP=XXX FSP=XXX SMSCACHESIZE=XXX DNSSUFFIX=XXX

    This too i tried, still remains same


    THANKS SURESH M

    Wednesday, July 15, 2020 11:55 AM
  • The reason for the failure here is that it's attempting to install a patch (in the form of an MSP) that is not applicable to client agent version being deployed.

    Are you sure this is the entire and complete command-line that you are supplying?

    How exactly are you initiating this? Specifically, did you simply copy ccmsetup.exe to the target system or did you copy additional files as well?

    Have you tried deleting the C:\Windows\ccmsetup folder and starting the install again?


    Jason | https://home.configmgrftw.com | @jasonsandys

    Wednesday, July 15, 2020 5:51 PM
  • yeah i have initiated the installation of client with that cmd line only.

    And i tried with just ccmsetup.exe file and also with full files available in staging client folder for the installation. 

    i deleted both ccm and ccmsetup folder before trying the installation.


    THANKS SURESH M

    Tuesday, July 21, 2020 8:02 AM
  • > with full files available in staging client folder for the installation.

    Why would you use these files? That's not correct. Is this also the location you grabbed ccmsetup.exe from? If so, that's not correct either.

    The client subfolder on the primary site server in the folder where the site server itself is installed is the correct location to copy the ccmsetup file from.


    Jason | https://home.configmgrftw.com | @jasonsandys

    Tuesday, July 21, 2020 3:04 PM
  • Hi

    Thanks for posting Tech net Forum

    Client was not located in Active directory .first flush the dns

    ipconfig /flushdns

    ipconfig /renewdns

    ipconfig /registerdns

    or if not register in please rejoin the domain please try it

    Thursday, July 30, 2020 8:30 AM