Determine OS by querying registry?

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

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

Thanks,
Craig
 
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
 
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
 
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
 
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
 
Back
Top