How to solve Windows Component Based Servicing Error 0x800f081f ?

Unanswered How to solve Windows Component Based Servicing Error 0x800f081f ?

  • Wednesday, October 27, 2010 11:25 AM
     
     

    I am trying to remove some Windows Vista (x64 Ultimate) components (namely MSMQ and UNIX subsystem) using Add/Remove Windows Features. However, it fails and in CBS.log I find following entry:

    Error                 CBS    Exec: Missing file for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, file: pkiview.msc, source: \\?\C:\Windows\Servicing\Packages\amd64_microsoft-windows-c..s-camanagement-misc_31bf3856ad364e35_6.0.6001.18000_none_5df1968e9a5ece30\pkiview.msc.  hr: 0x800f081f

    I searched the system for pkiview.msc files and found three entries, all with higher version numbers or different culture and all residing in winsxs folder:

    • C:\Windows\winsxs\amd64_microsoft-windows-c..s-camanagement-misc_31bf3856ad364e35_6.0.6002.18005_none_5fdd0f9a9780997c\pkiview.msc
    • C:\Windows\winsxs\amd64_microsoft-windows-c..ment-misc.resources_31bf3856ad364e35_6.0.6002.18005_en-us_8461a0626be734b3\pkiview.msc
    • C:\Windows\winsxs\amd64_microsoft-windows-c..ment-misc.resources_31bf3856ad364e35_6.0.6001.18000_en-us_827627566ec56967\pkiview.msc

    I tried using C:\Windows\Servicing\Packages\Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386.cat (8123b) and C:\Windows\Servicing\Packages\Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386.mum (783b) from an earlier system backup (from about a year ago) without any success (the files were identical to the current ones). The files seem to be unchanged since Windows original Installation (created and modified dates are 2. november 2006). Thus, it seems the cause of the roblem is somewhere else.

    Searching the web for solutions gives me that error 0x800f081f can be caused either by missing files or errors in registry. Unfortunately I have not found a solution that does not involve reinstalling Vista, which I would like to avoid.

    sfc /scannow does not find any problems. I have also run KB947821 (System Update Readiness Tool) http://support.microsoft.com/?kbid=947821 in an attempt to solve the problem. Windows Updates work without problems.

    Can anyone here help me with this problem? I have uploaded the full CBS.log to http://cid-5c49462775bf1b3a.office.live.com/self.aspx/Troubleshooting/CBS.zip . I would also appriciate, if anyone could explain, how CBS works (that is, how it determines, what is needed for reconfiguration)?

All Replies

  • Thursday, October 28, 2010 8:39 AM
    Moderator
     
     

    Hi,

     

    Thanks for posting in Microsoft TechNet forums.

    You may need to uninstall any windows update following the installation of the MSMQ and UNIX subsystem first. Check the windows update list.

    In case certain application is based on it and still running, I would suggest boot into Safe Mode and try again. Disable your antivirus software if they are running.

    Best Regards

    Magon Liu

    TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.com


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Tuesday, November 02, 2010 2:58 AM
    Moderator
     
     

    Hi,

     

    Thanks for posting in Microsoft TechNet forums.

    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as ‘Answered’ as the previous steps should be helpful for many similar scenarios. If the issue still persists, please feel free to  reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer as you wish.

    BTW,  we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.

     

    Best Regards

    Magon Liu

    TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.com


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Wednesday, November 03, 2010 10:07 PM
     
     

    I'm sorry, I haven't responded sooner. For some reason I do not receive alerts from the forums (I do have "Alert me" checked).

    Anyways, "safe mode" is not a solution and when looking at the log, it seems to have issues with some missing parents:

    Info                  CBS    Appl: DetectUpdate, Package: Package_5_for_KB937286~31bf3856ad364e35~amd64~...~6.0.1.18000, Remote Parent: ..., Parent Missing (ERROR_FILE_NOT_FOUND), non-critical error, ignored, check case sensitivity

    Unfortunaltely, Vista SP2 is one of the KB-s in these messages. Consequently I can't do anything about it (SP2 was installed permanently). MSMQ and UNIX subsystem were installed more than two years ago so there are lots of updates installed in the meanwhile.

    Is there any way to direct CBS to ignore the missing pkiview.msc or is it safe to manually create the missing file (basically copy one of the pkiviews to the location referred to by the error message)? I do not believe that pkiview.msc is or has ever been used on the system.

  • Thursday, November 04, 2010 9:10 AM
    Moderator
     
     

    Hi,

    Thank you for update!

    .CBS files are for Code Breaker, which is sort of like Action Replay. You can find more information here: http://en.wikipedia.org/wiki/Code_Breaker

    You may have other software installed that does require Microsoft Message Queuing (MSMQ).

    Personally, I don't recommend remove MSMQ. You can refer to http://technet.microsoft.com/en-us/library/cc770387.aspx for more understanding.

    Or you may need to uninstall it manually. Or boot into clean boot and try again.

    Clean Boot prevents software conflicts by preventing the startup items and non Microsoft services from loading. This way you can safely follow the process of elimination to check which application is causing this behavior.

     

    Refer:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.microsoft.com/kb/929135

    Note: Ensure that you put your computer back to normal startup mode after completing the troubleshooting steps. Steps are available in the article given above.

    Regards,


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Thursday, November 04, 2010 3:43 PM
     
     

    I do not understand what .CBS files have to do with this issue.

    Both MSMQ and UNIX subsystem were installed for labs. Neither of these are common on desktop systems (I guess developers are almost the only ones using these on desktop systems). So it should be safe to remove these (as virtualisation has progressed, I am now using virtual machines for development and testing).

    Given the nature of the problem (I cannot remove any Windows components or subcomponents) and the error message from CBS I do not believe that clean boot would help (I'll try it anyways - after all, there is nothing to lose). I guess the problem is related to SP2 upgrade, localisation of Windows (I have en-us and et-ee localisations installed, Estonian being the system language), or I have stumbled upon a bug in CBS. The missing pkiview.msc seems to be a bogus reference as It was not present in a new clean install either (I used the original media to create a temporary installation in a virtual machine to verify the integrity of my cat and mum files).

  • Tuesday, November 09, 2010 3:28 AM
    Moderator
     
     

    Hi,

    Can you install\remove other windows features?

    Is the computer still connected to the lab environment?

    You can try uninstalling in Safe Mode without internet access.

    Regards,


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”