[SOLVED] Windows 10 – .NET Framework fails to install

Problem

Windows 10 prompts that the .NET Framework needs to be installed.

An app on your PC needs the following Windows feature:
.NET Framework 3.5 (includes .NET 2.0 and 3.0)

Windows10-DotNetInstallFails1

But when you attempt the install using the ‘Download and install this feature’ the install fails.

This following feature couldn't be installed:
.NET Framework 3.5 (includes .NET 2.0 and 3.0)

Windows10-DotNetInstallFails2

Solution

To fix this problem you will need to install the .NET Framework offline, from your Windows 10 install media.

To be able to do this you will first need a Windows 10 install USB. If you do not already have this see Windows 10 – How to create a install USB.

  1. In the Windows search box, type cmd
  2. When ‘Command Prompt’ appears, right-click on it and select ‘Run as administrator’
  3. Windows10-DotNetInstallFails3
  4. In the command prompt enter the following command – changing D to the current drive letter for your Windows install USB
  5. Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess
  6. Windows10-DotNetInstallFails4
  7. The install will take a few minutes to complete.
  8. Once it reads ‘The operation completed successfully.’ you can close the command prompt window.

Tagged in

6 comments on “[SOLVED] Windows 10 – .NET Framework fails to install

  1. Microsoft Windows [Version 10.0.10240]
    (c) 2015 Microsoft Corporation. All rights reserved.

    C:\Users\Administrator>cd windows
    The system cannot find the path specified.

    C:\Users\Administrator>c:

    C:\Users\Administrator>cd\

    C:\>cd windows

    C:\Windows>cd system32

    C:\Windows\System32>dism /online /enable-feature /featurename:netfx3 /all /source:d:\sources\sxs /limitaccess

    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384

    Image Version: 10.0.10240.16384

    Enabling feature(s)
    [==========================100.0%==========================]

    Error: 0x800f0922

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

Leave a Comment

Your email address will not be published. Required fields are marked *