Common Question: How can I clean a machine which has the .NET Framework 2.0 or 1.1?
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:
- 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.
- 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
its not helpful in this option.
go and remove the framework in the add or remove programs options in the control panel
- 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 - Remove the .NET framework from the machine, thats the safest method for cleaning .NET Framework from the machine
- you can try repair option too. That may solve your problem.
removing framework n then removing prequisites.
try it out
- 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 ...... - 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 :/ - HOW CAN I UNISTALL DOTNET FRAMEWORK 1.1 IF ITS NOT SHOWN IN ADD/REMOVE PROGRAMS ?
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
- this is very productive knowledge that i have got, thanking you
First You shoud uninstall .net framework 1.1 or 2.0 ....setup .net framework 2.0 or 1.1
- vmjf ugur joj;lg
- wefke ifuorejf r
- Reinstall the .Net frame work
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
- 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.
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
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.
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.
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
Polymorphism
Abstract Class
Inheritance
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!
- 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 - i want to thank you alot man u saved my computer thank you......
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!
FeeIs it safe to remove ver 2.0 and 3.0 to clean up my machine I have v3.5 installed
Where is this PC2POINT Software? Can you post the web address?
- 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.


