Determine OS by querying registry?

C

Craig

Hi folks,
Is it possible to query the registry and determine which
version of Windows a client is running? Suggestions?

Thanks,
Craig
 
W

Walter Schulz

Is it possible to query the registry and determine which
version of Windows a client is running? Suggestions?

There are several tools which are able to determine client versions.
Which client OSs do you use?

Ciao, Walter
 
W

Walter Schulz

Is it possible to query the registry and determine which
version of Windows a client is running? Suggestions?

There are several tools which are able to determine client versions.
Which client OSs do you use?

Ciao, Walter
 
J

Jerold Schulman

Hi folks,
Is it possible to query the registry and determine which
version of Windows a client is running? Suggestions?

Thanks,
Craig

The following is one line

for /f "Skip=4 Tokens=2*" %%i in ('reg query
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v
ProductName') do set textversion=%%j

Reg.exe is from the W2K support tools or it is built into later versions.



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
J

Jerold Schulman

Hi folks,
Is it possible to query the registry and determine which
version of Windows a client is running? Suggestions?

Thanks,
Craig

The following is one line

for /f "Skip=4 Tokens=2*" %%i in ('reg query
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v
ProductName') do set textversion=%%j

Reg.exe is from the W2K support tools or it is built into later versions.



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top