Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wikipedia provides short and long lists of the default versions of the .NET framework on various versions of Windows. Are any of these upgraded automatically through Windows Update?

EDIT: I understand that Windows XP does not provide any version of the .NET framework, even in SP3, and that Windows Update will not install it. However, if .NET is installed, will Windows Update ever automatically update .NET to another major version number (say version 1 -> 2 or 3 ->3.5)?

share|improve this question

migrated from Jun 29 '11 at 4:36

This question came from our site for professional and enthusiast programmers.

up vote 6 down vote accepted

Minor bugfix updates are pushed out automatically.

EDIT: Major version updates to the CLR (nothing -> 1.0, 1.0 -> 1.1, 1.1 -> 2 (which includes 3 and 3.5), 2-> 4) are available as optional updates. You can go in and select them in Windows Update but they are not installed by default.

share|improve this answer
Not quite true, I thought that there were a few that would be automatically done if you had your windows update set to auto. For instance, the 3.5sp1 update was automatic to anyone who had installed 2 or higher – Alex Jun 29 '11 at 0:34
@Alex: That's not the behavior I've seen before. I will of course nuke this if I am incorrect but I'm basing this off what I've seen real machines do – Billy ONeal Jun 29 '11 at 0:35
Go ahead and nuke it. – Hans Passant Jun 29 '11 at 1:04
@Hans: Okay, I would have been happier with a reference with more proof, but as two have already commented against it I changed it. – Billy ONeal Jun 29 '11 at 1:25
@Alex @Hans: do you have a reference? – Casebash Jun 29 '11 at 3:54

I am trying to determine the minimum version of .NET is that I can expect to find on client machines

As Raymond Chen points out, Windows is not a .NET Framework delivery channel. At a minimum, you can expect no .NET Framework.

If you're developing a program that uses the .NET Framework, you have to have a backup plan if the version of the .NET Framework you need is not installed on the computer.


Windows XP didn't come with any version of the .NET Framework. Windows Vista came with version 2, and Windows 7 came with version 3.5, but these were provided as optional components which were installed by default. You can go into the Programs and Features control panel to remove them.

Emphasis mine :)

share|improve this answer
I know that XP doesn't have to have .NET installed, but I was curious as to whether if it was installed, whether Microsoft would automatically update you to a particular version – Casebash Jun 29 '11 at 6:00
What does it matter if they do or don't? You're not guaranteed to have any minimum version on there. – Jun 29 '11 at 6:01
So that we have some idea of how many of our users would have to wait for our installer to upgrade .NET – Casebash Jun 29 '11 at 6:05
Vista comes with 3.0 (This implicitly means it also has 2.0 as well, as they share a common CLR.) – Andy Jul 7 '11 at 20:38
+1 for the old new thing. – surfasb Jul 8 '11 at 6:03

All major versions of the .NET framework can be installed concurrently, so even if it did update from 2.0 to a new version (which it will offer to do on a Server 2008 server), any existing 2.0 applications will continue running without issue. This should not break any existing software using older versions.

All the bits get their own folders in c:\windows\\frames\vVERSION

Source: I work with software that requires all 4 major .NET versions.

share|improve this answer

Windows Update will always supply security updates and service packs for installed .NET Frameworks. This is particularly true for versions of the .NET Framework which are automatically installed on more recent versions of the operating system (Vista and 7).

If you configure Windows Update to use Microsoft Update instead of just Windows Update in Windows XP, or, if you're using Vista or 7 if you configure Windows Update to receive updates "For Windows and other products from Microsoft Update" then the .NET Frameworks which are not installed will be offered under "Optional Updates".

I always have Windows Update configured for Microsoft Updates (this allows you to get updates for Office, for example) so I'm not sure if you must be in the MU channel for non-security updates to the .NET Frameworks. Non-security updates are, unsurprisingly, listed simply as "Updates" rather than "Security updates".

share|improve this answer

As far as I know, there is no fixed rule about .Net versions, and there is no way to find out which version to expect on a client machine.

The minimal version number to expect can be the one that was installed with Windows by default : None for XP, 2 for Vista, 3.5 for Windows 7. But these are optional components which can be uninstalled.

As a recent example, take .NET 4 : .NET Framework 4 Client Profile is released as recommended update on Vista and Windows 7 (automatically installed depending on the Automatic Update settings of the computer). Also released as an optional update for XP, so one has to manually run Windows Update and select it, and the same goes for Windows 2003, Windows 2008 and Windows 2008 R2.

Conclusion: There are no rules, and the results vary for each .Net version and then again for each Windows flavor. Better not look for any persistent logic in the decisions of the Windows Update team at Microsoft, and expect anything and nothing on the client computer.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .