Monday, August 2, 2010

Microsoft SharePoint Server 2010 encountered an error during setup. One or more required office components failed to complete successfully.

I encountered this error today after trying to reinstall SharePoint 2010 on my Windows 7 Enterprise 64 bit machine.  It failed near the end of the binary installation.  From the log file, I found that the “One or more required office components” failed during the setup was the installation of the SQL Server Express database for SharePoint.  And the root cause of the problem was in the Windows Registry, which is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations. 

In my machine, this key contains the following values:
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\PCLXL.GPD
\??\C:\Windows\system32\spool\DRIVERS\x64\3\PCLXL.GPD
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\PJL.GPD
\??\C:\Windows\system32\spool\DRIVERS\x64\3\PJL.GPD
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\hpcdmc64.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\hpcdmc64.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\hpbcfgre.DLL
\??\C:\Windows\system32\spool\DRIVERS\x64\3\hpbcfgre.DLL
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\hpmpm081.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\hpmpm081.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\hpmpw081.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\hpmpw081.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\hpcsat20.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\hpcsat20.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\FxCompChannel_x64.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\FxCompChannel_x64.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\cioum.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\cioum.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\cioum64.msi
\??\C:\Windows\system32\spool\DRIVERS\x64\3\cioum64.msi
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\hppdcompio.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\hppdcompio.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\HPJobCaps.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\HPJobCaps.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\New\hpfxcomw.dll
\??\C:\Windows\system32\spool\DRIVERS\x64\3\hpfxcomw.dll
\??\C:\Config.Msi\1daf14.rbf
\??\C:\Config.Msi\1daf16.rbf
\??\C:\Config.Msi\1daf18.rbf
\??\C:\Config.Msi\f21b89.rbf

The SQL Server Express install must check the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations value and throw the restart required error when there is a value in this key.  To solve this issue and get SharePoint 2010 binary successfully installed is by removing the values in this key and then rerunning the SharePoint Server 2010 setup file.  There is no need to restart the machine after changing the registry value.

Notes: Please backup your registry key first before removing the value.

17 comments:

  1. This was very helpful. Thank you!!!!

    ReplyDelete
  2. But i don't see PendingFileRenameOperations in my system

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  3. What Type of key?
    DWORD, QWORD, STRING, MULTI-STRING ... ?

    ReplyDelete
  4. Thank you so much this solution worked for me.....

    ReplyDelete
  5. I see FileRenameOperations, is this the right key?

    ReplyDelete
    Replies
    1. nope 'FileRenameOperations' is a folder. You can see 'PendingFileRenameOperations' (file) in 'Session Manager' (folder)

      Delete
    2. There is no "PendingFileRenameOperations" (file) available in my "Session Manager" Folder.

      Kindly help me

      Delete
  6. There is no "PendingFileRenameOperations" (file) available in my "Session Manager" Folder.

    Kindly help me

    ReplyDelete
  7. There is no "PendingFileRenameOperations" (file) available in my "Session Manager" Folder.

    ReplyDelete
  8. you can get almost any problem solved in here by getting through real time technical support 800supportnumber.com

    ReplyDelete