How to repair an existing installation of the.NET Framework


You may need to repair your installation of the .NET Framework if you upgrade your operating system or if the current installation of the .NET Framework becomes corrupted. This article describes how to do so.

Steps to repair the .NET Framework installation

  1. Obtain the original installation source. For example, if you installed the .NET Framework from a CD-ROM or from a DVD, insert that disc. If you downloaded the .NET Framework , download the .NET Framework again. Make sure that you click save to disk. If you installed the .NET Framework from a network share, reconnect to that share.
  2. Click Start, click Run, type the following command, and then click OK:
    N:\dotnetframework\dotnetfx.exe /t:c:\temp /c:"msiexec.exe /i c:\temp\netfx.msi REINSTALL=ALL ReinstallMODE=vomus"
    Note Replace
    N:\ in this command syntax with the original installation path.

    Important If you do not have a C:\temp folder on your computer, create one before you run this command.
The Microsoft Windows Installer will verify and repair the .NET Framework installation.