none
Why "DISM /online /Get-Features" claims that this is not a "valid package" ?

    Question

  • Hello

    (I need to disable IIS)

    First of all, I am on Windows 8, which still has some bug displaying the features in the "Turn Win features on or off" but no fix!

    I finally gave up looking for a solution when I heard of DISM.exe. But I can't understand why this command :

    "C:\> DISM /online /Get-Features"

    keeps telling me that the "specified package is not valid Windows package" (error 0x800f0805) whereas it should display me some list of available features (if I remember well, but in all case, not an error!)

    Does anyone knows how to fix it or what might cause such a behavior?

    Sunday, August 18, 2013 10:48 PM

Answers

  • Your WinSxS folder is corrupted. Repair it with DISM:

    DISM /Online /Cleanup-Image /RestoreHealth

    http://blogs.technet.com/b/joscon/archive/2012/09/26/fixing-component-store-corruption-in-windows-8-and-windows-server-2012.aspx

    Does this fix it? If not, upload he DISM.log and the complete CBS folder (from C:\Windows\logs).


    "A programmer is just a tool which converts caffeine into code"

    Monday, August 19, 2013 5:26 AM
    Answerer
  • Hi Damien L,

    Based on Andre.Ziegler's suggestion, this issue suggests that certain system files could be corrupt. Dism /Online /Cleanup-Image /RestoreHealth is used  to scan the image for component store corruption, and then perform repair operations automatically. This operation will take several minutes.

    For your information, please revciew this article DISM Operating System Package Servicing Command-Line Options to learn more:

    http://technet.microsoft.com/en-us/library/hh825265.aspx

    Regards,

    Lany Zhang

    Tuesday, August 20, 2013 6:03 AM
    Moderator

All replies

  • Your WinSxS folder is corrupted. Repair it with DISM:

    DISM /Online /Cleanup-Image /RestoreHealth

    http://blogs.technet.com/b/joscon/archive/2012/09/26/fixing-component-store-corruption-in-windows-8-and-windows-server-2012.aspx

    Does this fix it? If not, upload he DISM.log and the complete CBS folder (from C:\Windows\logs).


    "A programmer is just a tool which converts caffeine into code"

    Monday, August 19, 2013 5:26 AM
    Answerer
  • Hi Damien L,

    Based on Andre.Ziegler's suggestion, this issue suggests that certain system files could be corrupt. Dism /Online /Cleanup-Image /RestoreHealth is used  to scan the image for component store corruption, and then perform repair operations automatically. This operation will take several minutes.

    For your information, please revciew this article DISM Operating System Package Servicing Command-Line Options to learn more:

    http://technet.microsoft.com/en-us/library/hh825265.aspx

    Regards,

    Lany Zhang

    Tuesday, August 20, 2013 6:03 AM
    Moderator