0

Updates always fail on my 2016 server standard vm. When attempting to install .net 4.8 runtime i received the error the component store has been corrupted. I have attempted DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH and received the error The source files could not be found.

I have since tried using other sources including the original iso used to install the os in the virtual DVD drive using DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:wim:D:sourcesinstall.wim:2 /LimitAccess which returned this "The source files could not be found. Use the "Source" option to specify the location of the files that are required to restore

ion on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.``"

Also tried using another server in the domain by sharing the windows drive and using this command Dism /Online /Cleanup-Image /RestoreHealth /Source:\SERVER03\Windows /limitaccess and received the same error as previous attempt.

Additionally tried sfc /scannow and received this error "Windows Resource Protection found corrupt files but was unable to fix some

of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For

example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not

supported in offline servicing scenarios." after doing the above DISM attempts.

Any help would be greatly appreciated as it is a production server and one of the software items on it has a deadline coming soon for this to be installed.

What I tried is shown above

1
  • Download a Windows Server 2016 ISO, from within Windows launch setup.exe, when prompted to select what to keep select “keep everything0 this will resolve the component store corruption.
    – Ramhound
    Commented Mar 27 at 0:42

1 Answer 1

-2

becides of your special problem, i had - untill yesterday - many many problems, to repair my server. Like you, i was unable to install - no updates where installed. Lot of installes just crashed.

About: DISM : I tried hundreds of different ways, to use DISM.

The final solution, which works, was for me as followed:

If you don't have your original DVD anymore, download an Evaluation ISO

For Server 2016 Here:
https://www.microsoft.com/en-us/evalcenter/download-windows-server-2016

For Server 2016 Essentials Here: https://www.microsoft.com/en-us/evalcenter/download-windows-server-2016-essentials

These are full working - Exeption: (AFAIK) : NO Safe Mode

If you HAVE the original DVD and can run it from your existing DVD drive, you have to set the number for your physival drive - in the following commands!

  • you can go to step 2 !

1.) click on the ISO "Mount" This will mount to a virtual DVD drive. (if not: you can use - par example: Ultra ISO - the free version works for it)

2.) open CMD as Administrator

Remind !
I set the drive to "X" (see below!) Set the drive letter of your virtual DVD drive!

Input: (you DON'T have to search for the index! in teh Eval's, it is "1" !)

md C:\test\offline DISM.exe /Mount-Wim /WimFile:X:\sources\install.wim /index:1 /MountDir:C:\test\offline /ReadOnly

Wait until it's finished! = 100% !

Than next input:

Dism.exe /Online /Cleanup-Image /restoreHealth /source:C:\test\offline

(If you need a logfile - run this - in stead of the normal above:) Dism.exe /Online /Cleanup-Image /restoreHealth /source:C:\test\offline /loglevel:4

This will maybe run a very long time!

DON'T close, when it is finished! You have to unload!

If it is finished, put in the next command:

DISM.exe /Unmount-Wim /MountDir:C:\test\offline /discard

After hundreds different tries - THIS was, what repaired my Server!

After that, i could install everything without problems!

I hope, this wil help you :-)

I am writing this, because i guess that there are many users with DISM Problems...

You must log in to answer this question.