create an MMC for a different domain

if you need to manage a different AD domain than the one your machine is joined to it’s useful to create a prebuilt MMC for that domain.

in this case i created an ADUC console for another domain.
steps involved…
first i added one of the DCs from the other domain as my tertiary DNS server on my workstation. then i opened up a blank MMC and added the ADUC snap-in. if you right-click on the ADUC snap-in once it’s added there’s an option for change domain. type in the other domain and make sure to check “save this domain setting for the current console”
then save the console.

all of that is pretty painless…but now you need to run the console with a user that has access to that domain. for this i used a batch file:
runas /u:mydomain.com\[user] /netonly “mmc C:\myconsole.msc”

source:
http://blog.remarqable.com/2011/12/06/runas-batch-file-to-launch-mmc-as-domain-admin/

update 4/10/2015:
so far i’m finding this to be a superior method…
add an entry in the local hosts file for mydomain.com
then create a batch file with the following:
runas /u:user@mydomain.com /netonly “mmc %SystemRoot%\system32\dsa.msc /domain=mydomain.com”

source:
http://sigkillit.com/2014/04/22/run-active-directory-management-tools-as-another-user/

This entry was written by resinblade , posted on Wednesday September 11 2013at 06:09 pm , filed under IT . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

Comments are closed.