Windows Update Agent failed to install

During the installation of a SCCM 2012 Client on a Windows 2008 R2 server, I have noticed the following error in the CCMSetup.Log file:
File ‘C:\Windows\ccmsetup\WindowsUpdateAgent30-x64.exe’ returned failure exit code 65535. Fail the installation.

I also noticed the following 2 errors in the Windows Application log:
Event Id : 257
The Cryptographic Services service failed to initialize the Catalog Database. The ESENT error was: -1032.

Event ID: 490
Catalog Database (1008) Catalog Database: An attempt to open the file “C:\Windows\system32\CatRoot2\{127D0A1D-4EF2-11D1-8608-00C04FC295EE}\catdb” for read / write access failed with system error 5 (0x00000005): “Access is denied. “.  The open file operation will fail with error -1032 (0xfffffbf8).

i solved this by re-creating the CatRootDB:

In the command prompt window, type net stop cryptsvc
Type ren  %systemroot% \System32\catroot2 catroot2.old
Now start the service in this will create a new DB.

The installation should now work!

Incoming search terms:

  • Windows 10 sccm Software Center 80004005 -Task Sequence
  • File \C:\WINDOWS\ccmsetup\WindowsUpdateAgent30-x64 exe\ returned failure exit code 775 Fail the installation
  • ccmsetup exit code 7
  • windowsupdateagent30-x86 exe failure exit code 775
  • WindowsUpdateAgent30-x64 exe\ returned failure exit code 775
  • WindowsUpdateAgent30-x64 exe returned failure exit code 775 on windows 10
  • WindowsUpdateAgent30-x64 exe returned failure exit code 775
  • sccm client installation windows 10 windowsupdateagent30-x64 exe\ returned failure exit code 775 fail the installation
  • File \C:\WINDOWS\ccmsetup\WindowsUpdateAgent30-x86 exe\ returned failure exit code 775 Fail the installation
  • File C:\WINDOWS\ccmsetup\WindowsUpdateAgent30-x64 exe returned failure exit code 775 Fail the installation

What do you think about this post?