Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 2001

Is SP6a Installed?

RSS
Subscribe to Windows IT Pro | See More Windows NT 4.0 Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

The HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\CSDVersion registry subkey shows a value of Service Pack 6 if either Windows NT 4.0 Service Pack 6 (SP6) or SP6a is installed. The most common way to determine whether SP6a is installed on a system is to run the winver.exe utility. However, winver.exe is a GUI utility, so this method has great limitations for administrators who want to query remote machines to determine the systems' service pack levels.

I learned a curious fact about SP6a's winver.exe that can indirectly enable administrators to get the SP6a information they need. The winver.exe that comes with SP6a is hard-coded to display (in the GUI) an extra line below the copyright information that states "Revised Service Pack 6a." If you run this version of winver.exe on a machine running a service pack earlier than SP6, the GUI displays the correct service pack number in this extra line of text. When Microsoft releases SP7, Microsoft plans to replace winver.exe with a new version that doesn't display this extra line of text, so querying the timestamp of winver.exe should be a reliable method of remotely determining whether SP6a is installed. If the timestamp is 11/18/1999, then SP6a's winver.exe is installed; if the timestamp is 8/9/1996 or another date, some other service pack is installed. Listing 1 shows a batch file that parses a list of NT machines and queries each machine about whether SP6a is running based on winver.exe's timestamp.

End of Article



Reader Comments
I have just read the article and I have a few questions about what was written.
<br><br>
You say that the sp6a winver.exe is hard-coded to display "Revised Service Pack 6a."
If this is true then how can it then correctly display the actual version of the service pack installed.<br>
I have tried this on a sp5 machine and winver.exe correctly displays sp5 along with the build version, but it still displays the "Revised Service Pack 6a." in the extra line of text.
<br><br>
Have I misread the text or do I have a point???

Simon Yeatman April 25, 2001


Has anyone heard of Service Pack 6, RC 1.3????????? I've been trying to find information about it I have it loaded on an IBM NetVista Intell 800mhz I don't know if this version of the service pack is the lastest. Thanks if you can help me on this!!


Carl Roche May 01, 2001


I am trying to resurrect a machine that is blue screening with "unable to find winsrv.dll. One of the fixes is to install NT as a parallel which is not a problem, but is it possible to install Serv. Pack 6A to a specific drive?

John Beaumont May 15, 2001


I just had a new image installed on my workstation
NT 4.o service pack 6. I just noticed that I no longer
have Hyperterminal. I thought this was installed by
default. Help this is something that I use everyday.

CHARLES SUAREZ October 01, 2001


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing