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?

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

2

Try this:

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

Answered 01/25/2013 by: tshupp
Second Degree Black Belt

  • 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
Please log in to comment
Answer this question or Comment on this question for clarity

Share