Updated versions of .NET Framework cleanup and verification tools with Windows 7 support

Over the past week or so, I’ve posted updated versions of both the .NET Framework Cleanup Tool and the .NET Framework Setup Verification Tool.  The primary reason for the updates is to address some specific problems using the tools on Windows 7.  I also fixed a few other issues that customers reported to me or that I discovered in my own testing.

Here is a list of the changes made to each of the tools:

.NET Framework Cleanup Tool changes (July 24, 2009):

  • Added logic to correctly cleanup the .NET Framework on Windows 7.  The .NET Framework 2.0 SP2, 3.0 SP2 and 3.5 SP1 are all installed as OS components on Windows 7, so the cleanup tool will not allow you to remove these versions of the .NET Framework on this OS.
  • Added detection and logging for the .NET Framework 4.  The cleanup tool does not yet support cleaning up the .NET Framework 4.  This will be added in a future release.
  • Prevent cleanup of mscoree.dll on Vista and higher.

.NET Framework Setup Verification Tool changes (July 17, 2009)

  • Fixed false errors being reported for non-English versions of the .NET Framework 1.0.
  • Fixed filtering problem that caused the .NET Framework 1.0 to be removed from the list of available products if any 1.0 service packs are installed.
  • Fixed false errors being reported for the .NET Framework 1.1 if the .NET Framework 1.0 is also installed on the system.
  • Fixed false errors being reported for the .NET Framework 3.5 SP1 on Windows 7.
  • Added detection and logging for .NET Framework 4 and Windows 7.  The verification tool does not yet support verifying the .NET Framework 4.  This will be added in a future release.

User’s Guides and Download Links

Here are links to the user’s guides for each of the tools – there are links in each user’s guide that can be used to download the latest version of each tool:

As always, please let me know (by posting a comment on one of my blog posts or sending me an email) if you run into any issues or have any questions using either of these tools.

Comments (19)
  1. wolfie74 says:

    I recently upgraded to Windows 7 and I am getting the message: Microsoft .Net Framework version 2.0 is required to continue.

    I am running 64-bit Win 7 and this version was not compatible. I have used your verify and cleanup tools with no errors and reinstalled .Net….this has not resolved the error.  

    Can you please help me? Thanks.

  2. Hi Wolfie74 – Windows 7 includes the .NET Framework 2.0, 3.0 and 3.5 as OS components.  There is no way to uninstall or re-install the .NET Framework 2.0 on this OS.  It is possible that your system is missing one of the registry values that is used to detect whether or not the .NET Framework 2.0 is installed.  Can you please run the verification tool described at http://blogs.msdn.com/astebner/pages/8999004.aspx and see if it reports any errors for the .NET Framework 2.0 on your system?  If it does, please upload the log files created by the verification tool to a file server (such as http://skydrive.live.com), then reply back here with a link that I can use to download the logs and take a look.  The user’s guide that I linked above contains a list of the names and locations of the log files that the verification tool creates.

  3. hlent63 says:

    i’m having the exact same issue as wolfie74 except that when I tried to install 2.0 it said already existed. I uploaded my cleanup tool log file to the skydrive.live link you supplied, but not sure how you could access it.(sorry, new to all of this). Any help is greatly appreciated, thank you.

  4. Hi Hlent63 – I need you to post a link to your Skydrive site so that I can download the log files and take a look.  To do that, you can go to your SkyDrive site, click on the log file that you uploaded, then copy and paste the URL into a reply comment here.  For example, on my SkyDrive site, the links look like this:


  5. hlent63 says:

    Thanks for your reply Mr. Stebner. Note The URL for the file. it is in the Public Folder.

    https://cid-fe31233d52aa7e8a.skydrive.live.com/self.aspx/.Documents/cleanup%5E_main.log. Hopefully you’ll be able to access it. if not, let me know. And again, Thank you.



  6. Hi Hlent63 – This log is from the cleanup tool.  I need you to try to run the verification tool available at http://blogs.msdn.com/astebner/pages/8999004.aspx and let me know if it reports any errors for the .NET Framework 2.0.  If it does, please upload the log from that tool so I can take a look.

  7. wolfie74 says:

    Although I did not appear to have any errors, I responded with links to my log files and do not see my response. Did you receive the response?


  8. Hi Wolfie74 – If the verification tool didn’t report any errors for the .NET Framework 2.0, that means that the registry keys used to detect that the .NET Framework 2.0 is installed should all be present.  This issue could be a problem with how the application is trying to detect the .NET Framework 2.0.  Do you know what exact application is causing this error to appear?  Does this error appear when you first log into your computer?  If so, that likely means that a program is configured to run when the computer boots up, and it is the one that has this problem.  You can use the msconfig tool to try to narrow down which exact program is causing this error.  To do this, click on the Start menu, choose Run, then type msconfig and click OK.  When the System Configuration tool appears, you can look at the Startup tab to see the commands being run when your system starts up.  You can try to run each of them yourself to see which one(s) cause this .NET Framework error message to appear.  Once we narrow down the problematic application, we can try to figure out what that application is checking for to try to fix this error.  Or you can just turn off the application so it won’t run every time you boot your computer.

  9. neruson says:

    Hi astebner, i have encountered this problem also.  I can’t use my printer software(lexmark – all-in-1  x5650), it keep on  saying that i don’t have the framework 2.0. call me to download it n install.

    this is my verified log file.


  10. Hi Neruson – I have heard from several people reporting this error when trying to use Lexmark printer software on Windows 7.  Your verification log does not show any errors, so I suspect that there is something wrong with the logic used by the Lexmark software to detect the .NET Framework.  I’d suggest contacting Lexmark technical support to see if there are any known issues like this with their software on Windows 7, and if so, see if they have an updated version that you can download that will work correctly on Windows 7.

  11. philip david thomas says:

    i've been having the very same problem, please could u take a look at mine.zynt4q.bay.livefilestore.com/…/setupverifier_main_06-18-10_20.20.57.txt

  12. Hi Philip David Thomas – I'm sorry but I can't get the link that you provided to work correctly.  Can you double-check that you copied it correctly?

    Also, if you mean that you're having the same Lexmark printer software problem, then this is an issue you will need to talk to Lexmark about.  That particular problem isn't a .NET Framework problem, but rather it is a problem with the Lexmark software not correctly detecting that the .NET Framework is installed on Windows 7.

  13. Why on why... says:

    aren't download links ALWAYS obvious on a page?   Where is the download link for the tool on this page?

  14. Hi Why on why – Sorry for the confusion.  I used to list the direct download links in each blog post I wrote about these tools, but I ended up having to change links in a bunch of different places if I had to move it.  As a result, I created users' guides for each of the tools and I only list the download links in the users' guides.

    This blog post has a section titled "User’s Guides and Download Links" that says "Here are links to the user’s guides for each of the tools – there are links in each user’s guide that can be used to download the latest version of each tool" and you can use those links to get to each user's guide.

  15. shivam28@hotmail.com says:

    keep getting "mscorwks.dll is either not designed" in windows 7 after clean up. tried reinstalling .net 4.0. any ideas

  16. Hi G.Kumarappan – I'd suggest trying the steps listed at blogs.msdn.com/…/10110053.aspx to try to repair the .NET Framework components that are installed as a part of Windows.

  17. vicki says:

    My pc came with vista and shortly after went to 7 professional yrs ago. Recently, I've been receiving an error code 80070005 when trying to install updates. I'm also unable to troubleshoot anything. At the same time I noticed that on my desktop states I don't have genuine windows. I've tried so many things after reading others are having similar or same problems. Please help.

  18. Hi Vicki – The following links might help in this scenario:



    If those don't help, then I'd suggest posting a question on one of the Windows 7 forums and hopefully someone there can help suggest some other ideas for you to try.

Comments are closed.

Skip to main content