PC Review


Reply
Thread Tools Rate Thread

Determine OS by querying registry?

 
 
Craig
Guest
Posts: n/a
 
      28th Sep 2003
Hi folks,
Is it possible to query the registry and determine which
version of Windows a client is running? Suggestions?

Thanks,
Craig
 
Reply With Quote
 
 
 
 
Walter Schulz
Guest
Posts: n/a
 
      28th Sep 2003
>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
 
Reply With Quote
 
Jerold Schulman
Guest
Posts: n/a
 
      29th Sep 2003
On Sun, 28 Sep 2003 11:29:44 -0700, "Craig" <(E-Mail Removed)> wrote:

>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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting reboot by querying registry? edavid3001@gmail.com Windows XP General 20 9th Jun 2006 02:59 PM
Re: How to Figure out Outlook Version by querying windows registry Ken Slovak - [MVP - Outlook] Microsoft Outlook Installation 1 14th Apr 2005 02:37 PM
Querying a remote machine registry using WMI and VB.NET =?Utf-8?B?SkpH?= Microsoft VB .NET 1 9th Nov 2004 06:50 PM
Determine OS by querying registry? Craig Microsoft Windows 2000 Registry Archive 4 29th Sep 2003 01:44 PM
Determine OS by querying registry? Craig Microsoft Windows 2000 Registry Archive 0 28th Sep 2003 07:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:55 PM.