Freigeben über


.NET Framework cleanup tool now supports .NET Framework 4.5 and Windows 8

I have posted an updated version of the .NET Framework cleanup tool that supports cleaning up the .NET Framework 4.5. It has also been updated to correctly recognize when it is running on Windows 8. There is more information about how to download and use the .NET Framework cleanup tool in the user’s guide at https://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx.

As always, if you run into any issues or have any feedback about the .NET Framework cleanup tool, please let me know by posting a comment on one of my blog posts or using the contact form.

Comments

  • Anonymous
    August 12, 2012
    I need to install the RTM version of .Net Framework on Windows 8 Release Preview, but the setup says that "Microsoft .NET Framework 4.5 is already a part of this operating system.  You do not need to install the .NET Framework 4.5 redistributable.". Can I work around this error?

  • Anonymous
    August 12, 2012
    Hi Fduch - Windows 8 includes the .NET Framework 4.5 as a part of the OS, and it cannot be removed or installed separately from Windows.  In pre-release versions of Windows 8, there is a pre-release version of the .NET Framework 4.5 as well.  If you need to install the RTM version of the .NET Framework 4.5, you will need to install the RTM version of Windows 8.

  • Anonymous
    October 12, 2012
    When i setup Visual Studio 2012, it notification so! Microsoft .NET Framework 4.5 is already a part of this operating system.  You do not need to install the .NET Framework 4.5 redistributable

  • Anonymous
    October 13, 2012
    Hi Steve Gate - That is correct - if you install VS 2012 on Windows 8, it will skip the .NET Framework 4.5 because the .NET Framework 4.5 is included as a part of the OS on Windows 8.  Are you able to successfully install VS 2012, or are you getting setup errors?

  • Anonymous
    November 02, 2012
    Hi Aaron, I'm also facing same problem while installing VS2012. I'm getting an notification like ... Microsoft .NET Framework 4.5 is already a part of this operating system.  You do not need to install the .NET Framework 4.5 redistributable. I'm unable to install VS2012. Could you please help me

  • Anonymous
    November 03, 2012
    Hi Bkd - The .NET Framework 4.5 is a part of Windows 8, so Visual Studio 2012 setup will skip trying to install it.  That shouldn't cause VS 2012 setup to fail though.  What exact error are you seeing when you try to install VS 2012?  Also, 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://skydrive.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
    November 22, 2012
    am trying to install VS2012 but i got this error "The .Net Framework installed on this machine does not meet the minimum required version: 4.5.50709." then i tried installing .NETFramework 4.5 but i couldnt install cos is already a part of window 8. so what is the way out please?

  • Anonymous
    November 22, 2012
    Microsoft .NET Framework 4.5 is already a part of this operating system.  You do not need to install the .NET Framework 4.5 redistributable.

  • Anonymous
    November 23, 2012
    Hi Sam - Windows 8 includes the .NET Framework 4.5 as a part of the OS, and it cannot be removed or installed separately from Windows. Version 4.5.50709 is the RTM version of the .NET Framework 4.5, and if Visual Studio 2012 setup doesn't detect that it is installed, then it most likely means you have a pre-release version of Windows 8 (which includes a pre-release version of the .NET Framework 4.5).  You can only install Visual Studio 2012 RTM on the RTM version of Windows 8.

  • Anonymous
    January 24, 2013
    The comment has been removed

  • Anonymous
    January 25, 2013
    The comment has been removed

  • Anonymous
    January 27, 2013
    Hi Mkean21 - The people I talked to suggested that you talk to your account manager to get an official statement about the extended support lifecycle for Windows Server 2003 and the version of the .NET Framework that ships in it.

  • Anonymous
    February 17, 2013
    i have installed VB 2008 but .net framework is not downloading

  • Anonymous
    February 17, 2013
    Hi MOhit - 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://skydrive.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
    February 18, 2013
    Hello, After using the tool clenaup, could not reinstall any version of dotnet, displays the following message: Event Type: Information Event Source: MsiInstaller Event Category: None Event ID: 1040 Date: 2/18/2013 Time: 4:44:05 PM Description: The description for Event ID ( 1040 ) in Source ( MsiInstaller ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: c:90bd99a74c2ce9b42cwcudotnetframeworkdotnetfx20netfx20a_x64.msi, 7868, (NULL), (NULL), (NULL), , . Anyone experienced this?

  • Anonymous
    February 18, 2013
    Hi Felipe Goes - 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://skydrive.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
    February 19, 2013
    Aaron, thx for your replay... I will provide :)

  • Anonymous
    May 08, 2013
    i installed vs 2012 and when i want to run it, i got this error:    could not load file or assembly presentationframework version=4.0.0.0,    Culture=neutral, PublicKeyToken=31bf3856ad364e35 or one of its dependencies.    The system cannot find the file specified. also when i installed vs 2010 i got this error. i have windows 8 32 bit. please help me. thank you very much

  • Anonymous
    May 08, 2013
    Hi vahid - That assembly should have been installed as a part of Windows 8 because Windows 8 includes the .NET Framework 4.5 as a part of the OS.  You might want to try to repair the .NET Framework by doing the following:

  1.  Try to run the System Update Readiness Tool from support.microsoft.com/.../947821.
  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. If none of the above help, then I'd suggest posting a question on the Visual Studio setup forum at social.msdn.microsoft.com/.../threads to see if someone there has any additional suggestions for you to try.
  • Anonymous
    May 08, 2013
    Thank you Aaron Stebner

  • Anonymous
    July 25, 2013
    Thank you so much Sir Aaron Stebner!!

  • Anonymous
    August 21, 2013
    The comment has been removed

  • Anonymous
    August 21, 2013
    I am also using windows 7 enterprise as it is part of the school system.

  • Anonymous
    August 21, 2013
    Hi Ronnoc - What version of the .NET Framework do you need to restore on your Windows 7 computer?  If it is the .NET Framework 4.5, 4, 1.1 or 1.0, then I'd suggest using the instructions and the download links at blogs.msdn.com/.../8108332.aspx to remove and re-install the .NET Framework. If it is the .NET Framework 2.0, 3.0 or 3.5, those are installed as a part of the OS on Windows 7.  You can use steps like the ones at blogs.msdn.com/.../how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx to repair versions of the .NET Framework that are installed as a part of the OS.

  • Anonymous
    September 15, 2013
    Seems to be a bug in the latest version Dot Net 1.1 is not detected as installed on 64bit operating systems (XP64 - Win8 64) when it ever so clearly is.

  • Anonymous
    September 16, 2013
    Hi Danial - This seems to be working for me on the 64-bit machines that I've tried so far.  Can you please provide a log file from the tool when you ran it in this scenario so I can take a closer look?

  • Anonymous
    October 18, 2013
    Hi Aaron! Does the cleanup tool support .NET Framework 4.5.1 ? Regards Frank

  • Anonymous
    October 18, 2013
    Hi Frank - The tool does not have a separate entry for the .NET Framework 4.5.1, but since it is a service pack-level update to the .NET Framework 4.5, you can choose the .NET Framework 4.5 entry and it will cleanup either the .NET Framework 4.5 or the .NET Framework 4.5.1 depending on what you have installed.

  • Anonymous
    October 18, 2013
    Hi Frank - I looked at the cleanup tool source code a bit closer and realized I will have to make a small update to allow it to fully remove the .NET Framework 4.5.1.  I'll be publishing an updated version of the cleanup tool later today with this update.

  • Anonymous
    October 28, 2013
    hi i am not able to install kaspersky internet security on my lappy. "windows 8" it says "an error ocured while intereactin wit microsoft.net framework.4.5,you are advised to reinstall the microsoft.net framework 4.5 what to do i am not able to reinstall the frmework

  • Anonymous
    October 28, 2013
    Hi mukesh - The .NET Framework 4.5 is installed as a part of the OS on Windows 8.  I'm not sure what Kaspersky setup does that would trigger that type of error, so you might need to contact their technical support team to see if they can give you more information about what exactly their setup is detecting that is wrong. In the meantime, you can try the following options to see if they help you repair the .NET Framework 4.5 on Windows 8:

  1.  Try to run the System Update Readiness Tool from support.microsoft.com/.../947821.
  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. 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.
  • Anonymous
    December 13, 2013
    when im try to install the office 2010 error 1935 pop up, unable to find  solution on this, kindly help as im using windows 8

  • Anonymous
    December 16, 2013
    Hi aaqil - There are several possible causes of 1935 errors, so I'll need some more information from you in order to be able to diagnose the cause.  Can you copy and paste the full text of the error message for me to look at?  Also, can you try to find the Office setup log files, then zip them, upload them to a file server such as http://skydrive.live.com, and then reply back here with a link I can use to download the log files and take a closer look? You can find information about the names and locations of Office 2010 setup log files in the knowledge base article at support.microsoft.com/.../826511.

  • Anonymous
    January 14, 2014
    The comment has been removed

  • Anonymous
    January 15, 2014
    Hi Janica - Does the installer give any more specific error information in this scenario? You're correct that the .NET Framework 4.5 is installed as a part of the OS on Windows 8 and it can't be re-installed separately like it can on Windows 7.  Here are some steps that I typically recommend to try to repair versions of the .NET Framework that are installed as a part of the OS:

  1.  Install the latest Windows service pack if you haven't yet. Windows 8 doesn't have any service packs, but you might have luck installing Windows 8.1.
  2.  Try to run the System Update Readiness Tool from support.microsoft.com/.../947821.
  3.  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. I'd also suggest contacting Kaspersky to see if they have any known issues or patches related to issues installing on Windows 8.
  • Anonymous
    February 23, 2014
    Hi! I can't install Kaspersky Internet Security 2014 on my laptop that has Windows 7 Home Premium as its OS; it notifies that something is wrong with my Microsoft .NET Framework 4.5 and I need to re-install it but I've re-installed it atleast 5 times and rebooted my laptop too, but to no avail. So, what should I do?

  • Anonymous
    February 23, 2014
    Hi Calvin - I'd suggest using the steps and tools described at blogs.msdn.com/.../8108332.aspx to fully remove the .NET Framework from your computer and then try to install the .NET Framework 4.5.1 from www.microsoft.com/.../details.aspx.  If the .NET Framework 4.5.1 installs correctly but you still can't install Kaspersky Internet Security, then I'd suggest contacting their technical support team to see if they have any troubleshooting suggestions or patches for you to try.

  • Anonymous
    February 24, 2014
    Well, when I contacted their tech support team, they blamed it on Microsoft and asked me to contact them. When I contacted Microsoft, they told me to contact some IT Technician. When I contacted the IT Technician, he said he doesn't know much about it and suggested the Internet. When I searched the Internet, I found this blog. And, the wheel keeps rolling. Anyway, I will contact Microsoft once more and then another IT Technician. Thanks for your help though, appreciate it. :)

  • Anonymous
    February 24, 2014
    Hi Calvin - Were you able to successfully install the .NET Framework 4.5.1 on this computer?  If so, did the Kaspersky technical support team give you any specific reasons why they thought it was a Microsoft / .NET Framework problem as opposed to a problem in their app?  For example, are there any specific errors in their setup log files or something like that? Also, when you contacted Microsoft, why did they tell you to contact an IT technician?  What do they expect the IT technician to be able to do to resolve this issue?  If you have a case number, please send it to me with the email link on my blog (blogs.msdn.com/.../contact.aspx) and I'll try to follow up with the support team to see if they have any more data and see if there is anything I can help with there.

  • Anonymous
    February 24, 2014
    blogs.msdn.com/.../8108332.aspx Thanks a lot for this link! After roughly 5 hours of struggling, the Repair tool helped me. HALLELUJAH! NOTE: I've checked Kaspersky Internet Security 2014 on my PC (Windows 7 Home Basic) and it works with the Repair tool which you can get at the above mentioned link. :D :D :D

  • Anonymous
    April 05, 2014
    I used the tool it deleted kaspersky internet security

  • Anonymous
    April 07, 2014
    Hi Theo - The .NET Framework cleanup tool only knows how to remove files, registry keys and MSI products that are a part of the .NET Framework.  It does not uninstall any other products. It is possible that Kaspersky Internet Security requires the .NET Framework and it doesn't work correctly after you use the tool to remove the .NET Framework.  If that is the case, you'll need to re-install the version of the .NET Framework that it needs in order to allow it to work again.

  • Anonymous
    September 28, 2014
    I need the MSVCR71.dll file and people say that i can install frame network 1.1 that is than fixed. but now it says itsnot compatible. is there a simple way to get the MSVCR71.dll for windows 8.1 whit out spending money ???

  • Anonymous
    September 28, 2014
    Hi Jelmer - The .NET Framework 1.1 will show a compatibility warning, but it should still allow you to install on Windows 8.1.  Alternatively, you could use steps 1 and 2 from the blog post at blogs.msdn.com/.../385971.aspx to extract the contents of the .NET Framework 1.1 installer without actually installing it.

  • Anonymous
    November 17, 2014
    Hi Aaron, .NET 2005 is worked on Window 2008 /windows 2012? and What is the latest version of .NET 2005? Thank You For Your Reply ! !

  • Anonymous
    November 18, 2014
    Hi Saikat Das - I'm not sure exactly what you're asking here.  When you say ".NET 2005" - do you mean Visual Studio 2005, or do you mean a version of the .NET Framework? If you're looking for Visual Studio information, the data at en.wikipedia.org/.../Microsoft_Visual_Studio will hopefully help answer your question. If you're looking for .NET Framework information, the data at msdn.microsoft.com/.../bb822049(v=vs.110).aspx will hopefully help answer your question.

  • Anonymous
    November 18, 2014
    Hi Aaron Stebner,   I am asking about Visual Studio 2005. Is Visual Studio 2005 is working on the Windows 2008/2012? Thank You ! !

  • Anonymous
    November 19, 2014
    Hi Saikat Das - Yes, Visual Studio 2005 will work on those versions of Windows.  Please let me know if you end up trying it and run into installation issues.

  • Anonymous
    November 22, 2014
    Hi! I'm running Win8.1 with .NET Framework 4.5 Multi-Targeting Pack, .NET Framework 4.5 SDK, ,NET Framework 4.5.1 Multi-Targeting Pack, .NET Framework 4.5.1 Multi-Targeting Pack (ENU), .NET Framework 4.5.1 SDK. I'm trying to install .NET 1.1 but to NO AVAIL, even tried dozens of time with "Creating an administrative install point for the .NET Framework, a service pack and a hotfix" with no AVAIL. Every time I get windows installer error: This installation package could not be opened. Verify that the package exists and that you can access it or contact the application vendor to verify that this is a valid Windows Installer package. Any hints? I truly need to install .NET 1.1 so I can run a program that can only use 1.1, otherwise the software does not save information when the program is closed. Thanks in advance!

  • Anonymous
    November 22, 2014
    Hi Vesp - I'd suggest trying the tools and steps listed at blogs.msdn.com/.../8108332.aspx to see if they help in this scenario. If those steps don't help, please use the steps at blogs.msdn.com/.../help-me-help-you-if-you-have-setup-bugs.aspx to collect a verbose log file from the .NET Framework 1.1 installer, zip and upload the log file to a file server (such as http://onedrive.live.com), reply back here and post a link that I can use to download the log file and take a closer look.

  • Anonymous
    August 02, 2015
    hello, i recently reset my windows 8 system, and i get an unhandled .net framework error when i try to open sql server management studio, when i try to install VS 2012 i get "an unhandled win32 exception error. please how do i resolve these? thank you

  • Anonymous
    August 03, 2015
    Hi Emmanuel - I'd suggest trying to install the latest version of the .NET Framework 4 family to see if that helps resolve these errors.  The latest version is the .NET Framework 4.6, and you can download it from www.microsoft.com/.../details.aspx.

  • Anonymous
    November 06, 2015
    I need to install the borland 2006 on my computer, but i need to install the framework 1.1 and i am using the w8 soo u guys can see the picture right :

  • Anonymous
    November 06, 2015
    Hi celiojedi - The official guidance from msdn.microsoft.com/.../hh925570(v=vs.110).aspx is that the .NET Framework 1.1 cannot be installed on Windows 8 or later, and you will need to work with the manufacturer of the application to see if they have an updated version that will work with the .NET Framework 3.5 instead.

  • Anonymous
    June 23, 2016
    Can't find how to uninstall 4.6.1 in a Windows Server 2012

  • Anonymous
    January 30, 2017
    help

    • Anonymous
      January 30, 2017
      Hi angel - Can you be more specific about what kind of help you need?
      • Anonymous
        July 27, 2017
        hi sir my os is windows 8.1 ,i have to install .net framework 4.0 but it shows you have already installed in your os so what can i do to install .net framework 4
        • Anonymous
          July 31, 2017
          The comment has been removed