Windows 10 for desktop editions (Home, Pro, Enterprise, and Education) only. Use Deployment Image Servicing and Management (DISM.exe) to service Windows capabilities. Capabilities are a Windows package type allows you to request services like .NET or languages without specifying the version. Use DISM to search multiple sources like Windows Update or your corporate servers to find and install the latest version.
To see the available capabilities, go to Features On Demand.
DISM Command-Line Options
Here's how each DISM option can be used. These options are not case sensitive.
Note, each of these commands requires either the /Online or /Image:<path_to_offline_image_file> argument.
Related topics
Error when running DISM /Online /Cleanup-Image /RestoreHealth - error 0x800f0906
DISM /Online /Cleanup-Image /RestoreHealth
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
[100.0%]
Error: 0x800f0906
The source files could not be downloaded.
Use the 'source' option to specify the location of the files that are required t o restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:WindowsLogsDISMdism.log
Ran Repair Instructions according to this link.
Network List Service Refuses to start.
---------------------------------------------
When Checking Service Dependencies. The following error appears
Win32: A dynamic link library (DLL) initialization routine failed.
-----------------------------------------------
Windows Update is able to run and I am able to download all updates.
-----------------------------------------------
Below is my DISM.log file for troubleshooting.
http://pastebin.com/Z2Fc8JL4
Excerpt of CBS.LOG only [SR] Entries
http://pastebin.com/1jn2SWPV
Full CBS.log for 2013-06-22
So I am trying to Install .net 3.5 on a windows 2012 R2 Server. I have tried via the Add Feature and via DISM both fail.
When trying via Add Features GUI I am using the “Specify Alternate Path” This fails with the error “installing of one of more roles, role services, or features failed”
When trying via an Elevated PowerShell to use DISM I am using the following command.
This fails with
Error: 0x800f0906 The source files could not be downloaded. Use the 'source' option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077
The DISM log file can be found at C:WindowsLogsDISMdism.log
I have followed the KB listed above (243077) to set the group policy location for the SXS folder. Rebooted and still the same error. The DSIM log shows the following
Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0906)
A quick google shows that a lot of people are having problems with this and that you should uninstall KB2966826 and KB2966828 this server hasn’t got either installed.
I have also tried the offline .Net installer and it says that I must add it via windows features. All commands have been run as an administrator and via an elevated prompt.
While writing this I searched noticed the 'Similar Questions' and took at look at this Unable to install .net 3.5 on Windows server 2012
Running
Produced the same error as above.
Community♦
ZaptoZapto
1,57366 gold badges2020 silver badges3939 bronze badges
9 Answers
The command I use to install .NET Framework 3.5 on Windows 8.1 and Server 2012 R2 is:
Where D: is the mounted ISO or DVD drive. The only difference from yours is the /LimitAccess, but I believe that is the important part, as it prevents it from attempting to contact Windows Update or WSUS. For whatever reason, this aspect (contacting Windows Update) is totally broken for .NET Framework 3.5 on Windows 8/8.1 and Server 2012/2012R2 and will always cause it to fail.
See also: http://blogs.technet.com/b/askcore/archive/2012/05/14/windows-8-and-net-framework-3-5.aspx
Joshua McKinnonJoshua McKinnon
1,03611 gold badge1111 silver badges2424 bronze badges
I had the same issue when I mount the Windows install disk or use the physical DVD, and here's how I fixed it:
For whatever reason, my optical drive shows the files on the disk, but the DISM doesn't like it, but copying the files to C: seems to have worked.
PeterPeter
None of the above methods worked for me.It turned out I had a WSUS server configured. The only way I could install it was
1) Regedit
2) Go to Computer->HKEY_LOCAL_MACHINE->SOFTWARE->Policies->Microsoft->Windows->WindowsUpdate
3) Made note of the values of the two keys: WUServer and WUStatusServer
4) Deleted/Renamed these keys
5) Stopped and Started WindowsUpdate
6) Added the .Net3.5 feature
7) Put the keys back and restarted WindowsUpdate.
I hope it helps
formicaformica
When the DISM command skips the media specified by the /Source switch and goes looking for the files online, it means that the source files in the specified media is either corrupted or not applicable to your server (version mismatch).
The error code 0x800f0906 further proves this behavior as documented by Microsoft: https://technet.microsoft.com/en-us/library/dn482067.aspx
Your best bet is to help solve this problem is to:
If all of the above fails, I highly recommend that you provide the DISM servicing logs to do any further troubleshooting, but at this stage, I would leaning more to do a full server rebuild.
Noor KhaldiNoor Khaldi
2,95211 gold badge1010 silver badges2626 bronze badges
Your DISM command isn't finding the required resources because it's checking for the source 'online'. Windows 6.2+ will (by default) check only with the update source server for component install/repair if an update source is specified for the Windows Update Service.
Dism Online Cannot Find Source Files
If you don't want to set up your update source (usually WSUS) server as the source for repairing/installing components, then you can enable the following Group Policy:
Computer Configuration Administrative Templates System
Specify settings for optional component installation and component repair
Make sure to check this option:
Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)
austinianaustinian
1,47322 gold badges1212 silver badges2727 bronze badges
Make sure your Sources media absolutely match your version of Windows.
I spent half a day trying to use Server 2012 ISO to install .NET35 on Server 2012 R2. Once the source is correct, DISM command (from this answer) works flawlessly.
Community♦
Dism The Source Files Could Not Be Downloaded Windows 10
alex.zalex.z
I have had the exact same issue. My resolution was to remove the server from Active Directory, Install .Net 3.5, then add back to AD. I'm sure it has to do with WSUS at some layer, but that solved it for us. We just make sure we install 3.5 on all servers before adding to the domain.
Chris SatolaChris Satola
I've been able to solve this by using the server manager add features wizard and there specifying an alternate source there.
Got this info from http://www.danielclasson.com/install-net-framework-35-server-2012/
Option 1 did not work for me either, option 2 completed successfully.
MickeybyteMickeybyte
There's lots of stuff on the internet on this and most of it was summarized in the answers here. We tried it all and none of it worked. Even when pointing at various copies of the sxs folder, it still would get a variation of the 'source files not found' error.
I finally pointed it at a share of the the winsxs folder on another fully patched server that did have .net 3.5 (c:windowswinsxs) and it worked:
My theory is that the install process was looking for source files that matched the current KBs on the server. I know there are other articles pointing to the removal of two particular KBs, but those did not show up in our list of installed patches.
Also note that add/remove features did not work with this share. I had to use DISM.
b_levittb_levitt
Dism The Source Files Could Not Be Found Windows 8Not the answer you're looking for? Browse other questions tagged windowswindows-server-2012-r2.net-3.5 or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |