agustina_s Posted March 7, 2005 Posted March 7, 2005 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 welcomeThank you
jaclaz Posted March 7, 2005 Posted March 7, 2005 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\CurrentVersionwhere there is the Key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDVersionwhose value is "Service Pack 3"So you can use REGEDIT /E [filename] to export the key to a temp fileor useREG QUERYto just extract the valuesee here:http://www.robvanderwoude.com/index.htmlhttp://www.robvanderwoude.com/regedit.htmlhttp://www.robvanderwoude.com/ntregistry.htmljaclaz
Ge0ph Posted March 7, 2005 Posted March 7, 2005 Or right click on "My Computer" and choose "Propeties". The first tab will tell you what SP is installed.
prathapml Posted March 7, 2005 Posted March 7, 2005 Do as Ge0ph says, for manually checking.If instead, you are needing some automated method thru scripts, then there's this command:systeminfosysteminfo /?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
jaclaz Posted March 8, 2005 Posted March 8, 2005 If instead, you are needing some automated method thru scripts, then there's this command:systeminfosysteminfo /?Good find...........unfortunately systeminfo is NOT in Windows 2000, only XP and later.... http://www.windowsnetworking.com/kbase/Win...nfoUtility.htmlhttp://searchwinsystems.techtarget.com/tip...1033464,00.htmljaclaz
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now