Hi all,
In my attempts (http://answers.microsoft.com/en-us/windows/forum/windows_10-windows_install/win10-upgrade-eternal-driver-installation-hang/959de121-3ccc-414e-86bc-124faeb97595?tab=question&status=AllReplies&auth=1) to upgrade Win8.1 NL to Win10, I was advised to do maintenance first. So:
- Chkdsk /r /f
- SFC Scannow
- dism.exe /online /cleanup-image /restorehealth
One PC on Win8.1 DISM ran into a problem. The other was fine. DISM indicated trouble with Windows Update as a source. So I went and followed this manual: https://www.petri.com/how-to-fix-windows-update-when-it-breaks
The outcome was that despite me having a proper USB Win8.1 NL image, with the install.esb converted to an Install.wim, the repair did not work, despite the Scanhealth indicating that it could be repaired.
I'm at a loss why.
See below the commands executed+responses from the PC. Also I include the few lines in the Repair.log that indicate a failure.
Hope someone can tell me how to resolve this, without having to Refresh the PC and reinstall several 10's of applications, games etc.
Thanks for your attention,
StanggNL
Commands executed
PS C:\WINDOWS\system32> Mount-WindowsImage -ImagePath F:\sources\install.wim -Index 1 -Path C:\offline -LogPath C:\Temp\
Mount.log -Readonly
Path : C:\offline
Online : False
Restart Needed : False
PS C:\WINDOWS\system32> Repair-WindowsImage -Online -ScanHealth -LogPath C:\Temp\ScanHealth.log
Path :
Online : False
Image Health State : Repairable
Restart Needed : False
PS C:\WINDOWS\system32> Repair-WindowsImage -Online -RestoreHealth -Source C:\offline\Windows\WinSxS -LimitAccess -LogPa
th c:\Temp\Repair.log
Repair-WindowsImage : The restore operation failed. Either the repair source was not found or the component store canno
t be repaired.
At line:1 char:1
+ Repair-WindowsImage -Online -RestoreHealth -Source C:\offline\Windows\WinSxS -Li ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Repair-WindowsImage], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.RepairWindowsImageCommand
Extract from the Repair.log
2015-08-22 03:49:10, Info DISM DISM Package Manager: PID=3636 TID=3368 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
2015-08-22 03:49:10, Info DISM DISM Package Manager: PID=3636 TID=3368 CBS session options=0x28100! - CDISMPackageManager::Internal_Finalize
2015-08-22 03:54:23, Info DISM DISM Package Manager: PID=3636 TID=3464 Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f) - CCbsConUIHandler::Error
2015-08-22 03:54:23, Error DISM DISM Package Manager: PID=3636 TID=3368 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)
2015-08-22 03:54:23, Error DISM DISM Package Manager: PID=3636 TID=3368 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
2015-08-22 03:54:23, Error DISM DISM Package Manager: PID=3636 TID=3368 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)
2015-08-22 03:54:23, Error DISM DISM Package Manager: PID=3636 TID=3368 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
2015-08-22 03:54:23, Error DISM API: PID=4792 TID=3460 Failed to restore health - CRestoreImageHealthCommandObject::InternalExecute(hr:0x800f081f)
2015-08-22 03:54:23, Error DISM API: PID=4792 TID=3460 InternalExecute failed - CBaseCommandObject::Execute(hr:0x800f081f)
2015-08-22 03:54:23, Error DISM API: PID=4792 TID=3376 CRestoreImageHealthCommandObject internal execution failed - DismRestoreImageHealthInternal(hr:0x800f081f)
2015-08-22 03:54:23, Info DISM API: PID=4792 TID=3376 Exit DismRestoreImageHealthInternal - DismRestoreImageHealthInternal