Updated version of the .NET Framework cleanup tool that can remove the .NET Framework 3.5 RTM


I’ve posted an updated version of the .NET Framework cleanup tool that contains the following changes:

  • It is now able to remove the .NET Framework 2.0 SP1 beta and final release MSIs; it does not remove the .NET Framework 2.0 SP1 OS hotfix package on Windows Vista however
  • It is now able to remove the .NET Framework 3.0 SP1 beta and final release MSIs; it does not remove the .NET Framework 2.0 SP1 OS hotfix package on Windows Vista however
  • It is now able to remove the .NET Framework 3.5 final release (previously it only removed the beta versions)
  • It includes some additional removal options to allow removing all versions of the .NET Framework that are not OS components on Windows XP Tablet PC Edition, Windows XP Media Center Edition, Windows Server 2003, Windows Vista and Windows Server 2008

In addition, thanks to a suggestion from a customer, I have added the readme and a change history text file to the zip file that contains the cleanup tool to make it easier to understand what the tool does, what changes were made, and whether or not you have the most recent version of the tool.

Please refer to the .NET Framework cleanup tool user’s guide to find more information about the .NET Framework cleanup tool and download it if you need it on your system.

<update date=”6/7/2010″> Fixed broken link to the cleanup tool. </update>

 

Comments (22)

  1. anony.muos says:

    Hey I removed .NET 2.0 and 3.0 on my XPSP2 with IE7 comp and then installed .NET 3.5 RTM. Now Windows Live Writer gives me a ".NET-BroadcastEventWindow" and "memory could not be read" error when I exit Live Writer. Is this a .NET problem or Live Writer problem? I’ve tried uninstalling completely, running the cleanup tool and then reinstalling.

  2. Hi Someone – This type of error doesn’t sound familiar to me, so if I had to guess, I’d suspect a Windows Live Writer issue as opposed to a .NET Framework problem.  Do you see errors with other .NET Framework applications on this system or is it unique to Live Writer?  I’d suggest checking with the Live Writer team via their blog at http://windowslivewriter.spaces.live.com/default.aspx to see if they’ve heard of any issues like this and can suggest any possible workarounds.

  3. If you’re having issues installing Visual Studio 2008 RTM and had installed Visual Studio 2008 RC or

  4. If you&#39;re having issues installing Visual Studio 2008 RTM and had installed Visual Studio 2008 RC

  5. I have seen several reports of issues related to uninstalling a beta or release candidate build of Visual

  6. Re-installing .Net Framework 2.0, 3.5 broke it!

  7. Details about the .NET Framework 2.0 setup packaging Available command line switches for .NET Framework

  8. こんにちは! フォーラム オペレーターの服部清次です 今日は久々に晴天が広がり、気分爽快ですねー。 祝日が終わり、僕は、また今日から頭の中の OS を英語モードに切り替えました。 ^_^; さて、今日は久々に

  9. henrylih says:

    Hello Aaron, after running your dotnet cleaning tool, the dotnet 1.1 error message which block me from starting my HP scanning software has been solved, that error no longer comes back.

    But then I can’t start my MS Office 2007, including Word, Outlook, etc. The error says "the application failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem".

    Then I insert my Office 2007 CD to my computer to ‘repair’ it, but after running about 5 ~ 8 minutes, it comes out with configuration/setup failure. The error message is "Error 1334. The file ‘IPFORMCT.DLL’ can’t be installed because the file cannot be found in Cabinet file ‘EnterWW.CAB’." Then it rolls back and the repair fails.

    I don’t mind reinstall Office, but I care about my outlook emails, not sure if I can get back all my old emails in my computer if I re-install the Office 2007. And don’t know how to get back and connect to the outlook file that stores all my emails.

    Thanks! Henry

  10. henrylih says:

    (continued) Today I tried to remove my Office 2007 twice, but it failed twice. The error reads: "Error 1316, Setup can’t read from file C:WindowsInstallerEnterpriseWW.msi, Set up failed. Please see c:Documents and SettingsUserLocals..TempSetup0000b20setup.chm"

    So now I can’t even remove and re-install Office 2007. Then I tried to restore to a previous date, it failed too.

    It seems now I have to re-install the whole Windows XP, which is not what I want to see.

    It’s now worse than the original. Any hint?

    Thanks! Henry

  11. Hi Henrylih – The error you listed in your first comment ("the application failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem") usually means that one of the Visual C++ runtime files is missing from the system.  There will usually be an error listed in your event log after running into that type of error that will list the exact file that is missing.

    You may want to try to install the VC++ 2005 runtime redistributable on your system to see if that helps.  There are a couple of versions of this redist, so I’d suggest installing both of them just in case:

    http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee

    http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647

    Some of these files are a part of the .NET Framework, so the cleanup tool would’ve removed them if you chose to remove all versions.  You may want to also re-install the .NET Framework 2.0 if you removed it with the cleanup tool (I mention this as a possibility because your comment only mentions the .NET Framework 1.1).

    The error that you list in your 2nd comment makes it sound like the Office 2007 installation files are missing from your system somehow.  You could try to manually remove Office 2007 using steps like the one at http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx, and then try to re-install Office using your original installation CD.

    I’m not sure what would cause that 1334 (file cannot be found in the cab) error when you run from your CD to try to re-install.  It could be caused by your CD being dirty or something like that, so you may want to try to gently clean the back of your Office CD to see if that helps.

    Hopefully the above will help you avoid needing to reformat your system.  Please let me know how it goes for you.

  12. henrylih says:

    Not sure if it’s because my previous two posts too long, I posted them but the weblink doesn’t return to confirm my posts.

    To make it short, after running the VC++ runtime re-distributable, I can start my Office 2007 and MSN! Wonderful! And thanks indeed! You’re excellent!

  13. Spark N Arc says:

    The link to the Clean up tool is broken.  Can you update it so I can get my computer working again.

    Thanks!

  14. Hi Spark N Arc – I've created a user's guide with up-to-date links that you can use to download the cleanup tool.  Can you please take a look at blogs.msdn.com/…/8904493.aspx and see if the download links there work correctly for you?

  15. James C. says:

    I tried this clean up tool, but nothing was removed. Used it for all versions…having major issues with an error showing up csc.exe – bad image. The error goes on to have a problem with v2.0.50727 and alink.dll. How can I get this to truly remove all the .net framework issues or do I need a clean restart. Also I find the error to be hilarious when it says the file was not meant to be run on windows when windows created it. 🙁

  16. Hi James C – What version of Windows are you running when you see these errors?  The .NET Framework 2.0 is included as a part of the OS on Windows Vista and higher, and the cleanup tool will not allow you to attempt to remove it because it is a Windows component.

    Here are steps I usually recommend to try to repair the .NET Framework 2.0 on Windows Vista and higher:

    1.  Install the latest Windows service pack if you haven't yet.

    2.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    3.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on one of the Windows forums to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

  17. James C says:

    I have windows 8. My computer is currently up to date. When I try to do the restore health command it gives an error number 87.

  18. Hi James C – I don't have any expertise troubleshooting errors reported by the restore health command.  There might be some useful information in the file %windir%logsCBSCBS.log after running this command.

    Did you run that tool because you were having problems with the .NET Framework?  If so, what exact problems are you having?

    For general support for Windows 8, including the restore health command, I'd suggest posting a question on the Windows 8 forums at social.technet.microsoft.com/…/w8itpro.