-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jones, Rick J.(Desktop Engineering)
Sent: Monday, March 24, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] OT: Identifying laptops on domainIn case you want to know the possible numbers and definition, here is the info from the Platform SDK on Win32_SystemEnclosure:
ChassisTypes
Data type: uint16 array
Access type: Read-onlyArray of chassis types. This property is inherited from CIM_Chassis.
Value Meaning
1 Other
2 Unknown
3 Desktop
4 Low Profile Desktop
5 Pizza Box
6 Mini Tower
7 Tower
8 Portable
9 Laptop
10 Notebook
11 Hand Held
12 Docking Station
13 All in One
14 Sub Notebook
15 Space-Saving
16 Lunch Box
17 Main System Chassis
18 Expansion Chassis
19 SubChassis
20 Bus Expansion Chassis
21 Peripheral Chassis
22 Storage Chassis
23 Rack Mount Chassis
24 Sealed-Case PCAnd here is the modified script as well;
<<CheckComputer_ChassisType2.v-b-s>>
-----Original Message-----
From: GRILLENMEIER,GUIDO (HP-Germany,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 21, 2003 4:10 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] OT: Identifying laptops on domainlooks like you really found the best solution to the problem - I've just
tested this in a script myself and it works very well! I suspect this not
to help much on NT4 machines, but for Win2k and XP this really is your best
bet (I tested against XP notebook and Win2k3 Server on a Desktop enclosure -
both reported back the correct value).
I've added a simple select statement to get the appropriate text-feedback -
see attached script (remove dashes...). Be good to hear from others, if this
also works well on their machines.
/Guido
-----Original Message-----
From: Bjelke John A Contr AFRL/VSIO [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 7. März 2003 16:51
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] OT: Identifying laptops on domain
Folks,
I just found this:
http://www.microsoft.com/technet/treeview/default.asp?url="">
ter/scrguide/sas_cpm_btnz.asp (watch the word wrap)
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colChassis = objWMIService.ExecQuery _
("SELECT * FROM Win32_SystemEnclosure")
For Each objChassis in colChassis
For Each intType in objChassis.ChassisTypes
Wscript.Echo intType
Next
Next
Where chassis type is one of 24 possible values. Seems like this might be
the magic bullet, but I definately need to test. Thanks for the suggestion!
Regards,
John A. Bjelke
-----Original Message-----
From: Bjelke John A Contr AFRL/VSIO [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 07, 2003 8:41 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] OT: Identifying laptops on domain
Bill,
we are moving to that already, and if I can figure out how to
differentiate the chasis type I can write scripts to automate the process
instead of relying on attrition or a massive helpdesk effort to rename every
pc and laptop. Catch-22.
-----Original Message-----
From: Brown, Bill [contractor] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 07, 2003 8:38 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] OT: Identifying laptops on domain
We employ a standardized machine naming convention whereby a laptop is given
the name User-LT and this makes it a very simple process to break them out.
R/Bill
-----Original Message-----
From: Bjelke John A Contr AFRL/VSIO [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 07, 2003 10:32 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] OT: Identifying laptops on domain
Existing IP scheme is static, and that's not viable to change at this time.
-----Original Message-----
From: PERRIN Martial (EURIWARE) [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 07, 2003 8:16 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] OT: Identifying laptops on domain
You can do this with segmentation on a DHCP network.
Martial
-----Message d'origine-----
De: Bjelke John A Contr AFRL/VSIO [mailto:[EMAIL PROTECTED]]
Date: vendredi 7 mars 2003 16:04
À: '[EMAIL PROTECTED]'
Objet: [ActiveDir] OT: Identifying laptops on domain
Perhaps someone here might know:
Is there any machine attribute or registry value that can be queried
to differentiate workstations and laptops on a domain? We have a
circumstance that requires laptops to be addressed differently from
workstations, and we have been unable to find any consistent variable to
poll for this determination. Any suggestions or assistance is most
appreciated.
John A. Bjelke
Systems administrator
505.853.6774
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
The contents of this Email communication are
confidential to the addressee.
If you are not the intended recipient you
may not disclose or distribute this
communication in any form but should
immediately contact the Sender.
The information, images, documents and views
expressed in this Email are personal to the
Sender and do not expressly or implicitly
represent official positions and policies of
Unisys Federal Systems or it's subsidiaries
and no authority exists on behalf of Unisys
to make any agreements, representations or
other binding commitment by means of Email.
ATTENTION : Si vous n'êtes pas destinataire de ce message, vous n'êtes pas
autorisé à copier, retransmettre, distribuer, révéler ou conserver le
contenu de ce message. WARNING : If you are not the intended recipient, you
are not authorised to copy, disclose, distribute or retain in this e-mail.
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/
Title: Message
Here's another one. Haven't made this live on the site
yet:
Here's the description:
Detects if a computer is a laptop using up to 5 different WMI
classes. Runs as WSH and MSI Custom Action without modification, supports
verbose mode, allows "Model Override" when all other detection methods
fail.
- RE: [ActiveDir] OT: Identifying laptop... Weston Rogers
- RE: [ActiveDir] OT: Identifying laptop... Gil Kirkpatrick
- RE: [ActiveDir] OT: Identifying laptop... GRILLENMEIER,GUIDO (HP-Germany,ex1)
- RE: [ActiveDir] OT: Identifying laptop... Bjelke John A Contr AFRL/VSIO
- RE: [ActiveDir] OT: Identifying laptop... stefano tufillaro
- RE: [ActiveDir] OT: Identifying laptop... Carlos Magalhaes
- RE: [ActiveDir] OT: Identifying laptop... stefano tufillaro
- RE: [ActiveDir] OT: Identifying laptop... GRILLENMEIER,GUIDO (HP-Germany,ex1)
- RE: [ActiveDir] OT: Identifying laptop... Free, Bob
- RE: [ActiveDir] OT: Identifying laptop... Jones, Rick J.(Desktop Engineering)
- RE: [ActiveDir] OT: Identifying l... Rod Trent
- RE: [ActiveDir] OT: Identifying laptop... GRILLENMEIER,GUIDO (HP-Germany,ex1)