More information

Repair Tool options

The .NET Framework Repair Tool follows a four-step process:

  1. Tries to troubleshoot setup issues

  2. Applies the fixes (requires user consent)

  3. Tries to repair all installed versions of .NET Framework

  4. Collects logs (requires user consent)

The tool may make one or more changes to the installed version of .NET Framework. For example, it may correct the state of Windows Installer on the computer, reset the discretionary access control lists (DACLs) on certain folders, or resolve issues that are related to an invalid or corrupted update registration.

Offline support

The .NET Framework Repair Tool provides an option to repair the versions of .NET Framework that are installed on the computer (step 3 of the process in the "Repair Tool options" section). The tool requires the redistributable files of those versions to be available at the time of repair. By default, the tool downloads these packages from the internet during the repair. If your computer has limited or no internet connectivity, you should use Offline mode for the repair. To do this, specify the /addsource option together with the path of the folder that contains the redistributable files, as in the following example:

NetfxRepairTool.exe /addsource \\SHARE_PC\SHARE_FOLDER If the Repair Tool does not find the required redistributable in the specified folder, it will try to download the file from the internet. The Repair Tool cannot do this if the required file cannot be downloaded. The following table lists the .NET Framework redistributable files.

Version and profile

Architecture

Installer file name

URL

.NET Framework 4.8

x86, x64

NDP48-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=2088631

.NET Framework 4.7.2

x86, x64

NDP472-KB4054530-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=863265

.NET Framework 4.7.1

x86, x64

NDP471-KB4033342-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=852104

.NET Framework 4.7

x86, x64

NDP47-KB3186497-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=825302

.NET Framework 4.6.2

x86, x64

NDP462-KB3151800-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=780600

.NET Framework 4.6.1

x86, x64

NDP461-KB3102436-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=671743

.NET Framework 4.6

x86, x64

NDP46-KB3045557-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=528232

.NET Framework 4.5.2

x86, x64

NDP452-KB2901907-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=328855

.NET Framework 4.5.1

x86, x64

NDP451-KB2858728-x86-x64-AllOS-ENU.exe

http://go.microsoft.com/fwlink/?LinkId=321332

.NET Framework 4.5

x86, x64

dotNetFx45_Full_x86_x64.exe

http://go.microsoft.com/fwlink/?LinkId=255995

.NET Framework 4 Client Profile

x86

dotNetFx40_Client_x86.exe

http://go.microsoft.com/fwlink/?linkid=247966

.NET Framework 4 Client Profile

x86, x64

dotNetFx40_Client_x86_x64.exe

http://go.microsoft.com/fwlink/?linkid=247965

.NET Framework 4 Full

x86

dotNetFx40_Full_x86.exe

http://go.microsoft.com/fwlink/?linkid=247964

.NET Framework 4 Full

x86, x64

dotNetFx40_Full_x86_x64.exe

http://go.microsoft.com/fwlink/?linkid=247962

.NET Framework 3.5 SP1, .NET Framework 3.0 SP2, .NET Framework 2.0 SP2 (if .NET Framework 3.0 and 3.5 are installed)

x86, x64

dotnetfx35.exe

http://go.microsoft.com/fwlink/?LinkId=259762

Quiet mode and Passive mode

All the functions of the Repair Tool can be automated by running the tool in Quiet or Passive mode. This has the benefit of requiring no user interaction for the tool to run. This is especially helpful in large deployments in which system administrators can configure the tool (through the command line) and also collect logs in specified locations.

Data collection

The .NET Framework Repair Tool collects information about tool usage in addition to collecting diagnostic installation data. The usage information is used to improve the quality of the .NET Framework Repair Tool, and the installation data is used to improve .NET Framework setup. This information is not used for marketing or sold to third parties. For more information, read the Microsoft .NET Framework Repair Tool Privacy Statement

For more information about how to download Microsoft support files, see the following article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Note The data collection feature creates a compressed cab file of the .NET Framework installation logs. After the tool processes the logs, a .cab file that is named "FixDotNet*.cab" or something similar is created and saved to the current user’s desktop (if it is running in UI mode) or to a specified location. When you click Finish in the wizard, the tool sends the .cab file that contains the logs to Microsoft.

The FixDotNet*.cab file stays on your desktop (or specified location) regardless of whether you decide to send the data to Microsoft.

If you use the "/q" option, we recommended that you also use the "/logs" option to save the logs to some specific location or to a network share for supporting enterprise scenarios.

When you are using the "/q" option, we recommended that you also use the "/logs" option to save the logs to some specific location or to a network share for supporting enterprise scenarios.  


Version history

Release v1.4

Supported Languages: English (United States)

Adds support for .NET Framework 4.6.2 through .NET Framework 4.8.

Release v1.3

Supported Languages: English (United States)

Extends support for .NET Framework 4.5.2, .NET Framework 4.6, and .NET Framework 4.6.1.

Release v1.2

Supported Languages: English (United States)

Quiet mode and Passive mode support through command line is added for the tool. Now, the tool does not require you to run in UI mode only. Therefore, the task can be automated.

The tool now supports the .NET Framework 4.5 and the .NET Framework 4.5.1. Therefore, fixing and repairing are also applicable for these products.

A new, optional command line switch is added to enable the repair of specific .NET Framework versions to override the repair of other installed versions at the same time.

The Repair Tool-generated log file can now be optionally saved in a user-specified location by using a command line option. This new option overrides the default location, which is the current user’s desktop in UI mode and %temp% folder in Quiet or Passive mode.

A new option lets you run the Repair Tool in Log Collection Only mode without applying any fixes or repairs. The option provides the flexibility to collect and investigate logs before you apply actual fixes.

New, optional support is added to let you opt out of any data collection in Quiet or Passive mode.  

Release: v1.1

Supported Languages: English (United States)
Release v1.1 extends support to the .NET Framework 3.5 SP1 (this includes the .NET Framework 3.0 SP2 and the .NET Framework 2.0 SP2). Release v1.1 also adds offline support for computers that have limited or no internet connectivity.

Release: v1.0

Supported Languages: English (United States)
Release v1.0 is the first version of the tool that had support for .NET Framework 4 and its updates.

Affected configurations

You can use the .NET Framework Repair Tool to correct setup problems for the following configurations:

  • .NET Framework 4.8 on the following operating systems:

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 4.7.2 on the following operating systems:

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 4.7.1 on the following operating systems:

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 4.6.1 on the following operating systems:

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 4.6 on the following operating systems:

    • Windows Server 2008 Service Pack 2 (SP2)

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 4.5.2 on the following operating systems:

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 Service Pack 2 (SP2)

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 4.5.1 on the following operating systems:

    • Windows Server 2008 Service Pack 2 (SP2)

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 4.5 on the following operating systems:

    • Windows Server 2008 Service Pack 2 (SP2)

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 4 on the following operating systems:

    • Windows Server 2008 Service Pack 2 (SP2)

    • Windows 7 Service Pack 1 (SP1)

    • Windows Server 2008 R2

    • Windows Server 2008 R2 Service Pack 1 (SP1)

  • .NET Framework 3.5 SP1 on the following operating systems:

    • Windows Server 2008 Service Pack 2 (SP2)

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×