Automatic Repair, SFC and DISM Problem

Troubleshot

New member
Joined
Apr 1, 2020
Posts
2
Hi there,

This is posted here after trying to post this in the general windows help and information - windows 10 section. Lets see, as I am not after how to use windows etc.....

After a power surge when coming out of hibernation windows crashed. Windows 10 Pro x64 then went into automatic repair which fails to diagnose a problem and so enters a loop. Where it is not possible to go into safe mode for all of the possibilities. Discovered an issue with the 1909 build of windows after this incident; it contains some corrupt files (via other pc's also on the same build of windows 10) which is most likely the store that only DISM can repair and then SFC can have a go at repair. However on the windows 10 pro x64 pc this is not now possible and both these fail as remedies via command prompt even when these are run from a DVD booting WinRE. In this scenario windows is divided over two drives, the c: which has system32 and the rest with all other files on e: - there is a <JUNCTION> link between e: and c: for the user folder. e: is a ramdisk generated by windows recovery and a problem in itself. Please note it is not possible to get logs (e:\recovery\windowsRE\winre.wim\system32\logfiles\srt\srttrail.txt) as it/they do not exist and system32 is minimal whilst housed on c:, well it is possible for the DISM logs only when taken from x:. I have done the following troubleshooting to get windows up and running with no success:

1) BOOTREC

/fixmbr - repairs.

/rebuildbcd - rebuilds.

/fixboot - access denied.

2) CHKDSK

If dismounted works fine locating no errors. This closed a process, amd64_ which was probably in WinSxS.

No disk errors at all (via chkdsk), and this had only been checked and passed positively days before.

3) SFC (From recovery off hard disk and via DVD so windows repair offline)

Windows Resource Protection cannot perform required operation.

4) DISM (From recovery off hard disk and via DVD offline) - tried from e: and then c:

Tried a number of combinations. However for anything online the response is does not support servicing WinPE with /online.

For offline usual errors are 2, 3, 50, 1639 with the best I can get as, does not support this request but also gets unable to access image.

Tried Revertpendingactions - same problems ...

Tried mounting a wim point and using scratchdir.

Least problem options:

a) DISM /image:e:\ /cleanup-image /restorehealth /source:wim:x:\sources\install.wim:1

Er 3 ... does not support

b) DISM /Online /cleanup-image /restorehealth /source:f:\test\mount\windows !!!!

Er 50 does not support winpe - nothing new here.

c) DISM /image:e:\ /scratchdir:e:\tmp /cleanup-image /restorehealth

Er 3 the request is not support

d) DISM /mount-image /imagefile:x:\sources\install.wim /index:1 /mountdir:c:\mount

Er 2 Cannot find file.

Another error is to do with not possible on a windows vista or earlier, if this is not so check the SSShim.DLL file is present. This file exists in system32 (not present on c:) and in winsxs (on e:) where it is present.

Does anybody know how to get windows repaired and booting for this scenario, starting with DISM? Before I just re-installed windows with a clean installation - experienced similar problem once before.

I do have some DISM logs from X: but they are not that informative. Did mention e:\ was not a wim mount point.

All the best. :)
 
Consider performing a reset save files.
If a reset save file fails additional options are:
a) custom install
b) clean install

Once you have a smooth working computer > make free backup images
 
Hi,

I tried a reset, but:

"There was a problem resetting your pc."

And, this is stated at every attempt.

So this is not possible either. (I have used an elevated command prompt to copy / backup new important files from the hard disk in the event...).

It may be worth adding I also tried to copy the system32 folder from c: to e: with xcopy and robocopy. Even though copied is stated, nothing actually moves.

In the past I did perform a clean / custom installation. But this time I wanted to see if these issues are solvable which would help for future problems. Particularly with c: and e: - this does not help DISM repair under this situation and where system32 should have the second ssshim.dll file in.

Any ideas other than wipe away the problem, which from the start it is most likely to come to?

In addition to the first post. I also checked this:

5) BCDEDIT

Bcdedit /enum all

Windows Boot Manager - partition=c:

Windows Boot Loader 1 - partition=e: and then listed next as ramdisk=[E:] for Windows Boot Loader 2 entry

Windows Boot Loader 3 - ramdisk=[\Device\HarddiskVolume4]\Recovery\.....Winre.wim - the recovery partition left by the OEM, but had performed a clean installation as well when updating to new versions of windows.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top