Migrate domain to a new server

Every now and then you will want to, or have to, migrate an AD from from domain controller to another. You can just uninstall DomainService from the old one and install it on the new one and everything will work. You will see two lines in the TechClient. One of the installation on the old domain controller and one for the installation on the new domain controller. You can also tell TechIDManager that they are the same domain and avoid that slight bit of confusion. There is an internal identifier called the DomainGuid that is used to identify each domain, and an RSA key pair used to secure the access of the agent. It is possible to set these when migrating an AD to a new server to keep history and stuff contiguous. To do this you need to set the new server to have the same DomainGuid and RSA key as the old server.

On the old server from an administrative command line run:

DomainService.exe show
DomainService.exe ShowDomainPrivateKey

Make note of the DomainGuid listed in the output, and the  Domain <RSAKeyValue>…</RSAKeyValue>. They both need to be copied to the new server.

Before installing and starting the DomainService on the new server, it should be stopped and uninstalled on the old server.

DomainService.exe stop uninstall

On the new server from an administrative command line, before doing anything else related to DomainService, run this and replace xxxxxx with the DomainGuid from the old server, and the <RSAKeyValue> with the private key from the old server.

DomainService.exe DomainGuid xxxxxxx
DomainService.exe SetDomainPrivateKey <RSAKeyValue>.</RSAKeyValue>

Now install the DomainService as usual on the new server. Other settings such as FriendlyName and RMMName should be brought over in the same manner as DomainGuid.

DomainService.exe install
DomainService.exe ClientGuid yyyyyyy
etc…
DomainService.exe start

We at Ruffian Software Inc. attempt to provide a white glove installation service and support. We are happy to setup a meeting to do all these steps with you, and anyone in your company. If you want help, then book installation assistance.

Any questions – support@ruffiansoftware.com