Tags

, , , , ,

 

I have a Microsoft Surface 4 Pro and very nice it is too. Unfortunately it is shipped with the very first version of Windows 10 and after I updated it to the November 2015 edition version 10.0.10586.0 I had lots of networking problems. It kept claiming that I had no TCP/IP sockets.

This could be fixed by running


netsh int ip reset resetlog.txt

(— update 24/12/15 for a more permanent fix see here —)

I also ran


sfc /scannow

To fix corrupt Windows system files. Unfortunately this reported

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. 

To replace these files I needed to run DISM.exe

DISM /Online /Cleanup-Image /RestoreHealth

DISM will go to Windows update online and get any missing or corrupt files. However if Windows Update is corrupt or your networking is damaged then you will need to use local source for the system files. In this case the command is like,

Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:C:\temp\install.wim:1

install.wim is a standard Windows image file that contains the distribution of Windows 10. It is normally found on your Windows DVD. Here I had a problem like most users I did not have a Windows DVD. I downloaded Windows 10 using the Microsoft Media Creation Tool and created a folder containing the system files. Unfortunately when I looked in the \sources subfolder it did not contain install.wim but install.esd (electronic software delivery). This is a compressed version of the .wim file and does not work with dism.exe.

To extract the .esd file from the folder and convert it to a .wim file I used NTLITE. This brilliant and free program did the job perfectly.

After running dism using this wim as the source, sfc /scannow reports no errors and I can now run dism without the local source because it can get the files from Windows Update.

Advertisement