you have just installed a fresh new Windows Server 2012R2 on premise or in Azure and you need to install .Net Framework 3.5 Features
But it fails with an error 0x800f081f
a quick search says you need this command to do this well eh why ? but any way it is on the web so it must be right .
dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs <> Will not Work
But why everybody says thanks! let me that you to the real problem. Reminder this is for all Servers even in Azure !
We checked the .Net Framework 3.5 Features and failed
Next attempt Give the Source to the installation. not very handy in Azure first download a ISO then mount this to the OS.
But it is on the Web so it must be true and the installation says he I need a Source I do not have these files and the OS is not lying or does it ?
So we put in the Source and give it a try.
Same error and with the source, maybe my source is not right , yeh right.
Test tis one more time form the Command
Then there is this line, this should work eh yes is did not.
dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs
See it did not work, I told you so in the first line So what is really going on in this system.
The Real fix for installing .NET Framework 3.5 Feature and Error 0x800f081f
If you open a PowerShell window and query the roles and features Get-WindowsFeature take a look at .NET Framework 3.5.
In the last column the Install state is different, it says Removed ?
- Removed means that you can install the feature but the source files for that are not available for this OS (not always)
- Installed means that the role or feature is already enabled and in use
- Available means that you can install the feature and the source files are on the machine and the OS can use them
But Removed, If the @Azure Team has removed this feature could this be the problem ?
Let me check if there are Updates for my system.
What there is an update for me and I do not have the .NET 3.5 Framework features installed.
then there must be an update there for me that is nagging me. Let me search the updates for .NET 3.5 Framework and compare them to the Installed updates.
This is an .NET 3.5 Framework update ad must be installed when the .NET 3.5 Framework was installed and patched
I uninstalled this update
Reinstalled .NET 3.5 Framework feature and see now it is working.
So all the time a Windows Update is keeping me from installing the .NET 3.5 Framework Feature.
Sometimes Windows can be a pain, But you are in control !
Technorati Tags: Framework,Feature,Windows,Server,Azure,Error,Solution
WordPress Tags: Framework,Feature,Windows,Server,Azure,Error,Solution
20 thoughts on “Failed to install .NET Framework 3.5 Feature Windows Server 2012R2 OR on #Azure VM Error 0x800f081f Working Solution #winserv #MVPBuzz”
your solution helps me a lot… but this makes me angry…
Blame it all on patch management. and remember you are in control not the patches 😉
Hi, i have the same problem, but, i don’t see any installed update, the list is empty, so, how can i solve this?. Is there any patch that i have to run before install the net framework?. Thanks and… sorry for my poor english
If there are no updates on your server first patch all updates.
I have the same problem up to the ‘removed’ part of the get-WIndowsfeature lis in Windows Server 2016 TP5.
But there are no updates(installed) or available for .Net 3.5 though..
this issue should not be in 2016 tp5 I have seen this only in the described version.
I uninstalled the ondly security update I got, that was “KB3213986 “, but the problem persist. What could I try? ‘s driving me mad…
then there is an other .net framework update that blocks this. guess there where 3 KB that’s preventing this. uninstall those updates and your fine. ( after the install they will apply again with windows update )
It’s actually a local group policy setting that needs to be adjusted to pull packages from windows update! this took me hours to figure 😦
@DannyTek DUDE! Thank you. The last post for the WIN! Perfectly fixed the problem where as the others did help. the updates uninstall was not an option/available.
Great article. in my case update 4470630 was the culprit.
Good to see that is was helpful. Thanks for your update
I could not install .net 3.5 on an Azure Windows Server 2012 R2 either from a download or from an iso locally. Whether it be from Add Role, command line or PS. I tried the various fixes that are listed, confirmed I had good DNS access from the server, etc. With help from Alex Lara at MS I found that KB4470630 was the problem. As soon as I uninstalled it, I could then use any of the methods to install .Net3.5 framework. Nowhere in any of the many articles that I reviewed on this matter was KB4470630 mentioned with regards to it preventing issues with the installation of .net I’m posting this out here so that if anyone else encounters it they won’t have to spend the time that I did troubleshooting this.
Thanks james for the update, Yes the updates can be changed over time. But If you installing a new serevr better use server 2016 or upgrade this. less issues and more performance with much better management options.
We have the issue with KB4470638 on Windows server 2012
the problem is there are still new updates and these will create the same issues. often caused by not fully patching the servers.