How to fix: The database disk image is malformed. (Using command line and a Windows 10 iso (not an in place upgrade repair))

  • Thread starter questionsformicrosoftproducts
  • Start date
Q

questionsformicrosoftproducts

For this computer how can the Windows store be re-registered when this command displays: The database disk image is malformed. Or how can the Windows store be recreated?

The Windows version is 10.0.15063 and has a matching iso created from the Microsoft website (esd format).

sfc /scannow does not fix this problem

dism /online /cleanup-image /restorehealth does not fix the problem

An in place upgrade repair cannot be performed.

A clean install cannot be performed.

There are no valid restore points that predate the problem.

A reset with save files or remove files cannot be performed.

How can the applicable files/folders be moved from the iso to the computer so that the command works?

How to fix: The database disk image is malformed. (Using command line and a Windows 10 iso (not an in place upgrade repair))


Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Windows\system32>PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *3DBuilder*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
Get-AppxPackage : The database disk image is malformed
The database disk image is malformed
At line:1 char:17
+ & {$manifest = (Get-AppxPackage *3DBuilder*).InstallLocation + '\Appx ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: :)) [Get-AppxPackage], Exception
+ FullyQualifiedErrorId : System.Exception,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand

Add-AppxPackage : Cannot process argument transformation on parameter 'Path'. Object reference not set to an instance
of an object.
At line:1 char:136
+ ... t.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}
+ ~~~~~~~~~
+ CategoryInfo : InvalidData: :)) [Add-AppxPackage], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Microsoft.Windows.Appx.PackageManager.Commands.AddA
ppxPackageCommand


C:\Windows\system32>

Continue reading...
 
Back
Top Bottom