How to Verify Trusts

Filed Under (Active Directory, Scripting) by on 05-11-2009

I know, all AD admins have trust issues…not just literal ones but we also think about the trusts we have in our Active Directory environment.  As you all know I”m a fan of quick easy ways to get info.  Today’s tidbit is how to use nltest to verify your trusts.

The following command and switches can be used to view all of your trusts.  You can perform them from any system in your domain, just specify the DC in the command.

nltest /server:dc_name /domain_trusts /all_trusts

Just replace the dc_name with your domain controllers name and it will list all of your trusts to the domain that the DC resides in.

Another tidbit I like to do is filter it by name if you have multiple namespaces.

nltest /server:dc_name /domain_trusts /all_trusts | find /i “name

Here you would replace name with the name of a domain or part of the namespace you are looking for. 

Leave a Reply