| | | Junior 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 |
| | | | 
Supreme 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:- 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
- Assign the command task to the managed computers.
- 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"
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
|
| | | | Junior 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 |
| | | | Forum 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. |
| |
|
|