Installation CM Agent

Duchemin, Dominique 2,006 Reputation points
2023-02-17T00:57:08.76+00:00

Hello,

I have a server which was still using an old CM Agent 4.00.6487.2157 installed by Group policy... Apparently an uninstallation was tried but was incomplete...

How to clean up the old stuff to get a new installation 5.00.9078.1000...

I have errors when I tried from the console:

  • client.msi_uninstall.log
   === Verbose logging started: 2/16/2023  16:41:04  Build type: SHIP UNICODE 5.00.9600.00  Calling process: C:\Windows\ccmsetup\ccmsetup.exe ===
   MSI (c) (68:4C) [16:41:04:022]: Resetting cached policy values
   MSI (c) (68:4C) [16:41:04:022]: Machine policy value 'Debug' is 0
   MSI (c) (68:4C) [16:41:04:022]: ******* RunEngine:
              ******* Product: {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
              ******* Action: 
              ******* CommandLine: **********
   MSI (c) (68:4C) [16:41:04:022]: Client-side and UI is none or basic: Running entire install on the server.
   MSI (c) (68:4C) [16:41:04:022]: Grabbed execution mutex.
   MSI (c) (68:4C) [16:41:04:042]: Cloaking enabled.
   MSI (c) (68:4C) [16:41:04:042]: Attempting to enable all disabled privileges before calling Install on Server
   MSI (c) (68:4C) [16:41:04:045]: Incrementing counter to disable shutdown. Counter after increment: 0
   MSI (s) (C0:B4) [16:41:04:052]: Running installation inside multi-package transaction {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
   MSI (s) (C0:B4) [16:41:04:052]: Grabbed execution mutex.
   MSI (s) (C0:A4) [16:41:04:053]: Resetting cached policy values
   MSI (s) (C0:A4) [16:41:04:053]: Machine policy value 'Debug' is 0
   MSI (s) (C0:A4) [16:41:04:054]: ******* RunEngine:
              ******* Product: {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
              ******* Action: 
              ******* CommandLine: **********
   MSI (s) (C0:A4) [16:41:04:054]: Machine policy value 'DisableUserInstalls' is 0
   MSI (s) (C0:A4) [16:41:04:054]: Warning: Local cached package 'C:\Windows\Installer\650f2150.msi' is missing.
   MSI (s) (C0:A4) [16:41:04:054]: User policy value 'SearchOrder' is 'nmu'
   MSI (s) (C0:A4) [16:41:04:054]: User policy value 'DisableMedia' is 0
   MSI (s) (C0:A4) [16:41:04:054]: Machine policy value 'AllowLockdownMedia' is 0
   MSI (s) (C0:A4) [16:41:04:054]: SOURCEMGMT: Media enabled only if package is safe.
   MSI (s) (C0:A4) [16:41:04:054]: SOURCEMGMT: Looking for sourcelist for product {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
   MSI (s) (C0:A4) [16:41:04:054]: SOURCEMGMT: Adding {2609EDF1-34C4-4B03-B634-55F3B3BC4931}; to potential sourcelist list (pcode;disk;relpath).
   MSI (s) (C0:A4) [16:41:04:054]: SOURCEMGMT: Now checking product {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
   MSI (s) (C0:A4) [16:41:04:054]: SOURCEMGMT: Media is enabled for product.
   MSI (s) (C0:A4) [16:41:04:054]: SOURCEMGMT: Attempting to use LastUsedSource from source list.
   MSI (s) (C0:A4) [16:41:04:054]: SOURCEMGMT: Trying source C:\Windows\ccmsetup{4CD82FBB-0AFC-4864-A089-15364DF5F14B}.
   MSI (s) (C0:A4) [16:41:04:054]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2 
   MSI (s) (C0:A4) [16:41:04:055]: Note: 1: 2203 2: C:\Windows\ccmsetup{4CD82FBB-0AFC-4864-A089-15364DF5F14B}\client.msi 3: -2147287037 
   MSI (s) (C0:A4) [16:41:04:055]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
   MSI (s) (C0:A4) [16:41:04:055]: Note: 1: 1706 2: -2147483647 3: client.msi 
   MSI (s) (C0:A4) [16:41:04:055]: SOURCEMGMT: Processing net source list.
   MSI (s) (C0:A4) [16:41:04:055]: Note: 1: 1706 2: -2147483647 3: client.msi 
   MSI (s) (C0:A4) [16:41:04:055]: SOURCEMGMT: Processing media source list.
   MSI (s) (C0:A4) [16:41:04:055]: Note: 1: 2203 2:  3: -2147287037 
   MSI (s) (C0:A4) [16:41:04:055]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
   MSI (s) (C0:A4) [16:41:04:055]: Note: 1: 1706 2: -2147483647 3: client.msi 
   MSI (s) (C0:A4) [16:41:04:055]: SOURCEMGMT: Processing URL source list.
   MSI (s) (C0:A4) [16:41:04:055]: Note: 1: 1402 2: UNKNOWN\URL 3: 2 
   MSI (s) (C0:A4) [16:41:04:055]: Note: 1: 1706 2: -2147483647 3: client.msi 
   MSI (s) (C0:A4) [16:41:04:055]: Note: 1: 1706 2:  3: client.msi 
   MSI (s) (C0:A4) [16:41:04:055]: SOURCEMGMT: Failed to resolve source
   MSI (s) (C0:A4) [16:41:04:056]: MainEngineThread is returning 1612
   MSI (s) (C0:B4) [16:41:04:056]: User policy value 'DisableRollback' is 0
   MSI (s) (C0:B4) [16:41:04:056]: Machine policy value 'DisableRollback' is 0
   MSI (s) (C0:B4) [16:41:04:056]: Incrementing counter to disable shutdown. Counter after increment: 0
   MSI (s) (C0:B4) [16:41:04:056]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
   MSI (s) (C0:B4) [16:41:04:056]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
   MSI (s) (C0:B4) [16:41:04:057]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
   MSI (c) (68:4C) [16:41:04:057]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
   MSI (c) (68:4C) [16:41:04:058]: MainEngineThread is returning 1612
   === Verbose logging stopped: 2/16/2023  16:41:04 ===
   
How to clean up the old stuff...?

then in the ccmsetup.log

...CBackupClientState::PreUninstall: Unable to establish if we are in maintenance mode. Probably because this is either a new installation, running with /forceinstall option OR an upgrade from a version that doesn't have a state file. Doing nothing.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)A newer version client is being installed over an old client and uninstalling old client is necessary.  Uninstalling the old client.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Uninstalling product '{2609EDF1-34C4-4B03-B634-55F3B3BC4931}'.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Running installation package  Product:     {2609EDF1-34C4-4B03-B634-55F3B3BC4931}  Log:         C:\Windows\ccmsetup\Logs\client.msi_uninstall.log  Properties:  	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Installation failed with error code 1612	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)InstallFromManifest failed 0x8007064c	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending state '313'...	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147944012	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)OS is not Win10RS3+, ENDOK.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Failed to get client version for sending state messages. Error 0x80041013	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Using client.msi package version 5.00.9078.1000	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)[5.00.9078.1000] Params to send '5.0.9078.1005 Deployment Error 0x8007064c.'	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending Fallback Status Point message to 'VRPSCCMRS01', STATEID='313'.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)<ClientDeploymentMessage ErrorCode="-2147023284"><Client Baseline="1" BaselineCookie="" Platform="2" Langs=""/><Packages><Package ID="{0856B5B5-C423-476E-BC4B-C8FE92223BEC}"/></Packages><Additional><SourceType Value="DP"/></Additional></ClientDeploymentMessage>	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)State message with TopicType 800 and TopicId {112D8F8A-5428-40A2-9FC2-4ED8BDD1DCF8} has been sent to the FSP	FSPStateMessage	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending state '301'...	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147944012	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)OS is not Win10RS3+, ENDOK.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)'Configuration Manager Client Retry Task' is scheduled to run at 02/16/2023 09:41:04 PM (local) 02/17/2023 05:41:04 AM (UTC) time with arguments ' /ignoreskipupgrade /config:MobileClient.tcf /RetryWinTask:1'.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Folder 'Microsoft\Microsoft\Configuration Manager' not found. Task does not exist.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Task 'Configuration Manager Client Retry Task' not found in the scheduler task cache.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Successfully created task 'Configuration Manager Client Retry Task'	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)CcmSetup failed with error code 0x8007064c	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)CBackupClientState::PreUninstall: Unable to establish if we are in maintenance mode. Probably because this is either a new installation, running with /forceinstall option OR an upgrade from a version that doesn't have a state file. Doing nothing.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)A newer version client is being installed over an old client and uninstalling old client is necessary.  Uninstalling the old client.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Uninstalling product '{2609EDF1-34C4-4B03-B634-55F3B3BC4931}'.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Running installation package  Product:     {2609EDF1-34C4-4B03-B634-55F3B3BC4931}  Log:         C:\Windows\ccmsetup\Logs\client.msi_uninstall.log  Properties:  	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Installation failed with error code 1612	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)InstallFromManifest failed 0x8007064c	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending state '313'...	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147944012	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)OS is not Win10RS3+, ENDOK.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Failed to get client version for sending state messages. Error 0x80041013	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Using client.msi package version 5.00.9078.1000	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)[5.00.9078.1000] Params to send '5.0.9078.1005 Deployment Error 0x8007064c.'	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending Fallback Status Point message to 'VRPSCCMRS01', STATEID='313'.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)<ClientDeploymentMessage ErrorCode="-2147023284"><Client Baseline="1" BaselineCookie="" Platform="2" Langs=""/><Packages><Package ID="{0856B5B5-C423-476E-BC4B-C8FE92223BEC}"/></Packages><Additional><SourceType Value="DP"/></Additional></ClientDeploymentMessage>	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)State message with TopicType 800 and TopicId {112D8F8A-5428-40A2-9FC2-4ED8BDD1DCF8} has been sent to the FSP	FSPStateMessage	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending state '301'...	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147944012	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)OS is not Win10RS3+, ENDOK.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)'Configuration Manager Client Retry Task' is scheduled to run at 02/16/2023 09:41:04 PM (local) 02/17/2023 05:41:04 AM (UTC) time with arguments ' /ignoreskipupgrade /config:MobileClient.tcf /RetryWinTask:1'.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Folder 'Microsoft\Microsoft\Configuration Manager' not found. Task does not exist.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Task 'Configuration Manager Client Retry Task' not found in the scheduler task cache.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Successfully created task 'Configuration Manager Client Retry Task'	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)CcmSetup failed with error code 0x8007064c	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)CBackupClientState::PreUninstall: Unable to establish if we are in maintenance mode. Probably because this is either a new installation, running with /forceinstall option OR an upgrade from a version that doesn't have a state file. Doing nothing.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)A newer version client is being installed over an old client and uninstalling old client is necessary.  Uninstalling the old client.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Uninstalling product '{2609EDF1-34C4-4B03-B634-55F3B3BC4931}'.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Running installation package  Product:     {2609EDF1-34C4-4B03-B634-55F3B3BC4931}  Log:         C:\Windows\ccmsetup\Logs\client.msi_uninstall.log  Properties:  	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Installation failed with error code 1612	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)InstallFromManifest failed 0x8007064c	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending state '313'...	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147944012	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)OS is not Win10RS3+, ENDOK.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Failed to get client version for sending state messages. Error 0x80041013	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Using client.msi package version 5.00.9078.1000	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)[5.00.9078.1000] Params to send '5.0.9078.1005 Deployment Error 0x8007064c.'	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending Fallback Status Point message to 'VRPSCCMRS01.ad.medctr.ucla.edu', STATEID='313'.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)<ClientDeploymentMessage ErrorCode="-2147023284"><Client Baseline="1" BaselineCookie="" Platform="2" Langs=""/><Packages><Package ID="{0856B5B5-C423-476E-BC4B-C8FE92223BEC}"/></Packages><Additional><SourceType Value="DP"/></Additional></ClientDeploymentMessage>	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)State message with TopicType 800 and TopicId {112D8F8A-5428-40A2-9FC2-4ED8BDD1DCF8} has been sent to the FSP	FSPStateMessage	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending state '301'...	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147944012	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)OS is not Win10RS3+, ENDOK.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)'Configuration Manager Client Retry Task' is scheduled to run at 02/16/2023 09:41:04 PM (local) 02/17/2023 05:41:04 AM (UTC) time with arguments ' /ignoreskipupgrade /config:MobileClient.tcf /RetryWinTask:1'.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Folder 'Microsoft\Microsoft\Configuration Manager' not found. Task does not exist.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Task 'Configuration Manager Client Retry Task' not found in the scheduler task cache.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Successfully created task 'Configuration Manager Client Retry Task'	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)CcmSetup failed with error code 0x8007064c	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)CBackupClientState::PreUninstall: Unable to establish if we are in maintenance mode. Probably because this is either a new installation, running with /forceinstall option OR an upgrade from a version that doesn't have a state file. Doing nothing.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)A newer version client is being installed over an old client and uninstalling old client is necessary.  Uninstalling the old client.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Uninstalling product '{2609EDF1-34C4-4B03-B634-55F3B3BC4931}'.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Running installation package  Product:     {2609EDF1-34C4-4B03-B634-55F3B3BC4931}  Log:         C:\Windows\ccmsetup\Logs\client.msi_uninstall.log  Properties:  	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Installation failed with error code 1612	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)InstallFromManifest failed 0x8007064c	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending state '313'...	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147944012	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)OS is not Win10RS3+, ENDOK.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Failed to get client version for sending state messages. Error 0x80041013	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Using client.msi package version 5.00.9078.1000	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)[5.00.9078.1000] Params to send '5.0.9078.1005 Deployment Error 0x8007064c.'	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending Fallback Status Point message to 'VRPSCCMRS01.ad.medctr.ucla.edu', STATEID='313'.	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)<ClientDeploymentMessage ErrorCode="-2147023284"><Client Baseline="1" BaselineCookie="" Platform="2" Langs=""/><Packages><Package ID="{0856B5B5-C423-476E-BC4B-C8FE92223BEC}"/></Packages><Additional><SourceType Value="DP"/></Additional></ClientDeploymentMessage>	ccmsetup	2/16/2023 4:41:04 PM	26108 (0x65FC)State message with TopicType 800 and TopicId {112D8F8A-5428-40A2-9FC2-4ED8BDD1DCF8} has been sent to the FSP	FSPStateMessage	2/16/2023 4:41:04 PM	26108 (0x65FC)Sending state '301'...	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147944012	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)OS is not Win10RS3+, ENDOK.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)'Configuration Manager Client Retry Task' is scheduled to run at 02/16/2023 09:41:04 PM (local) 02/17/2023 05:41:04 AM (UTC) time with arguments ' /ignoreskipupgrade /config:MobileClient.tcf /RetryWinTask:1'.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Folder 'Microsoft\Microsoft\Configuration Manager' not found. Task does not exist.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Task 'Configuration Manager Client Retry Task' not found in the scheduler task cache.	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)Successfully created task 'Configuration Manager Client Retry Task'	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)CcmSetup failed with error code 0x8007064c	ccmsetup	2/16/2023 4:41:04 PM	28164 (0x6E04)

I tried

ccmsetup.exe /uninstall

ccmclean.exe

but it still remain something as the process for a new agent is failing.

Any idea?

Thanks,

Dom

Microsoft Configuration Manager
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.