ADMT "Unable to get domain information when using an Include file

Posted on 2009-04-01
Last Modified: 2012-05-06
I am performing a W2K3 to W2K3 R2 migration for a company separation that is taking place. I have installed ADMT in the target domain, prepared the environment according to the ADMT migration guide (except the tcpip settings - not required as all servers are W2K3).

Inititally, using the two way trust, I created an account in the source, delegated rights in the target and ran ADMT. However, even though all the rights are apparently correct, I recieved the 'Invalid Handler' error that is often reported when the source account can't query the target for the existence of an existing object.

Google etc.. seems to point to then using the target account in ADMT to access the source domain and migrate the objects that way. This works (though it will cause problems with the computer migration), however I want to use an 'Include' file to allow renaming etc..

When I use an Inlude file, I recieved 'Unable to get domain information for 'domain'. The RPC server is unavailable.

My new domain and old domain communicate over a VPN and the network engineer has set all the ports correctly. We see no dropped packets at the firewall. NOTE: If I don't use the include file, the process works perfectly.

If I go back to using the source account to run ADMT and use an include file, although I fail with the invalid handler error, but the include file is read correctly.

I have previously used ADMT3 and not had this issue before, so I know it can and does work. Obviously, with the error I get, I don't even have an error log to reference.

Any help is appreciated.
Question by:Cejay1967
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 24049174
Are you using the same account name and password in both domains?  I have seen strange things happen using the same administrator name and password in both domains.  If that is the case try renaming one of the accounts.

Accepted Solution

Hardeep_Saluja earned 500 total points
ID: 24052100

Please check your ports.. try to disable ANY firewall/antivirus for testing
Its issue with some communication problem majorly ports
you can also download tool "portqryui" from microsoft website to check for which ports are not listening

Following ports should be listening:
RPC endpoint mapper
 135/tcp, 135/udp
Network basic input/output system (NetBIOS) name service
 137/tcp, 137/udp
NetBIOS datagram service
NetBIOS session service
RPC dynamic assignment
Server message block (SMB) over IP (Microsoft-DS)
 445/tcp, 445/udp
Lightweight Directory Access Protocol (LDAP)
LDAP ping
Global catalog LDAP
Global catalog LDAP over SSL
 88/tcp, 88/udp
Domain Name Service (DNS)
 53/tcp1, 53/udp
Windows Internet Naming Service (WINS) resolution (if required)
 1512/tcp, 1512/udp
WINS replication (if required)
 42/tcp, 42/udp

Author Comment

ID: 24055301
What I'd really like to do is use the 'Source' account in my target domain, as with 300 workstations to move, I don't want to script or manually enter the target account into the local administrators group on each workstation. The 'Invalid' handle seems to be a common problem and the accepted solution seems to be to use the target account to access the source AD.

I'll have another word with my network engineer. However, working across both companies is proving difficult.

I have seen one other case with an issue with the include file, however that query was never answered in the forums.

I need to find and answer though, it's driving me nuts!

Author Comment

ID: 24105139
I believe in the end the problem was that my network engineer had not allowed GC. When he changed that, I could use the include file. There must be a process difference between doing a normal domain search and using an include file.

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question