Microsoft .NET Framework Repair Tool is available

Article translations Article translations
Article ID: 2698555
Expand all | Collapse all

On This Page

Introduction

The Microsoft .NET Framework Repair Tool detects frequently occurring issues that affect the Microsoft .NET Framework setup or updates. The tool tries to resolve those issues by applying known fixes or by repairing the corrupted installations of the supported .NET Framework versions. The tool has an easy-to-use wizard-based user interface (UI). It also supports command line usage together with more advance options.

Microsoft has released the following updated version of the Microsoft .NET Framework Repair Tool.
Latest version
Last Updated: 03/13/2014
Release: v1.2
Version: 4.5.52207.36207
Supported Languages: English (United States)

Changes that are included in release v1.2

  • Quiet mode and Passive mode support through command line is added for the tool. Now, the tool does not require you to only run in UI mode. 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/Passive mode.

    Note We recommend that you save logs to a specified location by using this option to run the tool in Quiet or Passive mode.
  • A new option lets you run the Repair Tool in Log Collection Modeonly, 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.
  • Software updates improve tool stability and fix other causes of .NET Framework setup failures.

Notes
  • The .NET Framework Repair Tool is available in English only.
  • The supported platforms and .NET Framework versions are listed in the "Applies to" section.

Download information

The latest version of the .NET Framework Repair Tool is available for download from the following Microsoft Download Center website:
Microsoft .NET Framework Repair Tool

Supported command-line options for this tool

Collapse this tableExpand this table
Standard optionDescription of the optionUsage
/? OR /helpDisplays help information.NetFxRepairTool.exe /?
/q OR /quietQuiet mode. No user interaction is required and the tool tries all fixes/repairs and saves the log file.
Options "/q" and "/p" are mutually exclusive.
NetFxRepairTool.exe /q
/p OR /passiveUnattended mode. Only the progress bar is displayed.
Options "/q" and "/p" are mutually exclusive.
NetFxRepairTool.exe /p
/a OR /addsource Offline repair mode. Setup redistributable files that are required for repair are copied from a network share or folder path that is specified by the "/addsource" flag. This should generally be used when the tool is functioning in a disconnected or locked down environment.NetFxRepairTool.exe /a <folder path>

Example:
NetFxRepairTool.exe /a "\\SharePc\ShareFolder"
/r OR /repairRepair operation can be optionally scoped to target a set of specified product baselines. If this option is not specified, the tool will try to repair all supported .NET Framework versions installed.
The "/repair" option can also be used together with "None" value to just apply fixes and skip running repair for any product baseline. When this option is used together with "None" value, then the "/addsource" option should not be specified.
This option is applicable only in Quiet and Passive modes.
NetFxRepairTool.exe /r <version1>; <version2>

Supported version values: .net35, .net4, .net45, .net451, none

Examples:
NetFxRepairTool.exe /q /r .net4
NetFxRepairTool.exe /q /r .net35;.net45
/l OR /logsOptionally, sets the desired folder path for the logs file cabinet (FixDotNet*.cab) generated by the tool. Default (that is not specifying this option) location of the CAB file is current user's desktop folder.NetFxRepairTool.exe /l <folder path>

Example:
NetFxRepairTool.exe /l "%temp%"
/c OR /collectonlyLog collection only mode. This mode will allow for collection of logs relevant to .NET Framework setup, which is useful for troubleshooting. Repair or any fix operations are not performed when this option is specified.
This option is only applicable in Quiet and Passive modes and will suppress all other operations.
NetFxRepairTool.exe /q /c
OR
NetFxRepairTool.exe /p /c
/n OR /noceipconsentOpt out of sending feedback information to Microsoft. Default (not specifying the flag) assumes that the user has opted in to send usage data to Microsoft.
This option is applicable only in Quiet and Passive modes.
NetFxRepairTool.exe /q /n
OR
NetFxRepairTool.exe /p /n

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 the .NET Framework
  4. Collects logs (requires user consent)
The tool may make one or more changes to the installed version of the .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 the .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.

Collapse this tableExpand this table
Version and profileArchitectureInstaller file nameURL
The .NET Framework 4.5.1x86, x64NDP451-KB2858728-x86-x64-AllOS-ENU.exehttp://go.microsoft.com/fwlink/?LinkId=321332
The .NET Framework 4.5x86, x64dotNetFx45_Full_x86_x64.exehttp://go.microsoft.com/fwlink/?LinkId=255995
The .NET Framework 3.5 SP1, the .NET Framework 3.0 SP2, the .NET Framework 2.0 SP2 (when the .NET Framework 3.0 and 3.5 are installed)x86, x64dotnetfx35.exehttp://go.microsoft.com/fwlink/?LinkId=259762
The .NET Framework 4 Client Profilex86dotNetFx40_Client_x86.exehttp://go.microsoft.com/fwlink/?linkid=247966
The .NET Framework 4 Client Profilex86, x64dotNetFx40_Client_x86_x64.exehttp://go.microsoft.com/fwlink/?linkid=247965
The .NET Framework 4 Fullx86dotNetFx40_Full_x86.exehttp://go.microsoft.com/fwlink/?linkid=247964
The .NET Framework 4 Fullx86, x64dotNetFx40_Full_x86_x64.exehttp://go.microsoft.com/fwlink/?linkid=247962
The .NET Framework 2.0 SP2 (when versions 3.0 and 3.5 are not installed)x64NetFx20SP2_x64.exehttp://go.microsoft.com/fwlink/?LinkId=259767
The .NET Framework 2.0 SP2 (when versions 3.0 and 3.5 are not installed)x86NetFx20SP2_x86.exehttp://go.microsoft.com/fwlink/?LinkId=259766

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. You can download this statement from the following Microsoft Download Center web site:
Collapse this imageExpand this image
Download
Download the Microsoft .NET Framework Repair Tool Privacy Statement
For more information about how to download Microsoft support files, click the following article number to view the 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 is saved to the current user’s desktop (if it is run 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.

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.

Collapse this imageExpand this image
When you click "Finish" in the wizard, the tool will send the CAB file that contains the logs to Microsoft.

Earlier Versions

Release: v1.1
Supported Languages: English (United States)
Release v1.1 extended 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 added offline support for computers that have limited or no Internet connectivity.

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

Affected configurations

You can use the .NET Framework Repair Tool to correct setup problems for the following configurations:
  • The .NET Framework 4.5.1 on the following operating systems:
    • Windows Vista Service Pack 2 (SP2)
    • Windows Server 2008 Service Pack 2 (SP2)
    • Windows 7 Service Pack 1 (SP1)
    • Windows Server 2008 R2 Service Pack 1 (SP1)
  • The .NET Framework 4.5 on the following operating systems:
    • Windows Vista Service Pack 2 (SP2)
    • Windows Server 2008 Service Pack 2 (SP2)
    • Windows 7 Service Pack 1 (SP1)
    • Windows Server 2008 R2 Service Pack 1 (SP1)
  • The .NET Framework 4 on the following operating systems:
    • Windows XP Service Pack 3 (SP3)
    • Windows Server 2003 Service Pack 2 (SP2)
    • Windows Vista Service Pack 2 (SP2)
    • Windows Server 2008 Service Pack 2 (SP2)
    • Windows 7
    • Windows 7 Service Pack 1 (SP1)
    • Windows Server 2008 R2
    • Windows Server 2008 R2 Service Pack 1 (SP1)
  • The .NET Framework 3.5 SP1 on the following operating systems:
    • Windows XP Service Pack 3 (SP3)
    • Windows Server 2003 Service Pack 2 (SP2)
    • Windows Server 2003 R2 Service Pack 2 (SP2)
    • Windows Vista Service Pack 2 (SP2)
    • Windows Server 2008 Service Pack 2 (SP2)
  • The .NET Framework 3.0 SP2 on the following operating systems:
    • Windows XP Service Pack 3 (SP3)
    • Windows Server 2003 Service Pack 2 (SP2)
    • Windows Server 2003 R2 Service Pack 2 (SP2)
  • The .NET Framework 2.0 SP2 on the following operating systems:
    • Windows XP Service Pack 3 (SP3)
    • Windows Server 2003 Service Pack 2 (SP2)
    • Windows Server 2003 R2 Service Pack 2 (SP2)

Properties

Article ID: 2698555 - Last Review: March 13, 2014 - Revision: 11.0
Keywords: 
kbexpertiseinter kbsurveynew atdownload KB2698555

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com