Howdy...
I just got my data back from a data recovery service (disk dropped heads). I paid them extra for a disk clone of the original, but I was warned there may be corruption, and they don't guarantee a bootable system. Fair enough.
I imaged it before I began repairs so I can always start with the initial disk image again.
When I mounted the disk in another computer Windows prompted me to reboot and perform repairs (boot time chkdsk). It found maybe 10 hex-named files with wrong attributes. I did not see anything else. The directory structure and my files look fine.
The boot "Reserved" partition appeared to be corrupt. I had a years-old backup of that drive, so I cloned that partition from the old backup. Note: this is an MBR boot system, not EFI.
The disk didn't boot, didn't find an operating system. Using diskpart from PE I set the "Reserved" partition active. After that the boot error changed to not finding connected device. I rebuilt the BCD, and it most certainly does find the Windows 10 installation, after that I got a boot splash and it immediately goes into repair. Automatic repair fails. Boot into safe mode fails as it goes into automatic repair again instead. From command prompt attempts with SFC and DISM also fail, but both tools seem to be limited in capability in PE.
So how do I do an offline repair from another Windows 10 computer ?
Microsoft gives a confusing example which I'm not sure would actually work, something seems to be missing:
SFC also fails...
Sooo. How do I go about this repair?
I just got my data back from a data recovery service (disk dropped heads). I paid them extra for a disk clone of the original, but I was warned there may be corruption, and they don't guarantee a bootable system. Fair enough.
I imaged it before I began repairs so I can always start with the initial disk image again.
When I mounted the disk in another computer Windows prompted me to reboot and perform repairs (boot time chkdsk). It found maybe 10 hex-named files with wrong attributes. I did not see anything else. The directory structure and my files look fine.
The boot "Reserved" partition appeared to be corrupt. I had a years-old backup of that drive, so I cloned that partition from the old backup. Note: this is an MBR boot system, not EFI.
The disk didn't boot, didn't find an operating system. Using diskpart from PE I set the "Reserved" partition active. After that the boot error changed to not finding connected device. I rebuilt the BCD, and it most certainly does find the Windows 10 installation, after that I got a boot splash and it immediately goes into repair. Automatic repair fails. Boot into safe mode fails as it goes into automatic repair again instead. From command prompt attempts with SFC and DISM also fail, but both tools seem to be limited in capability in PE.
So how do I do an offline repair from another Windows 10 computer ?
Microsoft gives a confusing example which I'm not sure would actually work, something seems to be missing:
Code:
DISM /image:d:\offline /Cleanup-Image /RestoreHealth /source:e:\Sources\Install.wim:1
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Error: 2
Unable to access the image.
Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
SFC also fails...
Code:
D:\>sfc /scannow /offwindir=d:\windows /offbootdir=d:\
Beginning system scan. This process will take some time.
Windows Resource Protection could not perform the requested operation.
Code:
D:\>sfc /verifyonly /offwindir=d:\windows /offbootdir=d:\
Beginning system scan. This process will take some time.
Windows Resource Protection could not perform the requested operation.
Sooo. How do I go about this repair?