where to get a new install.wim file - got DISM error 0x80070020

Sillén, Torbjörn 21 Reputation points


My Windows does not start up after a power failure in the house.
I run DISM in DOS (tried checkHealth, scanHealth and Restorehealth).
I read that I need to install a new install.wim file ? If so where can get a new one ?

First error message in the log is:

Error: DISM OS Provider:PID-1388 TID-1444 Failed trynig to determine the OS version. HRRESULT=0x800700020 - CDISMOSServiceManager:: get_OSVersion

follows by:
Info: DISM DISM Provider Store: PID-1388 TID-1444 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
Info same as above
Info: DISM DISM Provider Store: PID-1388 TID-1444 Found the PE Provider Waiting to finalize it until all other providers are unloaded. -CDISMProviderStore::Final_OnDisconnect
Info: DISM DISM Provider Store: PID-1388 TID-1444 Releasing the local reference to OSService -CDISMProviderStore::Internal_DisconnectProvider
Info: DISM DISM Provider Store: PID-1388 TID-1444 Disconnecting Provider: OSService -CDISMProviderStore::Internal_DisconnectProvider

Second error in the log:
Offline Registry: PID-832 TID-384 "Failed to create unload mapping for SOFTWARE hive." - CofflineRegistry::UnloadHIve(hr:0x80070020)


Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,915 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tripredacus 151 Reputation points

    systeminfo is not in the PE, apparently.

    If you are competant at using the registry editor and loading hives, you can use the reg.exe command to load the SOFTWARE hive on the OS disk, and find the version that way, located in: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion; CurrentBuildNumber or CurrentBuild
    such as reg.exe load HKLM\SOFT-HIVE c:\windows\system32\Software
    Then the information would be in HKLM\SOFT-HIVE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Tripredacus 151 Reputation points

    First, you are in command prompt, DISM does not work in DOS.
    What is the command that you run that generates this error? What is the error in the cmd window?

    Recovery requires an install.wim of the same version of OS that is installed. If you had 1903, you'd need a 1903 install DVD. If you have the current version, you can download the media from MS.

    Download Windows10

  2. Tripredacus 151 Reputation points

    You can do it with a USB, it just needs to be able to see the install media, doesn't matter what type of drive it is on.

    Did you try running using the DISM in X drive instead of the one in the HDD?

    What happens if you try to boot Windows?

  3. Greg Lindsay 11 Reputation points Microsoft Employee

    You can type "ver" at a command prompt to find the windows version.

    Rather than installing a new image have you tried a restore point? This is fairly easy to get to from the advanced troubleshooter menu.

    If you can't restore, or the restore point is very old, then I suggest you try an offline repair. Boot from a USB or DVD and try:

    dism /image:c:\ /cleanup-image /restorehealth /source:wim:X:\sources\install.wim:1