question

TorbjrnSillen-1009 avatar image
TorbjrnSillen-1009 asked ·

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

Hi

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)


BR
/Torbjorn

windows-10-setup
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Tripredacus-7848 avatar image
Tripredacus-7848 answered ·

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

Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Tripredacus-7848 avatar image
Tripredacus-7848 answered ·

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


4 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi

Thanks for the info. (is it possible with a USB stick instead of a DVD..?)

The command I did (in X\Windows\system32\cmd.exe window):
D: \Windows> dism.exe /Image:D:\ /Cleanup-IMage /RestoreHealth

BR
/Torbjorn







0 Votes 0 · ·

Hi

I checked in regedit.exe and found CurrentBuild 17763, i.e. version 1809.
Great so far, I then went to https://www.microsoft.com/en-us/software-download/windows10. But I need my licence key for Windows Enterprise.
or can I download install.wim whithout it ?

I tried the command:
X:\Windos\System32\>wmic path softwarelicensingservice get OA3xOriginalProductKey
but got the message: Description = Not found

I tried to find it in HKEY_LOCAL_MACHINE\SOFWARE\Microsoft\Windows NT\CurrentVersion but did not find the DIgitalproductid. (picture attached)

any advice how to proceed ?

BR
Torbjorn

![6451-20200328-190637.jpg][1]



0 Votes 0 · ·

I don't see a picture in the post.
You can't run WMIC from the ramdisk because it is running on the PE itself and not the OS on the HDD. I do not know if it is possible to load the provider on the HDD for WMI use.

What is the purpose for the install.wim, if it is just for running a repair then you can try using the retail release of 1809's install.wim. If it is for installation, you'll need that version for Enterprise specifically.

0 Votes 0 · ·

Hi, I reinstalled windows, now all is ok.
BR

0 Votes 0 · ·
Tripredacus-7848 avatar image
Tripredacus-7848 answered ·

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?

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I ran into a power failure and when started the PC, windows got stuck at the login page

I opened the cmd window in the advanced troubleshooter options.

dism /online /cleanup-image /checkhealth dism /online /cleanup-image /restorehealth the last command gave 1 error so I looked in the logfile and almost in the end of the file:

Info DISM DISM Package Manager-1200 TID-1784 Error in operation: (null) (CBS HRSULT=0x80070001) - CCbsConUIHandler::Error Error DISM DISM Package Manager-1200 TID-1784 Failed finalizing changes - CDISMPackageManager::Internal Finalizer(hr:0x8007001) Error DISM DISM Package Manager-1200 TID-1784 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption etc

I guess I need to download install.wim BUT I cannot find out what version windows has, when I try the command in the cmd window: "systeminfo" it is not recognized, is there any other command to use ?

BR /Torbjorn

0 Votes 0 · ·
GregLindsay-7500 avatar image
GregLindsay-7500 answered ·

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

2 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, thanks for your answer, I downloaded Windows to an USB en reinstalled it.
Now all is ok, I had the most in the cloud so all well.
BR

0 Votes 0 · ·

OP was unable to boot into Windows.

0 Votes 0 · ·