The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,619 other followers

Archive for October 29th, 2012

HOW TO: Change the Default Selection in the Active Directory Manager Snap-in

Posted by jpluimers on 2012/10/29

When managing entities in more than one Active Directory, it is very nice to know that the Active Directory Manager Snap-in supports command line parameters select the domain (and if you want the domain controller).

(Further tweaking needs to be done using scripts like this one)

From the HOW TO: Change the Default Selection in the Active Directory Manager Snap-in. documentation:

Specify the Domain Controller Before Starting the Snap-in

To specify the domain controller to be used before starting the Active Directory Users and Computers snap-in, use the “/SERVER=” switch as a parameter to the MMC saved console (.msc) file. In the process of connecting to the server, the domain of which the controller is a member is automatically detected. For example, either from a command prompt or in the Open box, type:

dsa.msc /server=dc-01.domain.com

Specify the Domain Before Starting the Snap-in

To specify the domain to be used before starting the snap-in, use the “/DOMAIN=” switch as a parameter to the MMC saved console (.msc) file. A domain controller for the domain specified is located automatically and used as the default domain controller. For example, either from a command prompt or in the Open box, type:

dsa.msc /domain=childdomain.domain.com

–jeroen

via: HOW TO: Change the Default Selection in the Active Directory Manager Snap-in.

Posted in Power User, Windows, Windows Server 2003, Windows Server 2008 | Leave a Comment »

 
%d bloggers like this: