Opening users container in AD 2003

Mark_Mckie
Mark_Mckie used Ask the Experts™
on
Hi Guys

Is there any way to open a users container/object quickly without having to drill down the containers on the left hand side within AD?

Can anyone make a program so that we enter a users Username or Email address and it opens their container/object

Thanks
Mark
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Krzysztof PytkoSenior Active Directory Engineer
Top Expert 2012

Commented:
Can you explain it more detailed, please? Maybe it would be enough for you using scripts (DS Tools or PowerShell)?

DS Tools are available on any DC by default or on any PC/Server with Administrative Tools/RSAT installed.
PowerShell can be downloaded for XP/2003/2008 from Quest or in 2008R2/7 there is native PS environment.

If os, let me know, I will tell you to accomplished that.

Regards,
Krzysztof

Author

Commented:
Hi iSiek

When i open AD and search for a user i get the below

 Screen 1
To then find the users container i need to look at his Object Path.

 Screen 2
I then need drill down the left hand side to open the users Object to then create a new user in the same container.

 Screen 3
Is there any quick way to just oben the container by entering a username or email into some sort of program/

Mark
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

I take it that you know that you can eight click on the Domain and choose search?  This defaults to users/group and will find and AD account based on (amongst others) username or email address.

Author

Commented:
Hi Chief

This is similar to what i need but i need it to open my AD window so i can create new users etc.

Commented:
This is much like your AD browser, EXCEPT it allows you to make edits without thumbing through the schema or opening up a lot of dialog boxes. I think you will like this much better than the AD browser and the MMC console combination.
Krzysztof PytkoSenior Active Directory Engineer
Top Expert 2012

Commented:
So, unfortunately this is not possible using standard MS tools like Active Directory Users and Computers snap-in console.
You can use software mentioned above or create appropriate scripts for new users and then use them in "new employee" creation process.

This is not complicated, you need to only evaluate how many scripts you need.

Krzysztof

Commented:
I agree. Adding users with scrips or batch files into AD is very handy..

Author

Commented:
Ok can anyone create a batch file so that if i enter someones username or email address it will open the object container?
Senior Active Directory Engineer
Top Expert 2012
Commented:
It won't open container. You can create batch file to get some attributes from user/computer object. But if you need to create new user in specific OU within domain, you need to prepare script for that.

You need to prepare at least:

First Name, Last Name, login for each OU/department
this script will create only user in  appropriate OU with "Domain Users" group membership. But there will be missing other fileds.

You need to consider using also:

display name, description, logon script, home drive, home dir, group membership, initial password, if user/computer should be enabled/disabled by default

then you can start to prepare useful script.

If you're interesed with that, please provide information, then I will prepare start script for one department for you as an example.

Krzysztof
Krzysztof PytkoSenior Active Directory Engineer
Top Expert 2012

Commented:
Can we somehow help you in this case with scripts or you're not interested ? :)

Krzysztof

Author

Commented:
hi iSiek, thanks for help but to be honest.. i dont see it working the way i would like it to so i will drop questing.

Mark

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial