/build/static/layout/Breadcrumb_cap_w.png

HOW TO: Create a Custom Inventory Rule on the K1000 that will read the AD distinguished name of a PC

Rule Syntax

 

RegistryValueReturn(HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine, Distinguished-Name, TEXT)

 

 

Create a custom inventory rule.  Inventory-Software-add new item.

name it : AD Distinguished Name

Use the syntax above and save

 

Next you must 'Force Inventory Update" or wait until machine to checkin and it will populate under custom inventory

 

You can now create smart labels using the returned string.  I suggest using REGEX

Harold Moore

Kace Systems Engineer-Northeast


Comments

  • I remember when this was posted on AppDeploy. I implemented it back than and been using it ever since. Nice write up. - dchristian 12 years ago
  • This is AWESOME! Thanks for this incredibly useful tip! This will save me a TON of manual labels for creating exceptions that can now be handled by OU! - awingren 12 years ago
  • I moved a computer in AD since it first checked-in with KACE and this field isn't updating with the new location. Is there some way to trigger an update to this field?

    Thanks,
    awingren - awingren 12 years ago
This post is locked
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ