Lỗi cài cad net framework 4.7 did not install năm 2024

The Microsoft .NET Framework Repair Tool detects frequently occurring issues that affect Microsoft .NET Framework setup or updates. The tool tries to resolve those issues by applying known fixes or by repairing 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 advanced options.

Microsoft has released the following updated version of the Microsoft .NET Framework Repair Tool.

Latest version

Last updated: 11/11/2019 Release: v1.4 Version: 4.8.04072.00 Supported languages: English [United States]

Changes that are included in release v1.4

  • The tool now supports Microsoft .NET Framework 4.8, 4.7.2, 4.7.1, 4.7, and 4.6.2. Therefore, fixing and repairing are also applicable to these products. The tool supports all the features from the previous release as-is.

Notes

  • The .NET Framework Repair Tool is available in English only.
  • The supported platforms and .NET Framework versions are listed under "."

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

Standard option

Description

Usage

/? OR /help

Displays help information.

NetFxRepairTool.exe /?

/q OR /quiet

Quiet 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 /passive

Unattended 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

Example: NetFxRepairTool.exe /a "\\SharePc\ShareFolder"

/r OR /repair

Repair 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 ;

Supported version values: .net35, .net4, .net45, .net451, .net452, .net46, .net461, .net462, .net471, .net472, .net48, none

Examples: NetFxRepairTool.exe /q /r .net4 NetFxRepairTool.exe /q /r .net35;.net45

/l OR /logs

Optionally, 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

Example: NetFxRepairTool.exe /l "%temp%"

/c OR /collectonly

Log 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 /noceipconsent

Opt 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 .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

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

.NET Framework 4.7.2

x86, x64

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

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

.NET Framework 4.7.1

x86, x64

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

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

.NET Framework 4.7

x86, x64

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

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

.NET Framework 4.6.2

x86, x64

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

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

.NET Framework 4.6.1

x86, x64

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

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

.NET Framework 4.6

x86, x64

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

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

.NET Framework 4.5.2

x86, x64

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

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

.NET Framework 4.5.1

x86, x64

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

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

.NET Framework 4.5

x86, x64

dotNetFx45_Full_x86_x64.exe

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

.NET Framework 4 Client Profile

x86

dotNetFx40_Client_x86.exe

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

.NET Framework 4 Client Profile

x86, x64

dotNetFx40_Client_x86_x64.exe

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

.NET Framework 4 Full

x86

dotNetFx40_Full_x86.exe

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

.NET Framework 4 Full

x86, x64

dotNetFx40_Full_x86_x64.exe

//www.microsoft.com/en-us/download/details.aspx?id=17718

.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

//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.

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?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Chủ Đề