/build/static/layout/Breadcrumb_cap_w.png

How to create a Custom Inv Rule to return computers' object DN

I couldn't find the computer DN in the Windows registry. I'd like to be able to see what OU a computer is in while viewing a computer's inventory page. We have about 30 OU's for computers alone.

Does anyone know a method to create a custom inventory rule to return the object DN?


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: tshupp 11 years ago
3rd Degree Black Belt
2

Try this:

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


Comments:
  • Here's the associated blog: http://www.itninja.com/blog/view/how-to-create-a-custom-inventory-rule-on-the-k1000-that-will-read-the-ad-distinguished-name-of-a-pc - tshupp 11 years ago
 
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