Discussion:
dsa.msc from the command line
(too old to reply)
Mark Greifenberg
2006-03-15 14:08:52 UTC
Permalink
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
Jerold Schulman
2006-03-15 15:12:39 UTC
Permalink
Post by Mark Greifenberg
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
Create a shortcut to a taskpad of Active Directory Users and Computers filtered for each user.

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
Mark Greifenberg
2006-03-15 15:30:14 UTC
Permalink
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
On Wed, 15 Mar 2006 15:08:52 +0100, "Mark Greifenberg"
Post by Mark Greifenberg
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
Create a shortcut to a taskpad of Active Directory Users and Computers
filtered for each user.
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
Jerold Schulman
2006-03-16 14:48:21 UTC
Permalink
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 ......
Post by Mark Greifenberg
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
On Wed, 15 Mar 2006 15:08:52 +0100, "Mark Greifenberg"
Post by Mark Greifenberg
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
Create a shortcut to a taskpad of Active Directory Users and Computers
filtered for each user.
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
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com

Continue reading on narkive:
Loading...