Tech Support > Microsoft Windows > Windows Server > dsa.msc from the command line
dsa.msc from the command line
Posted by Mark Greifenberg on March 15th, 2006


Hi,

is it possible to open a specific user's property page (as found in Active
Directory Users and Computers) from the command line or from a script? I've
googled for several hours but i cannot find any info on this :-(

My Helpdesk-Software provides the option to user custom command (Buttons)
and i would like to use this feature so that my admin don't have to a
manually open dsa.msc and search for the user. Or has anyone an other
suggestion?

Thanks
Mark Greifen


Posted by Jerold Schulman on March 15th, 2006


On Wed, 15 Mar 2006 15:08:52 +0100, "Mark Greifenberg" <mark.greifenberg@mdhl.de> wrote:


Opem MMC.exe
Add/Remove Snap-in
Add Active Directory Users and Computers
Press Close.
Press OK
Expand to see the users.
On the View menu, press Filter Options.
Check "Create custom filter" and press Customize.
On the Advance tab, paste
(objectcategory=person)(samaccountname=Jerry)
Where Jerry is the user logon name.
Press OK and OK.
Select Users to see the user.
On the View menu, press Customize.
Ucheck everything.
Press OK.
On the File menu, Save As.
Save it as the User Logon Name.msc (Jerry.msc)

When they open Jerry.msc, It opens at Jerry.




Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com

Posted by Mark Greifenberg on March 15th, 2006


Thanks Jerold, but unfortionally this solution is not practically in our
environment. We have over 1.000 users and a moderate to hight fluctuation
rate. So it is not possible to maintain a .msc for every user in our AD. Any
other suggestions?

Kind Regards
Mark Greifenberg


"Jerold Schulman" <Jerry@jsiinc.com> schrieb im Newsbeitrag
news:bj8g12dv0pvjkt96beltqc2ig53m9k670r@4ax.com...


Posted by Jerold Schulman on March 16th, 2006



Why open it at all?

You can use the Active Directory command-line tools in Windows Server 2003
at tip 6820 in the 'Tips & Tricks' at http://www.jsifaq.com to display info and maintain
from a script.

You can also use adfind and admod
tip 8233 » AdMod freeware
tip 5898 » Freeware ADFind.

Lastly, you can define 26 saved queries in ADUC and use them to get all users who name starts with ......

On Wed, 15 Mar 2006 16:30:14 +0100, "Mark Greifenberg" <mark.greifenberg@mdhl.de> wrote:

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com