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.
Pingback: Windows 10 static IP bug | Dr James Bayley
Pingback: The definative guide to backing up your home computer | Dr James Bayley
Pingback: FIXED: “One or more network protocols are missing on this computer” | Dr James Bayley
Very good instructions and advice. However I found your instructions regarding using NTLITE to convert an .esd to .wim as required by this process very light on
Many thanks for the great info! I was able to clean up the corrupt files.
Being a bit green in this area I had to learn a bit along the way, but this column is awesome. Thank you VERY much. Clean, clear and back to rights again on many fronts.
You don’t actually need NTLite, if you just open an administrator command prompt and type:
dism /Get-WimInfo /WimFile:install.esd
It’ll show you the sources, and since I needed it for Windows 10 Pro, I typed:
dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:none /CheckIntegrity
Extracting the install.wim.