Freigeben über


Silent install, repair and uninstall command lines for the .NET Framework 4

I have previously posted command lines that can be used to install, repair and uninstall the versions of the .NET Framework in silent mode and unattended mode.  Now that the .NET Framework 4 has shipped, I wanted to post an equivalent set of steps to install, repair and uninstall the .NET Framework 4 Client Profile and Full.

The .NET Framework 4 uses a different setup chainer than in previous versions of the .NET Framework.  As a result, the command lines are somewhat different than in previous releases.  There are also a few differences in how the repair and uninstall processes work that I wanted to call out specifically:

  • There are different repair and uninstall command lines for 32-bit and 64-bit versions of the .NET Framework 4
  • The .NET Framework 4 includes both a client profile and a full version.  Uninstalling the full version requires 2 steps – one to uninstall the extended component and another to uninstall the client profile.

.NET Framework 4 product family

.NET Framework 4 Client Profile (32-bit) – silent repair

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

.NET Framework 4 Client Profile (32-bit) – unattended repair

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /passive /norestart

.NET Framework 4 Client Profile (32-bit) – silent uninstall

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /q /norestart

.NET Framework 4 Client Profile (32-bit) – unattended uninstall

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /passive /norestart

.NET Framework 4 Client Profile (64-bit) – silent repair

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

.NET Framework 4 Client Profile (64-bit) – unattended repair

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /passive /norestart

.NET Framework 4 Client Profile (64-bit) – silent uninstall

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /q /norestart

.NET Framework 4 Client Profile (64-bit) – unattended uninstall

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /passive /norestart

.NET Framework 4 Full (32-bit) – silent repair

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

.NET Framework 4 Full (32-bit) – unattended repair

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /passive /norestart

.NET Framework 4 Full (32-bit) – silent uninstall

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Extended\setup.exe /uninstall /x86 /x64 /ia64 /parameterfolder Extended /q /norestart

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /q /norestart

.NET Framework 4 Full (32-bit) – unattended uninstall

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Extended\setup.exe /uninstall /x86 /x64 /ia64 /parameterfolder Extended /passive /norestart

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /passive /norestart

.NET Framework 4 Full (64-bit) – silent repair

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

.NET Framework 4 Full (64-bit) – unattended repair

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /passive /norestart

.NET Framework 4 Full (64-bit) – silent uninstall

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Extended\setup.exe /uninstall /x86 /x64 /ia64 /parameterfolder Extended /q /norestart

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /q

.NET Framework 4 Full (64-bit) – unattended uninstall

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Extended\setup.exe /uninstall /x86 /x64 /ia64 /parameterfolder Extended /passive /norestart

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /passive /norestart 

<update date="6/1/2010"> Fixed incorrect command lines for uninstall of the .NET Framework 4 extended. </update>

Comments

  • Anonymous
    May 31, 2010
    The comment has been removed

  • Anonymous
    June 01, 2010
    Hi Dennis Bakker - Thanks for the heads up.  I've fixed the command lines in this blog post and in the one at blogs.msdn.com/.../9553804.aspx.

  • Anonymous
    June 08, 2010
    I see all the repair & uninstall links, but no links for silent install.  I followed the link to the deployment guide, but don't see them there either.

  • Anonymous
    June 08, 2010
    The comment has been removed

  • Anonymous
    June 24, 2010
    Hi Aaron, Could you please clarify the difference between error codes 1614 and 3010? In “.NET Framework Deployment Guide for Administrators” they both are described as “A restart is required to complete the installation. This message indicates success”. Thanks in advance

  • Anonymous
    July 02, 2010
    Hi Pronichkin - It looks like there is a typo in that user's guide.  I think it should list error code 1641 instead of 1614.  That is one of the standard Windows Installer error codes listed at msdn.microsoft.com/.../aa368542.aspx.  I've never actually encountered a 1641 error code before - I always see 3010.  I think the difference is that with 1641, Windows Installer will initiate a reboot for you automatically (unless you use the norestart switch), whereas with 3010, Windows Installer is telling you that a reboot is needed but will not initiate one automatically.  I think you should plan on using the norestart switch in your deployment scenarios, and if you do that, you shouldn't need to handle 1641 any differently than 3010.

  • Anonymous
    July 02, 2010
    Hi Pronichkin - It looks like there is a typo in that user's guide.  I think it should list error code 1641 instead of 1614.  That is one of the standard Windows Installer error codes listed at msdn.microsoft.com/.../aa368542.aspx.  I've never actually encountered a 1641 error code before - I always see 3010.  I think the difference is that with 1641, Windows Installer will initiate a reboot for you automatically (unless you use the norestart switch), whereas with 3010, Windows Installer is telling you that a reboot is needed but will not initiate one automatically.  I think you should plan on using the norestart switch in your deployment scenarios, and if you do that, you shouldn't need to handle 1641 any differently than 3010.

  • Anonymous
    August 01, 2010
    I have a Toshiba Satellite L505 lap top and I keep getting an error message saying that I need to install .Net Framework version v4.0.30319 Can anyone help me with this. I have no clue. Thanks

  • Anonymous
    August 01, 2010
    Hi Dennis - You should be able to download and install the .NET Framework 4 from www.microsoft.com/.../details.aspx to solve this type of error.

  • Anonymous
    August 02, 2010
    my SONY VAIO was upgraded to Windows 7 and we added Norton 360. Now it won't access the internet, giving me a message that NET Framework version 4 needs to be repaired. As a novice, I have no clue how to repair, and I begin classes in two weeks. Any advice would be much appreciated. Thanks, and more thanks in advance.

  • Anonymous
    August 03, 2010
    Hi JapaneseOma - You can repair the .NET Framework 4 by using the entries that it creates in the Programs and Features control panel on your computer.  They will be named "Microsoft .NET Framework 4 Extended" and "Microsoft .NET Framework 4 Client Profile".  Hopefully this will help in your scenario.

  • Anonymous
    August 29, 2010
    Hi Astebner-Thank you for the link to fix this .Net Framework error message. When I go to the link, I see I am installing .Net Framework 4. Is this the same as v4.0.30319? I am confused because the download does not mention this version at all. The error message says that I need to install .Net Framework version v4.0.30319. If I download the .Net Framework 4 will this do the trick? Thanks, Dennis

  • Anonymous
    August 29, 2010
    Hi Dennis - The final build number for the .NET Framework 4 is 4.0.30319, so yes, the .NET Framework 4 is what you want if you are seeing an error message from a program that says it needs v4.0.30319.  Let me know if you have any trouble getting it to install on your system.

  • Anonymous
    August 30, 2010
    Hi Astebner-This version 4.0.30319 is already installed on my system but the error keeps appearing. What do you suggest I do about fixing this problem? Thanks.

  • Anonymous
    August 30, 2010
    The comment has been removed

  • Anonymous
    August 30, 2010
    The comment has been removed

  • Anonymous
    August 30, 2010
    Hi Dennis - That warning appears because uninstalling the .NET Framework 4 will prevent applications that were written to use the .NET Framework 4 to fail to work.  However, in your case, you're planning to re-install afterwards, so you can safely ignore that warning.

  • Anonymous
    August 30, 2010
    The comment has been removed

  • Anonymous
    August 30, 2010
    The comment has been removed

  • Anonymous
    August 30, 2010
    Hi Dennis - Are you getting this error from a specific program on your computer?  Does it work for a half hour or so and then stops working?  If so, is it possible that there's some kind of process running on your system that is modifying files or registry that is created by the .NET Framework 4 setup?  Can you try to run the .NET Framework verification tool from blogs.msdn.com/.../8999004.aspx and verify the .NET Framework 4 to see if it reports any errors?

  • Anonymous
    August 30, 2010
    Hi Astebner-No, I am not getting this error from anything specific. It is completely random and does not effect the performance of the computer at all. The only thing I am noticing is that the error message keeps appearing several times a day in the middle of the screen and I need to delete it. As you suggested I ran the verification tool and it failed. It says: Product verification failed. See log for details. I tried to read the log but it was very difficult to understand. Any suggestions? Thanks.

  • Anonymous
    August 30, 2010
    Hi Dennis - This error comes from a program that is trying to use the .NET Framework.  If you don't know which program it is, then it might be something like a service that is running in the background or something like that. Can you please zip and upload your verification log files named %temp%setupverifier*.txt to a file server (such as http://skydrive.live.com) and then reply here with a link I can use to download the logs and take a further look?

  • Anonymous
    August 30, 2010
    Hi Astebner-I went through the verification log files but found nothing that said %temp%setupverifyier*.txt. Am I looking in the wrong place? The log is very long. Maybe you could walk me through this to make sure that we are on the same page. Are you asking me to upload all of the log to the file server? The entire log? I am not sure at this point if I understand completely what you need. Sorry.

  • Anonymous
    August 30, 2010
    Hi Dennis - You've got a typo in the log names - they should be located in your %temp% directory and be named setupverifier*.txt (you've got a "y" in your name).  The exact names of the log files are listed in the verification tool user's guide at blogs.msdn.com/.../8999004.aspx.  Can you please check again and see if you can find these log files?

  • Anonymous
    August 31, 2010
    Hi Astebner - I found the log files without any problem but I am not able to send them to you. If you could please supply me with directions about how to send them. I know that I need to send you a link and I tried for a couple of hours last night to do that but I was unable to figure it out.

  • Anonymous
    August 31, 2010
    Hi Dennis - What I would do is zip the log files into a single file, then create an account on http://skydrive.live.com, upload the zip file there, then share out the file for the public (instead of friends only), then send me a link to your Skydrive page. If you have trouble getting those steps to work, you can contact me via blogs.msdn.com/.../contact.aspx and after I reply, you can attach the files to an email instead.

  • Anonymous
    August 31, 2010
    Hi Astebner-Here is the link to my skydrive account. I hope it works. If it does not, then I will send it in an email to the blog account. cid-bb62435309d25b93.office.live.com/.../.Documents

  • Anonymous
    August 31, 2010
    Hi Dennis - I was able to download your logs, and they don't show any missing files or registry keys, but they do show a problem running a small .NET Framework test application.  That is likely failing with a similar error to the one you're seeing pop up on your computer periodically.  I normally suggest that users repair or uninstall + re-install the .NET Framework to solve this type of problem, but in your case, that hasn't helped. I do see one potential problem - the version number of mscoree.dll in your log file is still the old 2.0 version instead of the new 4.0 version.  Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to gather all of your .NET Framework setup log files, then upload the file %temp%vslogs.cab that this tool creates to your Skydrive page so I can take a look at that as well?

  • Anonymous
    August 31, 2010
    Hi Astebner - I was able to find the vslogs.cab file but have no idea how to get it over to you. Please advise. Thanks.

  • Anonymous
    August 31, 2010
    Hi Dennis - Can you please post %temp%vslogs.cab to your Skydrive location just like the previous log file you uploaded?

  • Anonymous
    August 31, 2010
    Hi Astebner - I have been trying to post the files to my Skydrive location like I did before but I am unable to do it succesfully. Can you please advise me? Thanks.

  • Anonymous
    August 31, 2010
    Hi Dennis - I don't know why you aren't able to upload the file when you were able to upload other files previously.  Does Skydrive give you any error messages?  How big is your vslogs.cab file?  I think there is a 50 megabyte limit per file on Skydrive so you may need to try to use a different file sharing web site instead or unzip the cab file and remove some of the log files not related to the .NET Framework to make it smaller or something like that.

  • Anonymous
    September 01, 2010
    Hi Astebner - I am noticing that when the .Net Framework error message appears, everything freezes and I need to delete the message in order to proceed. The vslogs.cab file is very big and there is a limit per file so I am unable to share the entire file to Skydrive. Can you recommend another file sharing web site that will allow larger files? I do not know which log files to remove. I am new to this and sort of flying blind. Thanks.

  • Anonymous
    September 01, 2010
    Hi Dennis - Instead of trying to fix the vslogs.cab to make it smaller, I'm going to have you try to create a separate zip file with just the .NET Framework 4 setup log files.  Can you please try the following and see if it works for you:

  1.  Click on the Windows start menu, choose Run, type %temp% and click OK
  2.  Look for files that have names beginning with "Microsoft .NET Framework 4"
  3.  Hold down the Ctrl key on your keyboard and select each of the files with this type of name
  4.  Right-click and choose Send To, then Compressed (zipped) Folder
  5.  This should create a .zip file with each of the .NET Framework 4 setup log files - take that .zip file and upload it to Skydrive Hopefully this will work.
  • Anonymous
    September 01, 2010
    Thanks for the detailed directions. They helped a lot. You can go to my Skydrive account and find the zip file. I hope it works.

  • Anonymous
    September 02, 2010
    The comment has been removed

  • Anonymous
    September 02, 2010
    Hi Astebner - I have looked through all the files and I do not see any that start with the name dd_install. There are some that start with dd_(and something else) but none with dd_install. Thank you for your efforts. I am encouraged that you did find what could cause the error message and look forward to hearing back again when you find help in figuring out how to resolve the issue. Thanks.

  • Anonymous
    September 03, 2010
    I know you are interested in MCE2005. It is worth noting that .Net Framework 4 breaks MCE 2005. The symptoms are that the guide downloads to 25% and then stops. If you try deleting the epg folder and starting again, it offers the selection of transmitters, which when selected, it then locks up. Uninstalling Framework 4 fixes the problem.

  • Anonymous
    September 03, 2010
    Hi Eric - I heard about a couple of issues during the .NET Framework 4 beta, but I haven't heard of any reports of problems with Media Center 2005 and the final release of the .NET Framework 4 until now.  If you have a chance, I'd suggest posting a bug on the Connect site at connect.microsoft.com/visualstudio so the .NET Framework team can investigate further in the future.

  • Anonymous
    September 03, 2010
    Hi Dennis - Which files do you have on your computer that begin with dd_?

  • Anonymous
    September 03, 2010
    Thanks Aaron. I've done that, but I think I'll just not install it for the moment. At some point in the near future, I'll upgrade to Windows 7, but my MCE2005 has been so good, I'm happy just chuntering along with it for the moment :-)

  • Anonymous
    September 06, 2010
    Hi Astebner - Here is the list of files that begin with dd_. dd_ATL80SP1 dd_Bits dd_dotNetFx40 dd_TMP1DCE.tmp_Compression_Log dd_VCREDISTUI1501 dd_VCREDISTMSI1501 dd_wcf_CA_SMCi_ dd_SETUPUTILITY Thanks, Dennis

  • Anonymous
    September 06, 2010
    Hi Dennis - If possible, could you please zip and upload all of these files to your Skydrive site as well so I can take a quick look?

  • Anonymous
    September 06, 2010
    Hi Dennis - There are a couple of other things I'd like to ask for here as well:

  1.  Can you please go to c:windowslogscbs and make a copy of the file cbs.log, then paste it to your desktop.  After that, right-click on the file and choose Send To, Compressed (zipped) file, and create a zip file for it and upload that to your Skydrive site.
  2.  Can you please make a zip file for c:windowswindowsupdate.log and upload that as well?
  3.  Can you please go to c:windowssystem32, find the file named kernel32.dll, right-click on it, choose Properties, then click Details and let me know what the full file version is for that file?
  • Anonymous
    September 11, 2010
    Hi Astebner - I am sorry I have not been back to you sooner. I have just uploaded the files you requested to my Skydrive site. These are the ones you asked for 6 Sep 2010 4:19 PM. I will now attempt to work on the list of the three items you requested 6 Sep 2010 5:04 PM. Thanks.

  • Anonymous
    September 11, 2010
    Hi Astebner - I have uploaded the zip files to my Skydrive site as you requested in the first two items on the above list. As for number three, the file version is 6.1.7600.16385 Thanks

  • Anonymous
    September 12, 2010
    Hi Dennis - I got the WindowsUpdate.log, but the CBS.log isn't the actual log, it is just a shortcut.  Can you please make sure that you copy the full log to your desktop before you zip it? Also, can you please go to c:windowssystem32, find the file named kernel32.dll, right-click on it, choose Properties, then click Details and let me know what the full file version is for that file on your computer?

  • Anonymous
    September 12, 2010
    Hi Astebner - I have returned to find the full file version under details and the file version is as I submitted above: 6.1.7600.16385. Please tell me if I am doing it wrong. Under details it says: "file version 6.1.7600.16385". I will go back and try to have the full log: CBS.log at my Skydrive site ASAP.

  • Anonymous
    September 12, 2010
    Hi Astebner - I have placed the full CBS.log at the Skydrive site.

  • Anonymous
    September 13, 2010
    Hi Dennis - Thanks for posting the logs.  The version number for kernel32.dll looks correct to me.  It looks like your computer is having trouble installing all OS updates that have been attempted over the past few months.  Your last attempt to install the .NET Framework 4 happened before the last entries in your CBS and WindowsUpdate log files though, so there isn't any error information related to the .NET Framework in those logs.  Would it be possible for you to try to uninstall + re-install the .NET Framework 4 one more time and then post updated versions of your CBS.log and WindowsUpdate.log to your SkyDrive site for us to look at?

  • Anonymous
    September 13, 2010
    Hi Astebner - I have just now finished uninstalling and re-installing the .Net Framework 4 on my computer. Shortly after that I noticed a window open up that I have seen occasionally. It reads: "MONITOR OF TOSHIBA REALTIME HAS STOPPED WORKING. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available". It has appeared many times before together with the error notice for the .Net Framework. I will now go ahead and post the updated logs to my skydrive site and will let you know when I have that done. Thanks.

  • Anonymous
    September 15, 2010
    Hi Astebner - I have the CBS file on my desk top but when I try to zip it, I get a message "file not found or no read permission". Any advice?

  • Anonymous
    September 15, 2010
    Hi Dennis - Are you sure you copied the file to your desktop and not a shortcut?  How did you zip and post that file last time? Also, if you can't get that one to work, can you please post the updated WindowsUpdate.log anyways?  I think the most useful information to try to narrow this down will be in that file, and I was just asking for cbs.log as well just in case.

  • Anonymous
    September 17, 2010
    Hi Astebner - The WindowsUpdate zip is now in my Skydrive under log files. I hope you can find it. If not, let me know and I will try again. Thanks

  • Anonymous
    September 17, 2010
    Hi Astebner - I tried to copy the cbs.log again but was told is was "empty". Maybe I have deleted the file. Not sure what happened. Can you advise me how to fix this? Thanks.

  • Anonymous
    September 20, 2010
    Hi Dennis - I was able to download your WindowsUpdate log and I'm working with the .NET Framework setup team to see if there is anything they can figure out from that.  Would it be possible for you to contact me by using the email form at blogs.msdn.com/.../contact.aspx so I can ask you a couple of follow up questions?

  • Anonymous
    September 20, 2010
    Hi Astebner - I sent a message using your email form. Thanks.

  • Anonymous
    February 16, 2011
    Tks for the post!! iis are the best.. i was can uninstall NetFramework 4 now ^^ rly tks :D

  • Anonymous
    February 21, 2011
    The comment has been removed

  • Anonymous
    February 24, 2011
    Hi Digo - I'm not sure if these problems could be caused by the .NET Framework or not.  The application errors are possible, but I don't recall seeing the .NET Framework cause OS blue screens in the past.  Typically, that type of crash is caused by driver problems. I'd suggest using steps like the ones listed at blogs.msdn.com/.../how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx to repair the versions of the .NET Framework that come with your OS (Windows 7 comes with the .NET Framework 2.0 SP2, 3.0 SP2 and 3.5 SP1).  It might also help to install the .NET Framework 4 from www.microsoft.com/.../details.aspx. I'd also suggest checking on the web site for the manufacturer of your sound card to see if they have any updated drivers for Windows 7 that you can try installing to fix the audio issue.  Windows 7 shipped in the fall of 2009, so if you have a driver from 2008, it would have been created before Windows 7 shipped.

  • Anonymous
    February 24, 2011
    The comment has been removed

  • Anonymous
    February 24, 2011
    Hi Digo - There is a knowledge base article at support.microsoft.com/.../928228 that explains how to analyze the log files created by SFC and try to fix this type of issue.  Hopefully this will help in your scenario.

  • Anonymous
    February 28, 2011
    Hi Aaron. I have exactly the same problem as Dennis here above. I tried many fixes (uninstalling/reinstalling, repair...) but to no avail. In the log i'm told the mscoree dll could not be loaded and it is the version 2. So i'd be very interested to know whether you managed to fix this problem and how you managed to fix it. Thanks a lot.

  • Anonymous
    March 01, 2011
    Hi Laurence - It sounds like you're running into the issue that I described at blogs.msdn.com/.../10110053.aspx.  I don't have a lot of good answers about how to solve this type of issue though.  There is a tool linked at the end of that blog post that might help.  It might also help to try to install (or re-install) the latest OS service pack on your computer. If neither of those help, then I typically suggest contacting Microsoft technical support for more in-depth troubleshooting assistance using contact information at http://support.microsoft.com.  Alternatively, you can try to repair/re-install Windows.

  • Anonymous
    March 02, 2011
    Thanks Aaron. I'll look at those blogs. Thanks for your help.

  • Anonymous
    April 12, 2011
    Hi Aaron I tried applying graphics through skin using the way presented in this site msdn.microsoft.com/.../ykzx33wh.aspx I worked with asp .net 3.5 but with 4.0 I didn't work. When I viewed the page source I get <img id="image" src="App_Themes/test/Contoso.gif" style="border-width:0px;" /> for asp.net 3.5 and i get <img id="MainContent_Image1" ImagerUrl="~/images/Contoso.gif" src="" /> for asp.net 4.0 It seems asp.net 4.0 doesn't replace ImageUrl attribute with src when rendering My question is: do I have problem with asp.net 4.0 that I need to repair/reinstall or is it something else?

  • Anonymous
    April 12, 2011
    Hi Jassim - I don't have enough expertise with ASP.NET to know for sure what is going on in this scenario.  I'd suggest posting a question on the forums at http://forums.asp.net to see if someone there can provide some suggestions for this scenario.

  • Anonymous
    April 13, 2011
    Thanks Aaron ;)

  • Anonymous
    May 04, 2011
    is there a way to install netframework 4 using a swtich to have it pass the admin credentials?

  • Anonymous
    May 05, 2011
    Hi Dave - There is not anything built into the .NET Framework installer for this type of thing.  It is the responsibility of the calling process to provide the credentials that you want to install the product with.

  • Anonymous
    May 27, 2011
    Hi Aron i have a problem whit netframework4.I have it installed but it say that i need to install it.I have tryed re-install,uninstall...But i have problem whit verification.So what shall i do?

  • Anonymous
    May 28, 2011
    The comment has been removed

  • Anonymous
    May 28, 2011
    Hi Ganton - If you haven't yet, I'd suggest using the cleanup tool and the steps described at blogs.msdn.com/.../8108332.aspx to fully remove the .NET Framework 4 and then try to re-install it and see if that helps in this scenario.

  • Anonymous
    May 28, 2011
    Hi Kate - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your .NET Framework 4 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 post a link that I can use to download your log files and take a closer look?

  • Anonymous
    May 28, 2011
    Aaron i have tryed it adn it isnt working.I got missing this files missing: WindowsMicrosoft.NETFrameworknetfxsbs12.hkf WindowsMicrosoft.NETFrameworksbscmp20_mscorlib.dll WindowsMicrosoft.NETFrameworkv4.0.30319WPFwpftxt_v0400.dll WindowsMicrosoft.NETFramework64v4.0.30319WPFWPFFontCache_v0400.exe WindowsMicrosoft.NETFramework64v4.0.30319WPFwpftxt_v0400.dll

  • Anonymous
    May 29, 2011
    Hi Ganton - Are these files being reported as missing by the .NET Framework verification tool?  If so, those should be listed as warnings and not errors, and it should be safe to ignore any reports about those files being missing from your computer.  Do you still see errors related to the .NET Framework 4 after uninstalling it and re-installing it on your computer?  If so, what are the exact errors?

  • Anonymous
    May 29, 2011
    Hi Aaron, thanks for being so helpful, but i've managed to fix the problem - Windows hadn't been installing the right updates.

  • Anonymous
    May 30, 2011
    Yes i got those files as waring.And i still got error.And here is link for SS.See post where it say "Evo SS." and click the picture.www.bug.hr/.../101799.aspx

  • Anonymous
    May 30, 2011
    Sorry for double post but i am not geting any updates for net framework on windows update.Maybe thats the problem?

  • Anonymous
    May 31, 2011
    Hi Ganton - If you are having problems getting .NET Framework updates, then you might be running into the issue that I described at blogs.msdn.com/.../10110053.aspx.  To confirm that, can you check and see what the version number is for the file mscoree.dll on your computer?

  • Anonymous
    May 31, 2011
    Hi Aaron-my mscoree.dll wont updtae to 4.0.So what shall i do?Shall i re-install windows 7 ?

  • Anonymous
    June 01, 2011
    Hi Ganton - I'd suggest trying the System Update Readiness Tool that is linked in that other blog post.  If that doesn't help, then the only way I know of to solve this type of issue is to repair/re-install Windows.

  • Anonymous
    June 07, 2011
    I've created a custom bootstrapper using the custom bootstrapper generator and have tried all forms  of /q /passive and no matter what I get the security warning for the dotnetfx_full_x86_x64.exe. Is there any way to bypass this dialogue?

  • Anonymous
    June 07, 2011
    The comment has been removed

  • Anonymous
    July 20, 2011
    Not sure if my post made it in... so I will send it again.  I am wondering about installing .Net 3.5 on a machine that already has .Net 4.0 installed.  Should I uninstall 4.0 first and then reinstall after installing 3.5 or is it OK to install 3.5 with 4.0 already installed? Thanks,

  • Anonymous
    July 21, 2011
    The comment has been removed

  • Anonymous
    November 14, 2011
    Sometimes you want to show a user progress (so they don't turn it off) but nto let them cancel it. For msi's you can use /qb! instead of just /qb I can't find a way to do this with dotnet4 or its updates!

  • Anonymous
    November 15, 2011
    Hi Unattended without cancel button - There is not a way to do that with teh .NET Framework 4 installer.  If you need to suppress the cancel button in your scenarios, you will have to write your own wrapper UI and use a technique like the one at technet.microsoft.com/.../ff859983 to register for progress messages.

  • Anonymous
    January 05, 2012
    Hi, Aaron -- thanks much for posting this. SUMMARY:  Where can we get NetFx_DTP.msi?   This is the file that "Repair" is asking for, when attempting to repair "Microsoft .NET Framework 4 Multi-Targeting Pack", from within control panel / programs / programs and features / right-click, "Repair". I searched my hard disc (on a Server 2008 system) for "net*.msi", and searched the install discs for Windows Server 2008, Visual Studio 2008, and Visual Studio .NET, but do not see this file, that control panel's "Repair" is asking for. Thanks much, -- Doug Ivison

  • Anonymous
    January 05, 2012
    The comment has been removed

  • Anonymous
    January 05, 2012
    The comment has been removed

  • Anonymous
    January 05, 2012
    Hi Doug_Ivison - The multi-targeting pack is only needed when developing .NET Framework applications in Visual Studio.  You should not need it in any other cases.  It is installed as a part of up-level Visual Studio 2010 editions (such as Professional, Premium or Ultimate).  It is n't installed as a part of the VS 2010 Express Editions because those editions don't support multi-targeting functionality.  The multi-targeting pack is a separate product from the .NET Framework runtime, and it shouldn't be able to interfere with the installation of any .NET Framework updates, so I'm not sure how it would have caused .NET Framework 4 security updates to hang like you are describing.

  • Anonymous
    January 09, 2012
    The comment has been removed

  • Anonymous
    January 09, 2012
    Hi Doug_Ivison - If you're seeing .NET Framework 4 updates hang or fail on your computer, then I'd suggest trying to use the cleanup tool and the steps listed at blogs.msdn.com/.../8108332.aspx to manually remove the .NET Framework 4, then re-install the .NET Framework 4 Full (which will install both client profile and extended).  After that, you can try to visit Windows Update again and see if it gives better results when installing .NET Framework 4 updates. Hopefully this helps.

  • Anonymous
    February 27, 2012
    I'm getting this error: "Microsoft.NETFrameworkv4.0.30319mscoreei.dll could not be loaded" and when I try downloading a different Microsoft .NET Framework, I get this error: ".NET Framework 4 has not been installed because: Fatal error during installion" Can anyone help me out on this concern and let me know what I can do to fix this annoying problem. Thanks.

  • Anonymous
    February 28, 2012
    Hi Jacob Owens - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your 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 back here and provide a link that I can use to download your log files and take a closer look?

  • Anonymous
    February 28, 2012
    How do I get a download link for those files.?

  • Anonymous
    March 01, 2012
    Hi Jacob Owens - If you are using SkyDrive, you can post a link to the folder that you uploaded vslogs.cabs to (from your browser's address bar), and I should be able to go to that folder and download the log files from there.

  • Anonymous
    March 03, 2012
    The comment has been removed

  • Anonymous
    March 04, 2012
    Hi Jacob Owens - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your 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 back here and provide a link that I can use to download your log files and take a closer look?

  • Anonymous
    March 11, 2014
    I know this blog post hasn't been updated in a while but I can't help but notice the client version commands look identical to the full version. At least for the ones I compared. I have compared the unattended repair for Client and Full version (32 and 64bit) and they look identical. Just thought you might like to know. David

  • Anonymous
    March 11, 2014
    Hi David - The command lines in this post are correct.  The .NET Framework 4 repair process will figure out behind the scenes if it needs to repair the Client + Full packages or just the Client package.

  • Anonymous
    January 21, 2015
    Could you please post the command prompt info for a silent install for Framework 4??  The title of this article is "Silent install, repair and uninstall command lines for the .NET Framework 4" but I only see information for repairing and uninstalling... nothing on the aforementioned silent install besides a useless MSDN link.  

  • Anonymous
    January 21, 2015
    The comment has been removed

  • Anonymous
    January 14, 2016
    Just use command prompt.    C:WindowsMicrosoft.NETFramework64v4.0.30319aspnet_regiis -i .net 4.0 installed automatically.

  • Anonymous
    January 15, 2016
    The comment has been removed

  • Anonymous
    June 20, 2017
    Hy aaronI use HP notebook, and i want to install net framework 3.5 but if i started to following the intruction, i got new intruction to install net framework 3.5. i try to install online or offline installer and i got new problem, for online installer i got massage error 0x800F0906. The reason I installed netframework 3.5 to fix 0xc0000142 ccp.exe error.