RE: [ActiveDir] win2k pro or server?

2004-08-02 Thread joe
I know this has been answered but wanted to put out my two answers...

The quickest way assuming your machines are all in an AD domain is to look
at the operatingsystem attribute of the computer object. 

You will see the following values

Windows NT
Windows 2000 Server
Windows 2000 Professional
Windows XP Professional
Windows Server 2003


If not in a domain, then you have to query the machines which is much slower
but faster than going to each one on foot... You can query the
hklm\system\currentcontrolset\control\productoptions\producttype value. 

You will see the following values

WinNT - Workstation
ServerNT - Server
LanmanNT - Domain Controller

See sub3.bat at 

http://support.microsoft.com/default.aspx?scid=kb;EN-US;180546




 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern, Tom
Sent: Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject: [ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-21 Thread DL.ActiveDirectory
Is there a way to tell via vbs?

Thank you,
Mitch Lawrence

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brown, Bill
[contractor]
Posted At: Tuesday, July 20, 2004 1:21 PM
Posted To: ~AD Discussion~
Conversation: win2k pro or server?
Subject: RE: [ActiveDir] win2k pro or server?

If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-21 Thread Ayers, Diane
It may be more than you want but what the heck.  I'm not a programmer so
YMMV

Diane

-


On Error Resume Next
Set Network = WScript.CreateObject(WScript.Network)
strComputer = InputBox (Enter NETBIOS name of computer,
GetComputerLocation In AD, Network.ComputerName )
Set objWMIService = GetObject(winmgmts:\\  strComputer 
\root\cimv2)
Set colItems = objWMIService.ExecQuery(Select * from
Win32_OperatingSystem,,48)
For Each objItem in colItems
Wscript.Echo BootDevice:   objItem.BootDevice
Wscript.Echo BuildNumber:   objItem.BuildNumber
Wscript.Echo BuildType:   objItem.BuildType
Wscript.Echo Caption:   objItem.Caption
Wscript.Echo CodeSet:   objItem.CodeSet
Wscript.Echo CountryCode:   objItem.CountryCode
Wscript.Echo CreationClassName:   objItem.CreationClassName
Wscript.Echo CSCreationClassName:   objItem.CSCreationClassName
Wscript.Echo CSDVersion:   objItem.CSDVersion
Wscript.Echo CSName:   objItem.CSName
Wscript.Echo CurrentTimeZone:   objItem.CurrentTimeZone
Wscript.Echo Debug:   objItem.Debug
Wscript.Echo Description:   objItem.Description
Wscript.Echo Distributed:   objItem.Distributed
Wscript.Echo EncryptionLevel:   objItem.EncryptionLevel
Wscript.Echo ForegroundApplicationBoost:  
objItem.ForegroundApplicationBoost
Wscript.Echo FreePhysicalMemory:   objItem.FreePhysicalMemory
Wscript.Echo FreeSpaceInPagingFiles:  
objItem.FreeSpaceInPagingFiles
Wscript.Echo FreeVirtualMemory:   objItem.FreeVirtualMemory
Wscript.Echo InstallDate:   objItem.InstallDate
Wscript.Echo LargeSystemCache:   objItem.LargeSystemCache
Wscript.Echo LastBootUpTime:   objItem.LastBootUpTime
Wscript.Echo LocalDateTime:   objItem.LocalDateTime
Wscript.Echo Locale:   objItem.Locale
Wscript.Echo Manufacturer:   objItem.Manufacturer
Wscript.Echo MaxNumberOfProcesses:   objItem.MaxNumberOfProcesses
Wscript.Echo MaxProcessMemorySize:   objItem.MaxProcessMemorySize
Wscript.Echo Name:   objItem.Name
Wscript.Echo NumberOfLicensedUsers:  
objItem.NumberOfLicensedUsers
Wscript.Echo NumberOfProcesses:   objItem.NumberOfProcesses
Wscript.Echo NumberOfUsers:   objItem.NumberOfUsers
Wscript.Echo Organization:   objItem.Organization
Wscript.Echo OSLanguage:   objItem.OSLanguage
Wscript.Echo OSProductSuite:   objItem.OSProductSuite
Wscript.Echo OSType:   objItem.OSType
Wscript.Echo OtherTypeDescription:   objItem.OtherTypeDescription
Wscript.Echo PlusProductID:   objItem.PlusProductID
Wscript.Echo PlusVersionNumber:   objItem.PlusVersionNumber
Wscript.Echo Primary:   objItem.Primary
Wscript.Echo ProductType:   objItem.ProductType
Wscript.Echo QuantumLength:   objItem.QuantumLength
Wscript.Echo QuantumType:   objItem.QuantumType
Wscript.Echo RegisteredUser:   objItem.RegisteredUser
Wscript.Echo SerialNumber:   objItem.SerialNumber
Wscript.Echo ServicePackMajorVersion:  
objItem.ServicePackMajorVersion
Wscript.Echo ServicePackMinorVersion:  
objItem.ServicePackMinorVersion
Wscript.Echo SizeStoredInPagingFiles:  
objItem.SizeStoredInPagingFiles
Wscript.Echo Status:   objItem.Status
Wscript.Echo SuiteMask:   objItem.SuiteMask
Wscript.Echo SystemDevice:   objItem.SystemDevice
Wscript.Echo SystemDirectory:   objItem.SystemDirectory
Wscript.Echo SystemDrive:   objItem.SystemDrive
Wscript.Echo TotalSwapSpaceSize:   objItem.TotalSwapSpaceSize
Wscript.Echo TotalVirtualMemorySize:  
objItem.TotalVirtualMemorySize
Wscript.Echo TotalVisibleMemorySize:  
objItem.TotalVisibleMemorySize
Wscript.Echo Version:   objItem.Version
Wscript.Echo WindowsDirectory:   objItem.WindowsDirectory
Next




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
DL.ActiveDirectory
Sent: Wednesday, July 21, 2004 7:52 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

Is there a way to tell via vbs?

Thank you,
Mitch Lawrence

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brown, Bill
[contractor] Posted At: Tuesday, July 20, 2004 1:21 PM Posted To: ~AD
Discussion~
Conversation: win2k pro or server?
Subject: RE: [ActiveDir] win2k pro or server?

If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org

RE: [ActiveDir] win2k pro or server?

2004-07-21 Thread deji
http://www.microsoft.com/technet/community/scriptcenter/compmgmt/scrcm26.mspx
 
If you need more info, post specifics.
 
 
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
Microsoft MVP - Directory Services
www.readymaids.com - we know IT
www.akomolafe.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday?  -anon



From: [EMAIL PROTECTED] on behalf of DL.ActiveDirectory
Sent: Wed 7/21/2004 7:52 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?



Is there a way to tell via vbs?

Thank you,
Mitch Lawrence

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brown, Bill
[contractor]
Posted At: Tuesday, July 20, 2004 1:21 PM
Posted To: ~AD Discussion~
Conversation: win2k pro or server?
Subject: RE: [ActiveDir] win2k pro or server?

If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED]
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Brown, Bill [contractor]
If you hit the start button - there is a vertical bar that displays this information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest way(via 
script or gui admin tool) to tell if a particular pc/server is running win2k pro or 
server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Kern, Tom
ha ha,
i meant to query remote pcs on my network...


-Original Message-
From: Brown, Bill [contractor] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?


If you hit the start button - there is a vertical bar that displays this information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest way(via 
script or gui admin tool) to tell if a particular pc/server is running win2k pro or 
server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Craig Cerino
 Depends on how your box is configured.

Tom - -are you trying to get this information from a remote machine?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brown, Bill
[contractor]
Sent: Tuesday, July 20, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/



List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Tim Foster
OK, I know this'll sound like there's only one tool in my toolbox...but
how about trying bginfo and running it on your PCs via a logon script.
This will give you OS type plus a whole lot more.

-Original Message-
From: Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 2:30 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

ha ha,
i meant to query remote pcs on my network...


-Original Message-
From: Brown, Bill [contractor] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?


If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Passo, Larry
But you can only run bginfo on a local box, not on a remote box. He
would have to termserv to the remote box to view the wallpaper that
bginfo creates.

I see the following possible ways to determine OS type:
1. If terminal services are activated on all servers, if the tsclient
can connect to the box, it's a server
2. You can go into ADUC and view the properties of the computer account.
The operating system tab will show Windows 2000 Server or Windows
2000 Professional
3. You could (via a script) connect to the computer object in AD and
look at the value of the operatingSystem attribute.

By default, methods 2 and 3 work for Windows 200x and Windows XP

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Foster
Sent: Tuesday, July 20, 2004 11:39 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

OK, I know this'll sound like there's only one tool in my toolbox...but
how about trying bginfo and running it on your PCs via a logon script.
This will give you OS type plus a whole lot more.

-Original Message-
From: Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 2:30 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

ha ha,
i meant to query remote pcs on my network...


-Original Message-
From: Brown, Bill [contractor] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?


If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Rachui, Scott
You can do an LDIF query and search the computer object for the operatingSystem 
attribute.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tim Foster
Sent: Tuesday, July 20, 2004 1:39 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?


OK, I know this'll sound like there's only one tool in my toolbox...but
how about trying bginfo and running it on your PCs via a logon script.
This will give you OS type plus a whole lot more.

-Original Message-
From: Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 2:30 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

ha ha,
i meant to query remote pcs on my network...


-Original Message-
From: Brown, Bill [contractor] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?


If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Tim Foster
I have all the PCs in my domain run bginfo.exe at startup, with an
associated config file (.bgi).  The config file contains an instruction
to return the output to a database (which can be .mdb, .xls, etc.) which
is located on the server.  I have also edited the config file so that
the bginfo wallpaper isn't created on the desktop.

Tim Foster

-Original Message-
From: Passo, Larry [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 2:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

But you can only run bginfo on a local box, not on a remote box. He
would have to termserv to the remote box to view the wallpaper that
bginfo creates.

I see the following possible ways to determine OS type:
1. If terminal services are activated on all servers, if the tsclient
can connect to the box, it's a server
2. You can go into ADUC and view the properties of the computer account.
The operating system tab will show Windows 2000 Server or Windows
2000 Professional
3. You could (via a script) connect to the computer object in AD and
look at the value of the operatingSystem attribute.

By default, methods 2 and 3 work for Windows 200x and Windows XP

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Foster
Sent: Tuesday, July 20, 2004 11:39 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

OK, I know this'll sound like there's only one tool in my toolbox...but
how about trying bginfo and running it on your PCs via a logon script.
This will give you OS type plus a whole lot more.

-Original Message-
From: Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 2:30 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

ha ha,
i meant to query remote pcs on my network...


-Original Message-
From: Brown, Bill [contractor] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?


If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Chuck Oppermann
From the TechNet Script center:
http://www.microsoft.com/technet/community/scriptcenter/compmgmt/scrcm26.ms
px

strComputer = .
Set objWMIService = GetObject(winmgmts: _
 {impersonationLevel=impersonate}!\\  strComputer  \root\cimv2)
Set colOperatingSystems = objWMIService.ExecQuery _
(Select * from Win32_OperatingSystem)
For Each objOperatingSystem in colOperatingSystems
Wscript.Echo objOperatingSystem.Caption
objOperatingSystem.Version
Next

Charles Oppermann, [EMAIL PROTECTED],
http://weblogs.asp.net/chuckop/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern, Tom
Sent: Tuesday, July 20, 2004 11:14 AM
To: ActiveDir (E-mail)
Subject: [ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Diel,Nick \(Work\)
It could also be possible to just look system drive through the hidden
share.  I can't think of what files would be different or not exist off
the top of my head.  Also might be a registry key you can check remotely
if you don't have remote registry access disabled.

Nick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rachui, Scott
Sent: Tuesday, July 20, 2004 1:06 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

You can do an LDIF query and search the computer object for the
operatingSystem attribute.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tim Foster
Sent: Tuesday, July 20, 2004 1:39 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?


OK, I know this'll sound like there's only one tool in my toolbox...but
how about trying bginfo and running it on your PCs via a logon script.
This will give you OS type plus a whole lot more.

-Original Message-
From: Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 2:30 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?

ha ha,
i meant to query remote pcs on my network...


-Original Message-
From: Brown, Bill [contractor] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] win2k pro or server?


If you hit the start button - there is a vertical bar that displays this
information...

R/Bill

 -Original Message-
From:   Kern, Tom [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, July 20, 2004 2:14 PM
To: ActiveDir (E-mail)
Subject:[ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] win2k pro or server?

2004-07-20 Thread Durant, Ryan A
Check this reg key HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions
For value: ProductType
If the value is Winnt then it's the workstation not the server.
YMV.
Hope this helps.
Ryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern, Tom
Sent: Tuesday, July 20, 2004 11:14 AM
To: ActiveDir (E-mail)
Subject: [ActiveDir] win2k pro or server?

Sorry if this is really basic and covered before- but whats the quickest
way(via script or gui admin tool) to tell if a particular pc/server is
running win2k pro or server?
thanks
List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ: http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/