How to uninstall the components of the .NET Framework 3.5 SP1
Question:
As described in this blog post, I have been evaluating the beta of the .NET Framework 3.5 SP1 and Visual Studio 2008 SP1. I ran into some issues running my application on a system with this software installed, so I need to uninstall it. I have tried to uninstall the .NET Framework 3.5 SP1, but all of the .NET Framework 2.0 assemblies are still at the SP2 level and are not rolled back. How can I fully uninstall the .NET Framework 3.5 SP1?
Answer:
The .NET Framework 3.5 SP1 is a slipstream replacement for the original release of the .NET Framework 3.5. It installs the .NET Framework 2.0 SP2 and the .NET Framework 3.0 SP2 behind the scenes, and 2.0 SP2 and 3.0 SP2 are both slipstream replacements of previous versions of the .NET Framework 2.0 and 3.0.
In order to fully uninstall the .NET Framework 3.5 SP1 and return to the .NET Framework 3.5, .NET Framework 2.0 SP1 and .NET Framework 3.0 SP1, you must use the following steps. Note that there are different steps on Windows Vista and Windows Server 2008 than on earlier versions of Windows because the .NET Framework 2.0 and 3.0 are OS components on Windows Vista and Windows Server 2008.
How to uninstall the .NET Framework 3.5 SP1 on Windows XP and Windows Server 2003:
- Go to the Add/Remove Programs control panel
- Find the product named Microsoft .NET Framework 3.5 SP1 and uninstall it
- Find the product named Microsoft .NET Framework 3.0 SP2 and uninstall it
- Find the product named Microsoft .NET Framework 2.0 SP2 and uninstall it
- Re-install the original release of the .NET Framework 3.5 (which will re-install the .NET Framework 2.0 SP1 and the .NET Framework 3.0 SP1 behind the scenes)
How to uninstall the .NET Framework 3.5 SP1 on Windows Vista and Windows Server 2008:
Note - these steps are not required if you had a beta version of the .NET Framework 3.5 SP1 and plan to upgrade to the final release. Behind the scenes, the .NET Framework 2.0 SP2 and .NET Framework 3.0 SP2 packages are designed to upgrade older beta versions of the same packages. These steps are only needed if you are trying to fully remove the .NET Framework 2.0 SP2, .NET Framework 3.0 SP2 and .NET Framework 3.5 SP1 in order to move back to a previous version of the .NET Framework.
- Go to the Programs and Features control panel
- Find the product named Microsoft .NET Framework 3.5 SP1 and uninstall it
- In the Programs and Features control panel, click the link on the left named View Installed Updates
- In the list of installed updates, look for an item named Update for Microsoft Windows (KB948610) - this is the .NET Framework 3.0 SP2 OS update package
- Right-click on the item and choose Uninstall
- In the list of installed updates, look for an item named Update for Microsoft Windows (KB948609) - this is the .NET Framework 2.0 SP2 OS update package
- Right-click on the item and choose Uninstall
- Reboot
- Re-install the original release of the .NET Framework 3.5 (which will re-install the .NET Framework 2.0 SP1 and the .NET Framework 3.0 SP1 behind the scenes)
<update date="8/7/2008"> Added a note clarifying that these uninstall steps are not needed when moving from a beta to the final release. They are only needed when doing a full uninstall in order to move back to a previous version of the .NET Framework on a system. </update>
Comments
Anonymous
August 02, 2008
Disinstallare il Service Pack 1 del .NET Framework 3.5Anonymous
August 03, 2008
Very good article. That's just what I needed after hours of research. Thank you Aaron ;)Anonymous
August 15, 2008
I am using Windows Server 2008, I ran into some issues when upgrading to 3.5 sp1 (see the url). I tried to uninstall 2.0 sp2 just like you described, but in 2008 the "Update for Microsoft Windows (KB948610)" and "Update for Microsoft Windows (KB948609)" are not in my updates list. Is there a way to manually uninstall 2.0 sp1? Thanks BenediktAnonymous
August 15, 2008
Hi Benedikt - The .NET Framework 2.0 SP1 and 3.0 SP1 are part of the OS on Windows Server 2008 and you cannot remove them. However, you do not need to remove them in order to install the .NET Framework 3.5 SP1. It is somewhat confusing because the .NET Framework 3.5 SP1 log file states that it is trying to install the .NET Framework 2.0 SP1, but it is actually trying to install .NET 2.0 SP2. The name used in the log file was not changed between the .NET Framework 3.5 and 3.5 SP1. For this error code 1, I typically need to look at the following log files: %temp%dd_dotnetfx35install.txt %windir%logscbscbs.log Could you please zip those logs, upload them to a file server somewhere, and post a link to where you uploaded them so we can take a further look?Anonymous
August 18, 2008
You may have a need to uninstall .NET Framework 3.5 SP1, perhaps for testing purposes or because youAnonymous
August 25, 2008
Hi all - For anyone reading this in the future, we figured out that the cause of Benedikt's issue was that the install was being run on a checked (debug) build of Windows, and that is not supported for the .NET Framework 3.5 in this case. I've posted more information about this particular scenario at http://blogs.msdn.com/astebner/archive/2008/08/25/8895729.aspx in case anyone runs into something similar in the future.Anonymous
October 05, 2008
PingBack from http://www.activoinc.com/blog/2008/10/06/ektron-cms400-70-issues-with-net-framework-35-sp1/Anonymous
December 02, 2008
PingBack from http://wickedw.wordpress.com/2008/12/02/visual-studio-2008-sp-and-net-framework-35-sp1-has-not-installed-but-says-it-has/Anonymous
January 13, 2009
The comment has been removedAnonymous
January 14, 2009
The comment has been removedAnonymous
February 25, 2009
PingBack from http://merill.net/2009/02/microsoft-net-framework-35-sp1-breaks-microsoft-ccf-customer-care-framework/Anonymous
April 09, 2009
The Issue: In the last few months, we have seen quite a few cases where after installing .net frameworkAnonymous
April 09, 2009
The Issue: In the last few months, we have seen quite a few cases where after installing .net frameworkAnonymous
April 09, 2009
The Issue: In the last few months, we have seen quite a few cases where after installing .net frameworkAnonymous
May 27, 2009
The comment has been removedAnonymous
May 30, 2010
Will see if this does the trick with W7 ultimate. ThanksAnonymous
June 18, 2010
I tried this method, but when i go to uninstall the updates, it comes up with "An error occured, Not all updates were uninstalled." How can i fix this?Anonymous
June 20, 2010
Hi Jeffness - I'm not sure how to solve this type of error. It might help to try one of the following:
- Repair the files that are a part of your OS by running sfc /scannow from an elevated cmd prompt
- Try to re-install the .NET Framework 3.5 SP1
- Go to the Programs and Features control panel, click the item on the left named Turn Windows Features On or Off, locate the item named Microsoft .NET Framework 3.0 and uncheck it, click OK. Then go back and re-check Microsoft .NET Framework 3.0 to re-enable it. If none of the above help, then the log named %windir%logscbscbs.log might have some more useful error information. You can use the tool at blogs.msdn.com/.../6458047.aspx to gather all of your .NET Framework setup log files, post the file %temp%vslogs.cab that this tool produces to a file server such as http://skydrive.live.com and then reply here with a link that I can use to download the logs and I can try to take a look and see if I can locate any errors if you'd like.
Anonymous
October 18, 2010
The comment has been removedAnonymous
October 18, 2010
Hi Tracy - I'm sorry for the hassles that this issue is causing for you. I'm not sure I understand the exact problem though. What are the exact error messages that you see when you start your computer and when you start the Sims 3?Anonymous
November 01, 2010
Please help ! C:WindowsMicrosoft.NETFrameworkv.2.0.50727configmachine.config Parser returned error 0xC00CE556Anonymous
November 03, 2010
Hi Dave - Usually, what I recommend for this type of error is to uninstall the .NET Framework 3.5 (if you have it), then uninstall 3.0 (if you have it), then uninstall 2.0, then re-install the .NET Framework 3.5 SP1 (which will also re-install the .NET Framework 2.0 SP2 and 3.0 SP2 behind the scenes). Hopefully these steps will help solve this error on your computer.Anonymous
February 19, 2011
hey i have a problem C:/Documents and Settings/Santos/My Documents/downloads/dotnetfx(1).exe is not valid win32 application isnt the framework 1.1? or my computer plzz answerAnonymous
February 19, 2011
Hi Diether - It sounds like the download of the .NET Framework setup package got corrupted on your computer somehow. I'd suggest deleting it and trying to download it again to see if it will resolve this error.Anonymous
March 30, 2011
The comment has been removedAnonymous
March 30, 2011
Hi Rikho - I'd suggest doing the following to fix that machine.config error:
- Go to the folder named C:WindowsMicrosoft.NETFrameworkv.2.0.50727config
- Make a copy of the file named machine.config.default
- Rename the copy to be machine.config Hopefully that will cause this error to go away.
Anonymous
June 13, 2011
Aaron...Here's what I'm getting when my XP home tries to update. "Some updates could not be installed...The following updates were not installed. Update to .NET Framework 3.5 Service Pack 1 for the .NET Framework Assistant 1.0 x86 (KB963707)" And I cannot delete this from add/remove programs list. Any suggestions?Anonymous
June 14, 2011
Hi Eric - I'd suggest using the steps and the cleanup tool described at blogs.msdn.com/.../8108332.aspx to fully remove the .NET Framework 3.5 from your computer, then re-install the .NET Framework 3.5 SP1 and try to install this update again.Anonymous
June 21, 2011
im very dissapointed with the update thing you have doneAnonymous
June 21, 2011
Hi Harold Gardner - Which exact update are you referring to? Can you please provide more details about the issue that you're seeing so that I can try to help you find a solution?Anonymous
July 11, 2011
The comment has been removedAnonymous
July 11, 2011
Hi Mark - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to gather all of your .NET Framework setup log files, post the file named %temp%vslogs.cab that this tool will create to a file server such as http://skydrive.live.com, and then reply here with a link that I can use to download the logs and take a further look?Anonymous
July 29, 2011
The comment has been removedAnonymous
July 30, 2011
Hi Mondriaan - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your .NET Framework setup log files, post the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply here with a link that I can use to download the logs and take a further look?Anonymous
September 07, 2011
Can 3.5 SP1 be removed if all the others were removed before it? Add/Remove doesn't allow it, and by being there, it is causing problems with re-installing 2.0Anonymous
September 07, 2011
Hi Bob - The .NET Framework 3.5 is supposed to prevent you from uninstalling the .NET Framework 2.0 or 3.0 out from underneath it. I'm not sure how you would've been able to uninstall 2.0 or 3.0 if you still have 3.5 installed. I'd suggest trying to use the cleanup tools and the steps listed at blogs.msdn.com/.../8108332.aspx to fully remove the .NET Framework 3.5 and then try to re-install it afterwards.Anonymous
April 24, 2012
help microsoft net frameneckwort 3.5 sp1 nya gak isa di uninstall errorAnonymous
April 25, 2012
Hi M - If you are having trouble uninstalling the .NET Framework, then I'd suggest trying the cleanup tool and the manual uninstall steps that are listed at blogs.msdn.com/.../8108332.aspx.Anonymous
May 01, 2012
HI Aron, please could you help me ? my windows is 7 and every time that I turn on the computer the message c:WINDOWSMicrosoft.NETFrameworkv2.0.50727configmachine.config__Parser returned error 0xC00CE556__ appears, my micrsoft.net framework is 4 client profile. Thank you very much !Anonymous
May 01, 2012
Hi Fernanda Caldas - I'd suggest doing the following to fix that machine.config error:
- Go to the folder named C:WindowsMicrosoft.NETFrameworkv.2.0.50727config
- Make a backup copy of the file named machine.config in case you need to go back to it in the future
- Make a copy of the file named machine.config.default
- Rename the copy from step 3 to be machine.config
- Reboot your computer Hopefully that will cause this error to go away.
Anonymous
May 01, 2012
HI Aron ! Thank you very much , it worked !Anonymous
September 20, 2014
Solution: Go in the “c:windowsmicrosoft.NETframeworkv2.0.50727config” directory, and renamed the “machine.config” to “machine.config.backup”, and then copied the “machine.config.default” to “machine.config”, worked fine.Anonymous
October 04, 2014
Dear Aaron, if we uninstall Microsoft .NET Framework 3.5 SP1, Microsoft .NET Framework 3.0 SP2, and Microsoft .NET Framework 2.0 SP2 as you suggest, how do we then re-install them? Won't they disappear from the Control Panel Programs list? Regards, RosalbaAnonymous
October 04, 2014
Hi Rosalba - It depends on what version of Windows you have on your PC. On versions older than Windows 7, you can re-install the .NET Framework 3.5 SP1 by downloading and running the installer from www.microsoft.com/.../details.aspx. If you have Windows 7 or newer, then the .NET Framework 3.5 is a part of the OS and you can disable/enable it by going to the Windows Features control panel (optionalfeatures.exe).Anonymous
October 05, 2014
Thanks a lot Aaron. Regards, RosalbaAnonymous
April 06, 2015
Aaron doesn't this process works on windows xp i tried a lot by using cleanup tool too but it didnt work on my pc and again i tried to install microsft net framework 3.0 but it says that :" An error occured during setup. Installed files have been removed from your computer. "Anonymous
April 07, 2015
Hi Prabesh - The uninstall process and cleanup tool normally work on Windows XP. It sounds like you might be running into a bug in the .NET Framework 3.0 installer when you try to re-install it. Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://onedrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?Anonymous
June 16, 2016
How do i know that its installd- Anonymous
June 16, 2016
Hi Dont blame the admin - There are a few different options. You can use the sample code that I posted at https://blogs.msdn.microsoft.com/astebner/2009/06/16/sample-code-to-detect-net-framework-install-state-and-service-pack-level/, you could run the setup verification tool at https://blogs.msdn.microsoft.com/astebner/2008/10/13/net-framework-setup-verification-tool-users-guide/ and look at the entries at the top of the log file, or you could manually check in your registry using the information listed at https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx.
- Anonymous