473,385 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\policy\v1.0]
"3705"="3321-3705"
File:
(Windir)\Microsoft.NET\Framework\v1.0.3705\system. web.dll has a version
of 1.0.3705.0

1.0 SP1:
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\policy\v1.0]
"3705"="3321-3705"
File:
(Windir)\Microsoft.NET\Framework\v1.0.3705\system. web.dll has a version
of 1.0.3705.0

1.0 SP2:
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\policy\v1.0]
"3705"="3321-3705"
File:
(Windir)\Microsoft.NET\Framework\v1.0.3705\system. web.dll has a version
of 1.0.3705.288

1.0 SP3:
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\policy\v1.0]
"3705"="3321-3705"
File:
(Windir)\Microsoft.NET\Framework\v1.0.3705\system. web.dll has a version
of 1.0.3705.6018

1.1 no SP
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\policy\v1.1]
"4322"="3706-4322"
File:
(Windir)\Microsoft.NET\Framework\v1.1.4322\system. web.dll has a version
of 1.1.4322.573

1.1 SP1
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\policy\v1.1]
"4322"="3706-4322"
File:
(Windir)\Microsoft.NET\Framework\v1.1.4322\system. 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 11601
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
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...
5
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...
2
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...
3
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...
2
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...
1
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...
4
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...
1
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...
4
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...
2
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,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.