Fix- Error -Unable to compile Sql CE script file during SCCM client install or upgrade (80004005)

IF you get the below error.

File C:\WINDOWS\ccmsetup\{CA4329EC-A4F5-4E5E-A9FE-EFAAE88B0D67}\client.msi installation failed. Error text: ExitCode: 1603
Action: CcmCompileSqlCEScripts.
Setup was unable to compile Sql CE script file C:\WINDOWS\CCM\StateMessageStore.sqlce.
The error code is 80004005.

Steps to Resolve the issue :

1- Uninstall the SCCM client . (C:\Windows\ccmsetup>ccmsetup.exe /uninstall)

2- Then move the following files to a backup folder. These are the old client Sql CE database files. They are located in the client install folder %windir%\CCM\ or in the SMS_CCM folder).

  • CcmStore.sdf
  • CertEnrollmentStore.sdf
  • ComplRelayStore.sdf
  • InventoryStore.sdf
  • UserAffinityStore.sdf

OR you can take a backup and empty the CCM Folder

3- Install the SCCM client again.

This will resolve the issue


Author: Rajneesh Yadav

I am working in IT environment since 11 years and worked different companies on different technologies (Windows, Vmware, Citrix, SCCM, AWS).

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s