| View previous topic :: View next topic |
| Author |
Message |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat Jan 22, 2005 4:23 am Post subject: Can someone check this for me? |
|
|
Can someone with access to Windows 2000 Server give me the exact value of the following please?
%%VER = @regread(HKL,Software\Microsoft\Windows NT\CurrentVersion,ProductName)
This should show the install Service Pack if it exists.
%%SP = @regread(HKL,Software\Microsoft\Windows NT\CurrentVersion,CSDVersion)
Thanks in advance  |
|
| Back to top |
|
 |
suxi Newbie
Joined: 16 Jan 2005 Posts: 23
|
Posted: Thu Jan 27, 2005 9:39 am Post subject: |
|
|
Hi Aslan
I can't run VDS on our W2K Server to try it out, but the registery contains the following:
HKL,Software\Microsoft\Windows NT\CurrentVersion,ProductName = Microsoft Windows 2000
HKL,Software\Microsoft\Windows NT\CurrentVersion,CSDVersion = Service Pack 4
I hope this helps. Best wishes
Marc |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Mon Jan 31, 2005 1:42 am Post subject: |
|
|
Thanks SUXI,
I was afraid that that was the result.
I'm trying to find an easy way to identify W2K Server from W2K.
Anyone, know of a way other than to collect a list of all the W2K builds and compare them to the current build? |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Mon Jan 31, 2005 1:55 am Post subject: |
|
|
Hi take a look at my vdswinver.zip (extension) it will use the Windows api to grab all the versions of Windows, and let you get the suite type such as: advanced server (win 2000, 2003); datacenter server (win 2000, 2003); personal (windows 2000); professional (win 2000, xp); server (win 2000, nt); workstation (win nt).
The source code is included with that dll so if you wish you may be able to convert it over using the @lib function of vds and calling the dll's directly to execute the win api. |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Mon Jan 31, 2005 5:18 am Post subject: |
|
|
This is exactly what I needed. Not sure why I didn't see it before.
Thanks P  |
|
| Back to top |
|
 |
|