Active Directory Series

🤝 A Hands-On Lab: Building Trust Between Two Independent Forests in an Acquisition Scenario — Forest Trusts, and What a Trust Alone Doesn't Solve

Introduction

This article is part of the Top 1% Series: Full Article Guide, the 16th in the Active Directory series. Reading Hands-On: Building a Multi-Domain, Multi-Tree AD Forest first is strongly recommended. For the actual VM-building steps, see Hands-On Prep Manual and Setting Up Windows Server for the First Time.

Prerequisite Knowledge

Hands-On Prerequisites

RoleHostnameDomain name
Your own forest’s DC (existing)DC-CORPexample.com
The acquired company’s forest’s DC (new)DC-ACQacquired.example

Building DC-ACQ follows exactly the same steps as building the forest root domain in Hands-On: Building a Multi-Domain, Multi-Tree AD Forest (just change the domain name to acquired.example).

Hands-On Steps

Step 1: Establish two-way DNS name resolution

Before building a forest trust, both DCs need to be able to resolve each other’s domain name. Configure a conditional forwarder, covered in Understanding AD’s DNS, on each DC.

Run on DC-CORP:

Add-DnsServerConditionalForwarderZone -Name "acquired.example" -MasterServers <DC-ACQ's IP address>

Run on DC-ACQ:

Add-DnsServerConditionalForwarderZone -Name "example.com" -MasterServers <DC-CORP's IP address>

Confirm nslookup works in both directions before moving on.

nslookup acquired.example <run on DC-CORP>
nslookup example.com <run on DC-ACQ>

Step 2: Build the forest trust

On DC-CORP, use the netdom command to build a two-way forest trust.

netdom trust example.com /d:acquired.example /add /twoway `
    /UserD:acqadmin /PasswordD:* `
    /UserO:corpadmin /PasswordO:*

On success, acquired.example shows up under the “Trusts” tab of example.com’s properties in the Active Directory Domains and Trusts MMC console. In the multi-domain, multi-tree hands-on lab, this same kind of trust formed automatically the moment you added a child domain or tree root — no action needed. Here, because these are genuinely independent forests, the trust will never, ever form unless you actually run this netdom trust command. This exact difference is the single most important thing to feel in this hands-on lab.

SID filtering: a default security feature

A forest trust has a protective feature called SID filtering enabled by default. This prevents the trusted forest from maliciously claiming a SID (Security Identifier) that says “I’m actually a member of Enterprise Admins,” and having the trusting forest believe it unconditionally. If you can’t fully trust the acquired environment, or from a security-audit standpoint, it’s recommended not to disable this default protection.

Step 3: Confirm cross-forest resource access

On DC-CORP, create a shared folder and grant share permissions to a user from the acquired.example side.

New-Item -Path "C:\CrossForestShare" -ItemType Directory
New-SmbShare -Name "CrossForestShare" -Path "C:\CrossForestShare" -FullAccess "ACQUIRED\Domain Users"

If the trust is working correctly, despite being in a different forest, an account from acquired.example (ACQUIRED\username) should now be selectable from example.com’s share-permission configuration screen. Confirm you can actually reach \\DC-CORP\CrossForestShare from a machine logged on as a user in the acquired.example domain.

The View From the Top 1% Perspective

What a Trust Solves, and What It Doesn’t

At this point, the problem of “letting authentication cross the boundary” is solved. But in a real-world corporate acquisition or organizational merger, that’s not the end of the story. Typical problems a trust leaves entirely unsolved include:

Where ADMT (Active Directory Migration Tool) Actually Stands Today

For this kind of work — migrating user accounts to a different forest along with their SID history (a mechanism that keeps an old account’s SID as an attribute of the new account, preserving existing access rights) — Microsoft has traditionally provided a tool called ADMT (Active Directory Migration Tool).

That said, if you’re considering ADMT for real-world use, you need an accurate picture of where it stands today. Development on ADMT has stopped, and Microsoft’s own official support policy only covers testing through Windows Server 2012 R2 on both the source and target sides — operation on a current version like Windows Server 2025 hasn’t been validated. Combined with the fact that it requires a dedicated SQL Server instance, the honest answer is that actually running and testing ADMT in the Windows Server 2025 environment this blog’s hands-on labs assume isn’t something I’d recommend. For that reason, this article doesn’t turn ADMT into a hands-on you actually run — it stops at conveying two facts: “there’s a whole territory beyond a trust that requires a dedicated tool like this,” and “that dedicated tool itself is now at a crossroads.” For a real consolidation project, you’d need to research and validate alternatives to ADMT (a third-party migration tool, or identity consolidation on the Microsoft Entra ID side) individually, based on the project’s actual requirements.

Common Misconceptions and Pitfalls

The Troubleshooting Perspective

  1. netdom trust fails: Check whether Step 1’s DNS resolution (the conditional forwarders) is actually working in both directions. If name resolution fails, building the trust itself fails.
  2. The trust formed, but the other forest’s users never show up as an option: Check the SID filtering configuration, and whether the trust’s direction (one-way or two-way) is what you intended.

Preventive Measures and Permanent Fixes

Summary

What to Keep in Mind From Today

  1. When you hear “it’s a different forest,” design around the assumption that no trust relationship forms automatically.
  2. Treat building a trust (authentication cooperation) and consolidating users/data (a territory that may need a dedicated tool) as separate problems.

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).