Install Print and Document Services failed

j g 6 Reputation points
2021-10-27T17:40:41.72+00:00

On Windows Server 2016, I am trying to install "Print and Document Services"
I get the message
"The specified package is not valid Windows package error 0x800f0805"
Researching the issue, I tried:
sfc /scannow
dism /online /cleanup-image /restorehealth
sfc /scannow

Didn't help.
I saw that this might be a language issue,
I went to Control Panel -> Region , language is set to Match Windows Display Language

I ran lpksetup , and there is only one, English, language installed.

Ideas?

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 40,086 Reputation points
    2021-10-28T07:55:40.103+00:00

    Hello Jg-6461

    The reference to the languages issue is to the presence of exotic languages in the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect

    Sometimes deleting Language packs that are not related to the system may mitigate this error. Please, before making any changes to a registry key or folder, always save a backup of that key in case you need it recovered.

    On the other hand, one workaround is to Export the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" from a server where you can deploye the role (even not fully configured) then import in the problematic server. This will also mitigate the error during the installation.

    All in all I would recommend to try to add the feature using DISM and see if that helps versus installing through GUI.
    https://learn.microsoft.com/en-us/archive/blogs/joscon/adding-features-with-dism

    --------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.