Link to home
Start Free TrialLog in
Avatar of ealmquist
ealmquistFlag for United States of America

asked on

Add custom fields to Active Directory Users & Computers (Emergency Contact Info)

Hello!

I'd like to add a custom tab to ADUC called Emergency Info, and in that tab, I would like 4 fields:  Emergency Contact 1 followed by a name, Emergency Contact 1 # followed by a phone number, and then the same thing with a Contact 2.

I don't have much programming experience so I don't know if this will be beyond my ability, but I'm hoping someone could provide some step-by-step instructions.

I did look at this page:  http://blogs.technet.com/b/isingh/archive/2007/02/18/adding-custom-attributes-in-active-directory.aspx but those instructions were pretty confusing and I wasn't sure what the RollNumber was even referring to.

I do have access to a DC on a test network, so I am able make changes without affecting my production network.

Any help would be most appreciated!

Thanks!

Josh
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Brian also has a good article on schema extenstions  

http://www.windowsitpro.com/content1/topic/extending-the-active-directory-schema/catpath/technology

That part is not super hard but adding a custom tab in ADUC.  That is something I've not done and no easy way to do.

You can extend ADUC like I showed here   http://adisfun.blogspot.com/2009/05/add-employee-id-field-aduc.html

...but that is not the same as a new tab that you want.

Thanks

Mike
Avatar of ealmquist

ASKER

It sounds like this will be easier just putting this information in the context menu rather than creating a new tab in a user property page.  As I said, I don't have much programming knowledge so I think modifying that EmployeeID script is beyond me, although it seems like maybe that could be an option?
Or, I think I have a little better grasp of the instructions in the link I posted in my original question.  It would appear that I'd need a custom script though with those 4 entities that I want.  Does anything like that already exist somewhere?  I tried a google search and couldn't come up with anything.  I'm hopeful that's it's pretty easy to write if you are good at coding...
Are you talking about adding the tabs in ADUC?

Thanks

Mike
It sounds like adding the tabs in ADUC is a whole mess of a beast, so I think if I could just get the context menu to show up so I can add in the emergency contact info, that would suffice. Basically like you have it in your Employee ID blog post.  Instead of ID, it'd be Emergency Contact Info, with those 4 fields that I need:

 Emergency Contact 1, Emergency Contact 1 Phone #, Emergency Contact 2, Emergency Contact 2 Phone #
Yeah that should work,  haven't tested your scenario though so I can't speak first hand about doing the four

Thanks

Mike
The problem is that I'm not a coder so I don't know how to write the vb script...  I was hoping there might be something like this that already exists, but I couldn't find it...
ASKER CERTIFIED SOLUTION
Avatar of ealmquist
ealmquist
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Self resolved