PENDINGCCMsetup failing with error "unable to compile the file InventoryAgentSchema.mof"

Bhumika

Bhumika

New Member
2
0
1
Hi,

Please help me with below error Getting this error on few devices while installing mecm client.

MSI: Setup was unable to compile the file InventoryAgentSchema.mof
The error code is 80040154 ccmsetup 4/20/2023 5:37:16 AM 7092 (0x1BB4)
MSI: Action 5:37:17: Rollback. Rolling back action: ccmsetup 4/20/2023 5:37:17 AM 7092 (0x1BB4)
File C:\Windows\ccmsetup\{AFEBCEB6-C9FE-4BF6-9C63-24020C95EF03}\client.msi installation failed. Error text: ExitCode: 1603
行动:CcmRegisterWmiMofFile。
ErrorMessages:
年代etup was unable to compile the file InventoryAgentSchema.mof
The error code is 80040154
ccmsetup 4/20/2023 5:37:20 AM 7092 (0x1BB4)
Next retry in 120 minute(s)... ccmsetup 4/20/2023 5:37:20 AM 7092 (0x1BB4)

Have tried below steps but still issue persists. Please help.
  1. ccmsetup.exe /uninstall
  2. repair wmi
  3. RD /s /q "C:\Windows\ccmsetup"
  4. RD /s /q "C:\Windows\CCM"
  5. RD /s /q "C:\Windows\system32\CCM"
  6. DEL /q "C:\windows\smscfg.ini
  7. REG DELETE HKLM\software\Microsoft\ccm /f
  8. REG DELETE HKLM\software\Microsoft\CCMSETUP /f
  9. REG DELETE HKLM\software\Microsoft\SMS\
  10. REG DELETE HKLM\software\Microsoft\Systemcertificates\SMS\Certificates /f
  11. re-execute ccmsetup.exe
Garth

Garth

Well-Known Member
年代taff member
1,812
156
63
Have you tried to manually compile the mof file to see what is the real error with the complie?
OP
Bhumika

Bhumika

New Member
2
0
1
  • Thread Starter
  • #4
Have you tried to manually compile the mof file to see what is the real error with the complie?

c:\Windows\CCM>mofcomp InventoryAgentSchema.mof
Microsoft (R) MOF Compiler Version 6.2.9200.16384
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: InventoryAgentSchema.mof
MOF file has been successfully parsed
年代toring data in the repository...
An error occurred while creating object 5 defined on lines 96 - 98:
0X80041002 Class, instance, or property 'CCM_Policy' was not found.
Compiler returned error 0x80041002

Latest posts

Forum statistics

Threads
5,723
Messages
22,305
Members
12,505
Latest member
年代quuiid