forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Can someone check this for me?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sat Jan 22, 2005 4:23 am    Post subject: Can someone check this for me? Reply with quote

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 Smile
Back to top
View user's profile Send private message Send e-mail
suxi
Newbie


Joined: 16 Jan 2005
Posts: 23

PostPosted: Thu Jan 27, 2005 9:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Mon Jan 31, 2005 1:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Mon Jan 31, 2005 1:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Mon Jan 31, 2005 5:18 am    Post subject: Reply with quote

This is exactly what I needed. Not sure why I didn't see it before.

Thanks P Very Happy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group