Partilhar via


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

  • Anonymous
    January 02, 2010
    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.

  • Anonymous
    January 05, 2010
    The comment has been removed

  • Anonymous
    January 10, 2010
    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.

  • Anonymous
    January 10, 2010
    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: http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%5E_Tools/netfx%5E_setupverifier%5E_new.zip

  • Anonymous
    January 10, 2010
    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. Regards, ~Howard

  • Anonymous
    January 10, 2010
    Here is the correct path. http://cid-fe31233d52aa7e8a.skydrive.live.com/self.aspx/.Public/cleanup%5E_main.log

  • Anonymous
    January 11, 2010
    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.

  • Anonymous
    January 11, 2010
    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? Thanks.

  • Anonymous
    January 11, 2010
    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.

  • Anonymous
    March 12, 2010
    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. http://cid-de3eb12a61dd674b.skydrive.live.com/self.aspx/.Public/setupverifier%5E_main%5E_03-13-10%5E_21.05.20.txt

  • Anonymous
    March 15, 2010
    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.

  • Anonymous
    June 18, 2010
    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

  • Anonymous
    June 19, 2010
    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.

  • Anonymous
    October 01, 2010
    aren't download links ALWAYS obvious on a page?   Where is the download link for the tool on this page?

  • Anonymous
    October 01, 2010
    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.

  • Anonymous
    August 02, 2011
    keep getting "mscorwks.dll is either not designed" in windows 7 after clean up. tried reinstalling .net 4.0. any ideas

  • Anonymous
    August 02, 2011
    The comment has been removed

  • Anonymous
    May 31, 2012
    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.

  • Anonymous
    May 31, 2012
    Hi Vicki - The following links might help in this scenario: support.microsoft.com/.../947821 blogs.msdn.com/.../solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx 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.