.NET Framework Developer Center > .NET Development Forums > .NET Framework Setup > Common Question: How can I clean a machine which has the .NET Framework 2.0 or 1.1?
Ask a questionAsk a question
 

General DiscussionCommon Question: How can I clean a machine which has the .NET Framework 2.0 or 1.1?

  • Wednesday, November 01, 2006 5:14 PMAaronru - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Since this question seems to be quite common, I will post this sticky thread and will update it periodically as new information becomes available.

    The following is from Aaron Stebner's WebLog:

    "Removal tool to fix .NET Framework install failures

    I wrote an application late last year that is designed to clean up computers that have problems getting the .NET Framework 1.0 or 1.1 to install correctly.  I have been working on refining the tool for the past couple of months, working out some bugs, adding additional cleanup features, etc.  The .NET Framework setup Product Support team has been using this cleanup tool for the past few months to help resolve many cases, and the internal Microsoft helpdesk has also started using it to solve internal cases where employees cannot get .NET Framework service packs or hotfixes to install correctly.  I have also been sending this tool out to individuals who email me via my blog and ask for help resolving setup problems - most commonly this is because of issues installing .NET Framework service packs or hotfixes such as MS05-004.

    Since I have been seeing really good success rates for using this cleanup tool and it has proven to speed up the process of resolving issues so customers can get the .NET Framework installed correctly and start using managed code on their computers, I decided to try to get a KB article written up with a copy of the tool that customers could download on their own without needing to contact me directly or call our PSS team.  The KB publishing process can sometimes take a while with technical reviews and things like that, so in the meantime I am going to post a link to the tool here on my blog.

    You can download the tool by clicking on this link and choosing Save from the dialog that appears to save it to your local machine, then unzipping it and running the EXE inside to launch the tool.  I could not get my ISP to allow me to upload files with an EXE extension so that is why I zipped it instead.

    There are a couple of very important caveats that you should read before using this tool to cleanup .NET Framework bits on your machine:

    1. You should try to perform a standard uninstall first.  This tool is not designed as a replacement for uninstall, but rather as a last resort for cases where uninstall or repair did not succeed for unusual reasons.
    2. This cleanup tool will delete shared files and registry keys used by other versions of the .NET Framework.  So if you use it, be prepared to repair or reinstall any other versions of the .NET Framework that are on your computer to get them to work correctly afterwards

    The tool itself has been fairly well tested, but I'm sure it is still not perfect.  I'm still in the process of fixing bugs as I find them and adding features to make it more effective at cleaning up known issues and to make it more intelligent about identifying root causes so we can fix the underlying bugs in .NET Framework setup for future releases.  As I update it, I will post updates to my blogs and update the copy of the tool located at the link above.

    I hope this tool will be helpful in resolving problems installing the .NET Framework.  Please let me know if you run into any issues while using the cleanup tool or if you are still unable to install the .NET Framework (or any service packs or hotfixes) after running it.

     

All Replies

  • Wednesday, February 07, 2007 3:07 PMAl Hashar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    its not helpful in this  option.

    go and remove the framework in the add or remove programs options in the control panel

     

  • Wednesday, February 07, 2007 7:54 PMgupta amit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    You should try to perform a standard uninstall
    proceding further try to remove any remaining registries that remain back but only upon verifying that they r no longer needed. do this work manually
  • Thursday, February 08, 2007 5:17 AMDharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Remove the .NET framework from the machine, thats the safest method  for cleaning .NET Framework from the machine
  • Friday, February 09, 2007 11:56 AMSumit_Dagar_8eba6d Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    you can try repair option too. That may solve your problem.

  • Tuesday, February 20, 2007 4:21 AMJay_Vora_b4843e Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    removing framework n then removing prequisites.

    try it out

  • Tuesday, February 27, 2007 2:41 PMSam_Williams_8dd41c Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi buddy ....
      Go to control panel and go to add or remove programs and Unistall it and then go to windows registry and Find ....
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\.NETFramework

    and delete all its contents ......
  • Friday, April 06, 2007 9:53 AMChristoph Unfried Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Anyone ever tried this tool with Windows Vista?

    I think my .net 2.0 is broken, but i have no idea how to repair it in Vista :/
  • Monday, April 09, 2007 1:31 PMS3k Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    HOW CAN I UNISTALL DOTNET FRAMEWORK 1.1 IF ITS NOT SHOWN IN ADD/REMOVE PROGRAMS ?
  • Thursday, April 12, 2007 7:39 PMAaron StebnerModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    The cleanup tool does not allow you to remove the .NET Framework 2.0 on Windows Vista because it is a part of the OS.  What symptoms do you see on Windows Vista that led you to suspect that the .NET Framework 2.0 is broken?

     

    There are some repair steps listed at http://blogs.msdn.com/astebner/archive/2007/03/26/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx for the .NET Framework 2.0/3.0 on Windows Vista if you think you need to try to repair on this OS.

     

    Thanks!  Aaron

     

  • Tuesday, April 17, 2007 8:23 PMMd.Arif Hussain Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    this is very productive knowledge that i have got, thanking you
  • Friday, April 20, 2007 2:35 AMACT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    First You shoud uninstall .net framework 1.1 or 2.0  ....setup .net framework 2.0 or 1.1

  • Saturday, May 19, 2007 2:58 AMShail Aggarwal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    vmjf ugur joj;lg
  • Saturday, May 19, 2007 2:58 AMShail Aggarwal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    wefke ifuorejf r
  • Saturday, May 26, 2007 7:33 AMsiva_charan_c8cf63 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Reinstall the .Net frame work
  • Sunday, June 03, 2007 9:17 PMSteve75 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I tried using Add Remove programs to uninstall 1.0 and 1.1 as well as 2.0 and  ended up with a mess. I got an unable to access rundll after I rebooted. I am going to try and run this utility.

     

    What about the suggestion about deleting the reg kit ...\.net

     

    I am assuming that the .net v3 is cummulative and that I do not need to try and reinstall the earlier versions. Can you please verify that this is correct.

     

    Thanks,

     

    Steve

  • Friday, June 15, 2007 8:29 AMKiran_Gilvaz_ebd92c Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hey jus delete all the files and folders u can find on ur computer and run a registry fixing software. it removes all invalid references from ur computer. i recommend pc2point. that should do it.
  • Monday, August 13, 2007 2:33 PMHarshil_Patel_5326c0 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
  • Friday, August 17, 2007 1:30 PMsemprenello Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    HI.   I have had problems with Net Framework updates unable to install .  When i use "Add/Remove Programs ,It could not find Net Framework . So it looks like it was not installed. I have now cleaned it all out (deleted) with Microsoft Article ID : 922377. 

    I have windows XP Home edition.

     

    What is Net Framework ? Do i need it ?  if so should i install Version 1.1  or  2.0 .

     

    Thanks

     

     

  • Wednesday, August 29, 2007 6:59 AMMrJLH Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    If I understand your posting, I do not need ver 1.0 or 2.0 if I have net.Framework 3.0 installed?  (WinXP pro)

    It is safe to uninstall them? As long as I leave 3.0 installed. Is this correct?

     

    I'm suddenly having page display errors appear on the left hand corner (yellow exclamination) and am not sure it is related to this.  When the last "updating" to 3.0 failed due to a loss of connection, all these problems started.  I did manage to get ver 2.0 and 3.0 re-installed and that sovled the error message problem until today when it started those error messages again.

     

    I'll contact customer service but I wanted a second opinion if you will.

     

    Thanks in advance.

  • Saturday, October 27, 2007 3:44 PMDave in MA Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    This is probably a novice question, but I would appreciate some help or opinion. Do I need to have NET Framework ver 2.0 installed on my computer, or am I ok with the old ver 1.4? 

     I believe an optional update ver2.0 was installed inadvertantly on my XP home edition service pack2 based Laptop about 3 weeks ago. I run Norton Systems Works occasionally and recently it has started to show messages of  "Windows\microsoft.net\Framework\v2.0.50727 application.exe cannot access msvcr80.dll, and similar messages for :

    aspnet_state.exe;  _up.exp; \csc.exe; \cvtres.exe; \ilasm.exe; \mscorsvw.exe; \ngen.exe; \vbc.exe. for that missing .dll.

    I don't seem to find most of these .exe s on my computer. The Control panel showed a NET Framework ver 1.0?, ver 1.4, and ver 2.0 installed. I was unable to find the needed msvcr80.dll on line except in reference to applications I don't use such as ++C and others. Because I have had problems get worse in the past by adding .dll s that were of the wrong version or time date, I have been reluctant to simply add a missing msvcr80.dll to solve the problem, or even sure that there is a problem. I ran a control panel repair on ver2, ant the result was the same messages except now the ver 1.0 that was installed is gone, possibily the result of a normal incompatability of ver 2.0 and ver 1.0.

    My question is what is NET Framework necessary for? (I have a simple network to a cable router, a wireless net to the same and a prineter, and will probably net with my other home XP computer.) I want to simply remove the ver2.0 and revert to the ver 1.4, which is the highest version on my main computer. Any help would be appreciated. Dave in Mass.

     

  • Tuesday, November 06, 2007 7:52 PMDroidDotBot Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'm not a developer nor aware of msdn, but I have a framework error

     

    upon starting win xp pro sp1 (dell inst disk-6w896) (after new hdd *later in post*) I'm asked to point too the install root,

    got .net frame v2.52727    and during installation of assemblies get an error : 25007. value:0x80131702 (and ms calander gives 2 reinstall I E errors!)

     

    usmt and backup have restored all my origional files to the start menu , but seem to be missing from the regestry or have been pointing to the old drive, or are acting as if they are just not installed.

     

    messenger works, (.net passport obviously - hence post ) and help i've seen so far are

     

    1. mscodee.dll (rename)

    2. complus_version (remove)

    3.hklm\sw etc\ms etc\.netfram etc\pol etc\ (none existant)    (hotfix \ updates though they do though!!!!!)

    4. win etc\winsxs\policies\            (remove)

     

    now I'm flumuxed

     

    My c;\ was very full                     40Gb

    I copied this drive to a usb F;\ in a new folder, not moved              500GbUSB

    I ran back-up (back-up on f;\(wherever)

    new hdd in as c;\                       250Gb

    ran install disc    WINDOWS IS ON F;\!!!!!!!!!!!!!!!!!!!!

    (copied back, usmt, back-up file&sett ect trans wiz)

     

    H E L P           PLZ     lost loads

  • Monday, November 19, 2007 8:43 AMsujaangel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Polymorphism

    Abstract Class

    Inheritance

  • Wednesday, December 19, 2007 12:33 AMJPinterest Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks for the great assist.  Your guidance works superbly.  Was able to remove .NET 1.1, .NET 2.0 and .NET 3.0   -then-

    reinstall .NET 2.0 & 2.0sp1, .NET 3.0 and 3.0sp1, and .NET 3.5. 

    This Solved a persistant and annoying problem of update failures. 

    Used your tool and the latest MS Windows Installer CleanUp Utility (as a check).

     

    Note - I first used the normal Windows 'Add-Remove Programs' utility to attempt uninstall in reverse order - i.e. 3.0 then 2.0 then 1.1.  Not much success.  After uninstall using your tool, I installed .NET versions in following sequence:  2.0, 2.0sp1, 3.0, 3.0sp1, and 3.5

     

    Again, Hooah!

     

  • Saturday, March 15, 2008 11:03 PMJan Cooke Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    My laptop will not boot. I tried to install a program and received the message that I needed .NET framework, which I thought I downloaded.  Now, however, I cannot get past the windows xp page.  I used F12 Diagnostics and received 2 failing messages and my computer began to beep.  Please help.  I don't know how to fix it if I cannot get onto the computer.  (I am using the desktop now.)
    JC
  • Thursday, April 10, 2008 10:07 AMMaster Tameem Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    i want to thank you alot man u saved my computer thank you......
  • Saturday, April 12, 2008 3:23 PMFee S Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Aaron,

    Thank you for the fabulous solution and the work you put into it! It was easy and solved my problem extremly cleanly!
    THANK YOU!
    Fee

  • Friday, May 09, 2008 2:46 PMtjmoes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Is it safe to remove ver 2.0 and 3.0 to clean up my machine I have v3.5 installed

  • Thursday, May 15, 2008 4:20 PMResidentX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Where is this PC2POINT Software? Can you post the web address?

  • Saturday, October 04, 2008 7:29 PMWHSKYBIL Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
        The tool worked & I was finally able to install .net frameworks 1.1 & 2.0. Still cannot install

    Microsoft-other Hardware-HID Non-user Input Data Filter. Thankyou.