New Boundary Support Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Detect Laptop or DesktopExpand / Collapse
Author
Message
Posted 8/21/2007 5:14:53 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/2/2008 4:51:38 AM
Posts: 15, Visits: 109
Is there a way to detect in Prism if the client is a Desktop or Laptop.
We are using different channels for Desktops and Laptops so if we can check this in configuration/installation rules it would make it easier.

Eric
Post #1561
Posted 8/21/2007 5:32:51 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Yesterday @ 10:05:18 AM
Posts: 655, Visits: 811
There are a few steps involved, but we do have a way to do it. Here are the steps:

  1. Create a command task (configured to run as an admin-level user) to run the attached GetChassis.vbs script (remove .txt from the file name first). The script uses WMI to get the chassis type. It  then creates a registry value containing the chassis type of the computer. The syntax of the command task is this: cscript \\server\share\GetChassis.vbs
  2. Assign the command task to the managed computers.
  3. Next, create a predefined configuration group to get the chassis type from the registry. To do this, paste the following into the drop-down box instead of using one of the choices in the list: <Registry Value> "HKLM\Software\Lanovation\Prism Deploy\\Chassis Type"
  4. After the command task runs, you should start to see configuration subgroups created and populated for the different types of chassis (laptop, desktop, mini tower, etc.) The chassis types are determined by WMI.





New Boundary Technologies Support
support@newboundary.com



  Post Attachments 
GetChassis.vbs.txt (194 views, 2.46 KB)
Post #1562
Posted 8/22/2007 2:42:31 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/2/2008 4:51:38 AM
Posts: 15, Visits: 109
Perfect !
The idea is to use an 'installation' channel and install/subscribe all computers to this channel using a GPO in Active Directory

In this channel clients are checked on OS + Chassis type in a configuration group and then subsribing to the XP-Desktop, XP-Laptop, Vista-Desktop or Vista-Laptop channel where the OS- and/or Chassis type specific packages are distributed.

Eric
Post #1563
Posted 9/7/2007 10:23:59 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/13/2007 5:41:56 PM
Posts: 1, Visits: 3
If the Chassis lookup fails or becomes unreliable, you can query the Battery WMI class as well. Desktop machines will return nothing, while laptops will return information regarding the state of the battery.
Post #1584
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: New Boundary Support

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 10:18pm

Powered By InstantForum.NET v4.1.3 © 2008
Execution: 0.172. 10 queries. Compression Enabled.