How to repair an existing installation of the.NET Framework

Article translations Article translations
Article ID: 306160 - View products that this article applies to.
This article was previously published under Q306160
Expand all | Collapse all

On This Page

SUMMARY

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.

Properties

Article ID: 306160 - Last Review: September 22, 2011 - Revision: 8.0
APPLIES TO
  • Microsoft .NET Framework 2.0
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0
Keywords: 
kbhowtomaster kbsetup KB306160

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