Microsoft KB Archive/306160

= How to repair an existing installation of the .NET Framework =

Article ID: 306160

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft .NET Framework 2.0
 * Microsoft .NET Framework 1.1
 * Microsoft .NET Framework 1.0

-



This article was previously published under Q306160



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
 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. Click Start, click Run, type the following command, and then click OK:

 dotnetframework\dotnetfx.exe /t:c:\temp /c:&quot;msiexec.exe /i c:\temp\netfx.msi REINSTALL=ALL ReinstallMODE=vomus&quot;

Note Replace  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.

Additional query words: setup

Keywords: kbhowtomaster kbsetup KB306160

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.