Manually remove and then reinstall the .NET Framework 2.0
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Important These steps may increase your security risk. These steps may also make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to, or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you choose to implement this process, take any appropriate additional steps to help protect your system. We recommend that you use this process only if you really require this process.1. Remove the .NET Framework 2.0 from the Windows Installer cache:a. Click Start, click Run, type installer in the Open box, and then click OK.
b. On the View menu in Windows Installer, click Details.
c. Right-click the Name column header, and then click Comments.
d. Right-click the cached Windows Installer file that has the Microsoft .NET Framework 2.0 RTL x86 enu comment, and then click Uninstall.
e. After the uninstall process has completed, quit Windows Installer.
2. Manually delete the following from the computer. Note Depending on the current condition of the .NET Framework installation, these items may not exist on the computer. • The URTTemp folder
• The Mscoree.dll file
• The v2.0.50727 folder
To do this, follow these steps:a. Click Start, click Run, type system32 in the Open box, and then click OK. The contents of the System32 folder appear in Windows Explorer.
b. Locate and then delete the URTTemp folder.
c. Locate and then delete the mscoree.dll file.
Note If the .NET Framework 1.1 or the .NET Framework 1.0 is also installed on the computer, and you do not intend to reinstall the .NET Framework 2.0, you must repair the .NET Framework 1.1 or the .NET Framework 1.0. For more information, see the "Repair the .NET Framework" section of the following Microsoft Knowledge Base article:
824643 (
http://support.microsoft.com/kb/824643/) How to troubleshoot Microsoft .NET Framework 1.1 installation issues
d. Click Start, click Run, type microsoft.net in the Open box, and then click OK. The contents of the Microsoft.NET folder appear in Windows Explorer.
e. In the Microsoft.NET folder, double-click the Framework folder.
f. In the Framework folder, delete the v2.0.50727 folder.
g. Close the Framework folder.
3. Manually delete the relevant registry keys:a. Click Start, click Run, type regedit in the Open box, and then click OK to start Registry Editor.
b. In Registry Editor, locate and then delete the following registry keys.
Note Depending on the current condition of the .NET Framework installation, these registry keys may not exist on the computer.• HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
• HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
c. Quit Registry Editor.
4. Use the Windows Installer CleanUp Utility (Msizap.exe) to remove Windows Installer information from the registry. The Windows Installer CleanUp Utility is available in the Microsoft Download Center.
Det samme gør du for 3'eren