At times, either one of these options fails to successfully download the files needed to repair the image.
So how can you repair the Windows image without performing a clean installation?
The solution to this problem isconfiguring an alternate Windows repair source.

Features on Demand or those optional features that are installed fromSettings > System > Optional features > View features.
Table of Contents
How to repair Windows image?
This means that any system files that may have been corrupted will need to be replaced.

DISM is also used to manage system components, like adding or removing Windows features.
you’re free to encounter various errors while executing either one of these commands above.
In this case, you might provide an alternative source for the Windows files.

Which alternative file sources can be used?
This will allow you to temporarily change the default source for Windows files.
The same applies to the/Add-Capabilitycommand when installing optional Windows features.

Here is how:
Start by downloading the ISO file for yourWindows version.
Press theWindows key + Rto open theRun Command box.
bang out in cmd and pressCTRL + Shift + Enterto launch anelevated Command Prompt.
The/LimitAccessparameter ensures that the command does not go online, specifically Windows Update, to download any system files.
Misconfiguration of critical values in the systems registry could be fatal for your operating system.
Therefore, we insist that you create asystem restore pointor a completesystem image backupbefore proceeding forward with the process.
Press theWindows key + ito bring up the options app.
Scroll down and click Remote Desktop.
Click This PC in the left navigation pane.
Right-smack the C drive and openProperties.Open C drive properties
Switch to theSharingtab and click Advanced Sharing.
Now press theWindows key + Rto pop swing open the Run Command box.
punch in in regedit and pressEnterto kick off the Registry editor.
tap on the 3 dots in the top menu and then click Map online grid drive.
[Optional] Check the box with Reconnect at sign-in.
this is recommended if you are planning on using this remote Windows installation as the alternate image-repairing source permanently.
The web link drive should now be mapped successfully.
For that, run with this:
Press theWindows key + Rto fire up the Run Command box.
key in in cmd and pressCTRL + Shift + Enterto launch an elevated Command Prompt.
Optionally, you could also extract a copy of the SxS folder and use it as a standalone folder.
you’re able to also permanently change the default repair source using the Group Policy.
This way, you would not have to repeatedly input the repair path in every command.
Running the basic commands to repair Windows or install optional features would automatically use the preset path.
Double-smack the policy Specify tweaks for optional component installation and component repair.kick off the Group Policy
SelectEnabled.
We have discussed all three of these above.
Windows will now automatically use the provided alternate path as the source for performing the task.
Right-poke the Servicing key, expandNew, and click DWORD (32-bit) Value.
In case you want to revert the changes, simply delete the RepairContentServerSource DWORD.
If you configured it from the Group Policy, then simply change it back to Not configured.
Take Indiana University as an example.
0
Get weekly insights, tips and exclusive content delivered straight to your inbox.
Talk to us straight and get your questions answered right away
source: www.itechtics.com