Jump to content

Recommended Posts

Posted

How to check whether the Windows 2000 OS is installed with SP2?

Is there any special registry or system file which is used as an indication?

Any help is welcome

Thank you


Posted

Well, cannot say if it's the best way to do it, but in the eventlog at starttime is registred:

"Microsoft ® Windows 2000 ® 5.0 2195 Service Pack 3 Uniprocessor Free. "

or something the like.

If you search in the Registry for "Uniprocessor", you will land here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

where there is the Key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDVersion

whose value is

"Service Pack 3"

So you can use

REGEDIT /E [filename] to export the key to a temp file

or use

REG QUERY

to just extract the value

see here:

http://www.robvanderwoude.com/index.html

http://www.robvanderwoude.com/regedit.html

http://www.robvanderwoude.com/ntregistry.html

jaclaz

Posted

Do as Ge0ph says, for manually checking.

If instead, you are needing some automated method thru scripts, then there's this command:

systeminfo
systeminfo /?

That will reveal OS and SP version as well, which you could parse with simple STR code. For example:

I ran:

systeminfo | findstr Service  (i.e., piped commands)

The output I received was: 

OS Version:                5.1.2600 Service Pack 2 Build 2600

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...