Can't install .NET framework 3.5 on windows 10

Solution


Hello mate, posting this just for you. Forget the CMD...once that small window appear, the one that says "an app on your pc needs the following windows feature..." BEFORE you click on the "Download and Install this feature" option, make sure your Windows Update service is started (it's probably disabled, so set it to Manual, and then Start it). After this, click on the "Download and install..." button and things will start downloading :)
(many other instances of the same small window may continue to pop-up, you just follow the one where you clicked the "Download and Install this feature".

Cheers
What commands have you tried in Command Prompt? Here is 3 that you can try. Be sure to open Command Prompt as Administrator.

sfc /scannow

Try this first and then re-try the setup. If it doesn't work, get your Windows 10 installation media out and try this:

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs

Important: Replace the "E:" with the drive where your Win10 installation media is. Then try to run the .NET framework install again. Hopefully that works. If not, finally try this command:

dism /online /Cleanup-Image /RestoreHealth

and then try the setup again.
 
Press the Windows key Windows logo on your keyboard, type Windows Features, and press Enter. This brings up the Turn Windows features on or off dialog box. Alternately, open Control Panel, click on the Programs items, and then click on “Turn Windows features on or off” under Programs and Features.
Select the .NET Framework 3.5 (includes .NET 2.0 and 3.0) check box, press OK, and reboot your computer if prompted.
 


I'm trying through windows update and it says
"Windows couldn't complete the requested changes.
Windows couldn't connect to the Internet to download necessary files. Make sure that you're connected to the Internet, and try again.
Error code: 0x800F081F"

8ea6c54f15a543baae17cad14464fd1d.png

(it's the same thing I said before, but in portuguese)

With the command:

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs

I got this problem:
"The source files could not be found.
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:\Windows\Logs\DISM\dism.log"

 
With the "Source files could not found" error, it sounds like the DISM command cannot find your Windows Setup media. Two questions:

* With the DISM command, did you use your Windows installation media?
* Did you change the "E:" to point to the same drive where the Windows installation media is?

If you answered YES to both of the above, then I suggest trying this:

http://www.thewindowsclub.com/dism-fails-source-files-could-not-be-found

Open a command prompt and run as Administrator, try the following command:
Dism.exe /online /Cleanup-Image /StartComponentCleanup

If that works, then try this command once again:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs
and don't forget to change the E: to the drive where your Win 10 media is.

If it works, then try to install .NET once again. If not, let me know any errors you receive along with the way.
 


When I tried
Dism.exe /online /Cleanup-Image /StartComponentCleanup
it worked, but when I tried
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs
(changing E: to the drive) I got the same 0x800f081f error.

 
One last DISM try, in a command prompt (run as Admin):
DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\sources\install.wim:1 /limitaccess
Be sure to replace "E:" with your drive letter. Then try the update again.

If it doesn't work... then...

Read this message string here, especially the message from LittleJay and the very last message:

https://www.tenforums.com/performance-maintenance/13385-dism-error-0x800f081f-sfc-failed-repair.html

If you wish to go that route, for more info on how to repair with an "in place upgrade", or "Refresh Windows":
https://www.tenforums.com/tutorials/4090-refresh-windows-10-a.html

If you have boot media ready (which I suspect that you do from our conversion) then I would try option #1 on that page. Be sure to choose the "Keep my files" option.

I always consider resetting, refreshing, or even re-installing the last resort, but I'm out of ideas. Maybe someone else can help if you do not want to try the refresh/in-place fix.

It honestly may not be that bad. Maybe the refresh will work on the first try and you can immediately install the .NET update right away. It's likely you will have to update Windows again (especially if your Win10 install disc/usb is a few months old). You may want to try what u2desire420 said above before doing the Windows updates (Control Panel to install .NET).
 


I reinstalled windows 10 and still can't install, I'm getting the same error I got before I reinstalled. I have no idea on what I can do now.
 
I'm sorry but I am out of ideas.

I installed .NET 3.5 today on a temporary copy of windows by using the control panel. I opened control panel, went to programs & features, clicked on "turn windows features on or off" and checked the box beside of .NET 3.5 and it downloaded and installed. I don't know why it's not working for you.

Maybe this will help.
https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/how-to-instal-net-framework-35-on-windows-10/450b3ba6-4d19-45ae-840e-78519f36d7a4

I'm sorry that I couldn't help. Maybe someone else can step in and help you.
 


No problem, thanks for trying to help.
 


Hello mate, posting this just for you. Forget the CMD...once that small window appear, the one that says "an app on your pc needs the following windows feature..." BEFORE you click on the "Download and Install this feature" option, make sure your Windows Update service is started (it's probably disabled, so set it to Manual, and then Start it). After this, click on the "Download and install..." button and things will start downloading :)
(many other instances of the same small window may continue to pop-up, you just follow the one where you clicked the "Download and Install this feature".

Cheers
 
Solution