473,721 Members | 2,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to tell EXACTLY what Version and SP of .NET Framework is installed

This has not yet been published by Microsoft. It will be published
within the next few weeks, mainly because I asked them to. I felt this
was information badly needed, and I think this is the best group to
share this information.
A co-worker and I were able to determine how to tell exactly what
version of .NET Framework is installed.
We had to do this because we had to manually deploy the MS05-004
Security Bulletin to thousands of machines, and had no concrete way of
determining what was installed and not installed.
The MS05-004 hotfix will patch any system with 1.0 SP2, 1.0 SP3, 1.1,
and 1.1 SP1.

You can use this information to do a batch file, script, C++ exe,
whatever. We put it into a script.

Note: The file versions are versions that do NOT have the MS05-004
ASP.NET vulnerability patch installed.

1.0 no SP:
Registry:
[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\policy\v 1.0]
"3705"="332 1-3705"
File:
(Windir)\Micros oft.NET\Framewo rk\v1.0.3705\sy stem.web.dll has a version
of 1.0.3705.0

1.0 SP1:
Registry:
[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\policy\v 1.0]
"3705"="332 1-3705"
File:
(Windir)\Micros oft.NET\Framewo rk\v1.0.3705\sy stem.web.dll has a version
of 1.0.3705.0

1.0 SP2:
Registry:
[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\policy\v 1.0]
"3705"="332 1-3705"
File:
(Windir)\Micros oft.NET\Framewo rk\v1.0.3705\sy stem.web.dll has a version
of 1.0.3705.288

1.0 SP3:
Registry:
[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\policy\v 1.0]
"3705"="332 1-3705"
File:
(Windir)\Micros oft.NET\Framewo rk\v1.0.3705\sy stem.web.dll has a version
of 1.0.3705.6018

1.1 no SP
Registry:
[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\policy\v 1.1]
"4322"="370 6-4322"
File:
(Windir)\Micros oft.NET\Framewo rk\v1.1.4322\sy stem.web.dll has a version
of 1.1.4322.573

1.1 SP1
Registry:
[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\policy\v 1.1]
"4322"="370 6-4322"
File:
(Windir)\Micros oft.NET\Framewo rk\v1.1.4322\sy stem.web.dll has a version
of 1.1.4322.2032

==

Now, here is the file information that shows that the items have been
patched. This info is available publicly from MS's website:

MS05-004 (887219)
ASP.NET Path Validation Vulnerability
http://www.microsoft.com/technet/sec.../MS05-004.mspx

To tell if patch installed:
- Search drive for the file 'System.web.dll '.
- Version and Date information below depend on what version and Service
Pack of .NET Framework is installed.
Microsoft .NET Framework version 1.0 Service Pack 3: Version
1.0.3705.6021, 1,200,128 bytes, Date 07-Oct-2004

Microsoft .NET Framework version 1.0 Service Pack 2: Version
1.0.3705.556, 1,200,128 bytes, Date 19-Nov-2004

Microsoft .NET Framework version 1.1 Service Pack 1 (2000 or XP):
Version 1.1.4322.2037, 1,257,472 bytes, Date 08-Oct-2004
Microsoft .NET Framework version 1.1 Service Pack 1 (Server 2003):
Version 1.1.4322.2037, 1,257,472 bytes, 19-Oct-2004

Microsoft .NET Framework version 1.1 (No SP)(2000 or XP): Version
1.1.4322.1085, 1,257,472 bytes, Date 26-Oct-2004
Microsoft .NET Framework version 1.1 (No SP)(Server 2003): Version
1.1.4322.1085, 1,257,472 bytes, Date 28-Oct-2004

Hope this helps. I can tell you that it sure helped me.

Jim

Nov 22 '05 #1
2 11650
Side note:

SP means Service Pack. The only way to determine the SP is to check
the exact file and version like I described. The registry will only
tell
you if you are running 1.0 or 1.1. The version of the system.web.dll
file will tell you exactly what the Service Pack level is.

Jim

Nov 22 '05 #2
SP means Service Pack. The only way to determine the SP is to check
the exact file and version like I described. The registry will only
tell
you if you are running 1.0 or 1.1.


You can find the SP in the Registry too. See

http://blogs.msdn.com/astebner/archi...14/229574.aspx
http://blogs.msdn.com/astebner/archi...14/229802.aspx

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2863
by: Duncan | last post by:
I am using the evaluation version of CE.NET 4.1. I had also installed the release version of the Compact Framework. I uninstalled the CE.NET 4.1, and then realized I needed it again and reinstalled it. I also installed all the QFEs. When I tried to reinstall the release Compact Framework, I get a message that it is already installed and the installation aborted.
5
14302
by: mscertified | last post by:
I've just started trying to use .NET. It was installed on my PC by our desktop support group who have no experience with .NET. It appears they did not install ASP.NET since a test page displays the HTML minus any ASP.NET controls. How can I definitely verify whether ASP.NET was installed? And how should it be installed? Basically our desktop groups solution was to wipe my PC and start again or they offered to just give me the CD's and try...
2
630
by: j.b.messina | last post by:
This has not yet been published by Microsoft. It will be published within the next few weeks, mainly because I asked them to. I felt this was information badly needed, and I think this is the best group to share this information. A co-worker and I were able to determine how to tell exactly what version of .NET Framework is installed. We had to do this because we had to manually deploy the MS05-004 Security Bulletin to thousands of...
3
3858
by: CS Kirk | last post by:
I am new to Visual C#. My question relates to installation and what version of .NET Framework C# is seeing. I installed Visual C# while I had .NET Framework v1.03. Later, using Windows Update in IE I tried to update .NET Framework from v1.0 to v1.1. It refused to update like that, always saying something like "installation failed". (Actually I had tried to do this update before installing Visual C# and it had failed similarly.) And when...
2
1665
by: Reggie | last post by:
Hi and TIA! Little confused. I'm running WXP Pro (SP2). If I look at Control Panel/Admin Tools it shows the following: Microsoft .NET Framework 1.1 Configuration Microsoft .NET Framework 1.1 Wizards Microsoft .NET Framework Configuration Microsoft .NET Framework Wizards When I look at add/remove programs it shows: Microsoft .NET Framework 1.1 Microsoft .NET Framework SDK (English) 1.0a
1
1148
by: Larry Brown | last post by:
Hi, I know that I should not, but believe me I really have to do that: I'm developping an ASP.NET application with Visual Studio .NET 2003 installed on my workstation, on a server which is on a different domain. Meaning the application is installed on a server which is on a different domain than the one where my workstation with my Visual Studio is. This application is running normally, I have access with my account to the server both...
4
1646
by: PJ6 | last post by:
Just brought up a fresh installation. Installed IIS first, then VS.NET 2003. Now some of the applications I'm downloading complain that the ASP.NET server version is 1.0 and not 1.1. Um... I've checked, here, and it looks like ASP.NET is v1.1. The Framework certainly is. I'm confused??? Paul
1
2256
by: Harry Simpson | last post by:
I know I drilled down into the Windows folder\Microsoft.net\Framework\v1.1.4322 folder and looked at the version of Mscorcfg.dll to get the SP level from the version number: Mine shows v1.1.4322.573 which is supposed to be 1.1 with no service packs.
4
1330
by: Rene | last post by:
Our company provides two downloads for our program, one includes the .Net and the other does not. The problem is that the most of the times the user has no idea if he or she already has the .Net installed on their local computers or not so they are never sure if they should take the time to download .Net only to find out that is already installed. Is there a way to implement a button on a web page that a user can click and popup a...
2
1159
by: mookid | last post by:
Good day group! My problem is this: I have an old legacy application, which must be installed using an unmanaged installer. This unmanaged installer complains that .NETfx 1.1 is not installed, EVEN THOUGH 1.0, 1.1 AND 2.0 are installed, and thus refuses to install. The problem seems to be that the installer checks the latest version of the framework, and sees if it is either 1.0 or 1.1. In the installation
0
8858
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9230
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6678
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5994
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4499
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2146
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.