Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, May 3, 2018 8:03 AM
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>
All replies (2)
Friday, May 4, 2018 8:21 AM
Clean boot computer
Run PowerShell as administrator, Type the following command and press ENTER:
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
If you don’t want to in-place upgrade and system reset,
Follow these instructions to invoke Refresh Windows option.
Click Start menu
Scroll down and run ‘Windows Defender’ app
Click Device performance & health icon in the dashboard
Click ‘Refresh Windows’ link
Click ‘Get started’ button on the page (Title: Refresh Windows)
Click ‘Yes’ in User Account Control prompt
Click through Refresh Windows wizard
Click ‘Start’ button at the last page
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Friday, May 4, 2018 8:51 AM
When this was placed into google search there were only reimagerepair.exe references
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
What does this command do?
What problems can occur running this command?
In the start menu windows defender was not seen.
There are: Windows accessories; Windows administrative tools; Windows ease of access; Windows kits; Windows powershell; Windows system
Using win + r what is the command that will open the windows defender app?
Is refresh Windows the same as reset with save files? If not what is the difference?