Novell is now a part of Micro Focus

Vendor and Hardware Type Tagging 1.1

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Create Registry Keys for Hardware Type and Vendor Name.


Product Categories:
  • ZENworks
  • Functional Categories:
  • Registry
  • Updated:3 Mar 2006
    File Size:53KB
    Publisher:Glenn Sullivan


    Please read the note from our friends in legal before using this file.


    This program creates 2 registry keys located in 'HKLM\Hardware\Description\System\'

    1. HardwareType = 'Laptop' or 'Desktop'
      I get this by checking to see if 'Start' value under '\SYSTEM\CurrentControlSet\Services\Pcmcia' is set to Zero(0) and if so it is a Laptop.
    2. VendorName = 'DELL' etc
      I get the Vendor by shortening the 'SystemBiosVersion' under 'HKLM\Hardware\Description\System\' to the first space.

    You only need to run this program once. Once the registry settings are set you can use them with your ZEN applications. If registry key equals DELL then run, etc.

    I created this because ZENwork will only check for an exact registry key string, not a 'start with' or 'contains'.

    1.0 12/09/2005 Original submitted to Cool Solutions
    1.1 14/09/2005 Fix extra space in Vendorname
          03/03/2005 Submitted 1.1 to Cool Solutions

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

    © Copyright Micro Focus or one of its affiliates