Add Roles - The specified package is not valid Windows package. Error: 0x800f0805 - Windows Server 2012

C

C.stutz

Hello. We have a Server with Windows Server 2012, which we need to install the FTP Server Feature.
Well ... For both the Graphical Interface and PowerShell, we have the same error ...
Remember that by PowerShell we tried to install in the following ways:
Install-WindowsFeature Web-FTP-Server
DISM / Online / Enable-Feature / FeatureName: Web-FTP-Server / All
DISM / Online / Enable-Feature / FeatureName: Web-FTP-Server / All / LimitAccess / Source: E: \ sources \ sxs



And in all of them, the error is:
The specified package is not valid Windows package. Error: 0x800f0805

What we have tried to do:
PS C: \ Users \ Administrator> sfc / scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.

PS C: \ Users \ Administrator> Dism / Online / Cleanup-Image / ScanHealth
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
[========================== 100.0% ===================== =====]
No component store corruption detected.
The operation completed successfully.

PS C: \ Users \ Administrator> Dism / Online / Cleanup-Image / CheckHealth
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
No component store corruption detected.
The operation completed successfully.

PS C: \ Users \ Administrator> Dism / Online / Cleanup-Image / RestoreHealth / Source: E: \ sources
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
[========================== 100.0% ===================== =====]
The restore operation completed successfully. The component store corruption was repaired.

PS C: \ Users \ Administrator> Dism / Online / Cleanup-Image / RestoreHealth / Source: E: \ sources \ sxs
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
[========================== 100.0% ===================== =====]
The restore operation completed successfully. The component store corruption was repaired.

PS C: \ Users \ Administrator> Dism / Online / Cleanup-Image / RestoreHealth /Source:E:\sources\Install.wim
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
[========================== 100.0% ===================== =====]
The restore operation completed successfully. The component store corruption was repaired.


Errors I saw in DISM.log and CBS.log:

DISM.log
Failed to load the provider: C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ 3 \ 3246DA5A-44D4-474D-A2B6-61B03EFBC148 \ PEProvider.dll. - CDISMProviderStore :: Internal_GetProvider (hr: 0x8007007e)
Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore :: Final_OnConnect
Failed to load the provider: C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ 3 \ 3246DA5A-44D4-474D-A2B6-61B03EFBC148 \ IBSProvider.dll. - CDISMProviderStore :: Internal_GetProvider (hr: 0x8007007e)
Failed to get the IDismObject Interface - CDISMProviderStore :: Internal_LoadProvider (hr: 0x80004002)
Failed to load the provider: C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ 3 \ 3246DA5A-44D4-474D-A2B6-61B03EFBC148 \ Wow64provider.dll. - CDISMProviderStore :: Internal_GetProvider (hr: 0x80004002)
Failed to load the provider: C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ 3 \ 3246DA5A-44D4-474D-A2B6-61B03EFBC148 \ EmbeddedProvider.dll. - CDISMProviderStore :: Internal_GetProvider (hr: 0x8007007e)
Failed opening package @Foundation. - CDISMPackageManager :: Internal_CreatePackageByName (hr: 0x800f0805)
Failed to get the underlying cbs package. - CDISMPackageManager :: OpenPackageByName (hr: 0x800f0805)
The specified package is not valid Windows package. - GetCbsErrorMsg
Failed to open the Foundation package. - CDISMPackageManager :: OpenFoundationPackage (hr: 0x800f0805)
The specified package is not valid Windows package. - GetCbsErrorMsg
Failed to open the Windows Foundation Package as a fall back. - CPackageManagerCLIHandler :: Private_ProcessFeatureChange (hr: 0x800f0805)
Failed while processing command enable-feature. - CPackageManagerCLIHandler :: ExecuteCmdLine (hr: 0x800f0805)

CBS.log
IT: --- Initializing Trusted Installer ---
IT: Last boot time: 2019-07-09 18:55: 49,868
Starting TrustedInstaller initialization.
Ending TrustedInstaller initialization.
Starting the TrustedInstaller main loop.
TrustedInstaller service starts successfully.
In startup processing required, TrustedInstaller service was not set as autostart
Startup processing thread terminated normally
Starting TiWorker initialization.
Ending TiWorker initialization.
Starting the TiWorker main loop.
TiWorker starts successfully.
Universal Time is: 2019-07-10 18: 04: 02.278
Failed to find a matching version for servicing stack: C: \ Windows \ winsxs \ amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.21913_none_62fd475869f47e9b [HRESULT = 0x80070490 - ERROR_NOT_FOUND]

offline servicing, using stack version from: C: \ Windows \ winsxs \ amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.21913_none_62fd475869f47e9b \ cbscore.dll
Loaded Servicing Stack v6.2.9200.21913 with Core: C: \ Windows \ winsxs \ amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.21913_none_62fd475869f47e9b \ cbscore.dll
00000001 @ 2019/7/10: 18: 04: 02.358 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @ 0x7f8da496389 @ 0x7f8daa898ca @ 0x7f8daa44de4 @ 0x7f6122ed1df @ 0x7f6122ed95c @ 0x7f8f3871b15)
Could not load SrClient DLL from path: SrClient.dll. Continuing without system restore points.
00000002 @ 2019/7/10: 18: 04: 02.436 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @ 0x7f8da496389 @ 0x7f8daae6258 @ 0x7f8daaa7729 @ 0x7f8daa44f57 @ 0x7f6122ed1df @ 0x7f6122ed95c)
NonStart: Set pending store consistency check.
Session: 30750537_3674927684 initialized by client DISM Package Manager Provider.
Not able to find an installed package from moniker: @Foundation [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
Failed to resolve package from moniker [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
Failed to OpenPackage using worker session [HRESULT = 0x800f0805]


Would anyone have any idea how to solve the problem?

Thankful.

Thanks for the comprehension.

Continue reading...
 
Back
Top Bottom