Solved

Renaming a Windows 2003 Domain

Posted on 2007-04-06
3
203 Views
Last Modified: 2010-07-27
Hi there,

We are a small organisation with one Windows 2003 DC running Exchange 2003 SP1.  This server also hosts all of our applications we run as well as being a central storage point for our shared data.

We need to change the domain name from our present name to another.  I am reluctant to use the rendom.exe tool as it seems more trouble than it is worth and I have been warned away from it from people who have used it before.  I have full backups of our server, and I am thiking that a full re-installation of the OS and Exchange might be easiest.

If I do this however, can I use my backup to restore the C: drive, or will that overright the new installation I have done.  Do I have to do all of our applications from scratch again as well?  It seems like a long winded way to basically have to rebuild our server from the ground up again just so that we can have a different domain name.

Any advice would be appreciated!

Regards,

Pete

0
Comment
Question by:peterkennedy
[X]
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
3 Comments
 
LVL 38

Accepted Solution

by:
Hypercat (Deb) earned 500 total points
ID: 18865291
No, you can't restore your complete backup after renaming the domain.  The domain name is integral to AD and your system registry.  You can restore data from the backup, but you can't restore the AD structure or the registry, so you'd have to recreate your user and computer accounts, email account, etc., etc.  The only way to do this without having to completely rebuild AD would be to do a migration to another domain on a new server.  Then you could migrate your user and computer accounts.  You'd still have to reinstall software, however.  

What is the reason for wanting to change the domain name?  If it's primarily for external use, you can change your external domain name without renaming your internal domain.
0
 
LVL 1

Author Comment

by:peterkennedy
ID: 18868401
Thanks Hypercat.

Basically the organisation that is currently "Domain1" is breaking into two.  One of the partners in the organisation is starting a new business and the agreement is he takes their one and only server (which is the DC with Exchange, applications, etc with him.  This server is currently configured as "Domain1" with all of their applications, data, email, etc.  When he leaves to start his own business he will have a new business name and wants the domain name to reflect this change so that he logs onto say "Domain2".  It is really only a housekeeping thing I know, but so that the organisations are completely separated they want this done.

He wants his PCs to logon to the "Domain2" domain name at logon time and have no reference to "Domain1" whatsoever.

Is the easiest way to do this to exmerge their mailboxes out, backup their data, then rebuild the existing "Domain1" server from scratch to become "Domain2" (eg reformat, reinstall Windows 2003, Exchange, etc), then restore the data, exmerge the email data back in and re-install the applications onto the server?
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 18913992
If I understand your situation correctly, here's how I would do it.  If you need to preserve at least some AD info from Domain1, for the portion of the business that is remaining in that domain, then you need to purchase a new server for Domain1 first, with the required licenses, etc., for the new domain.  Then, follow the steps I've outlined below.  .  

1.  Install the new server into Domain1, run dcpromo to make it a DC and make sure Active Directory replicaton is complete.  

2.  Install Exchange on the new server and move ALL the mailboxes onto that server.  Also, move all FSMO roles, global catalog, etc. to that server.

3.  Install any other software you are keeping, and move any data that is to be retained in the old domain onto the new server.

4.  Run exmerge to export all of the contents of the mailboxes that will be moved to the new domain.  

5.  Remove the old server from the Exchange organization and uninstall Exchange using the steps in this article:

http://support.microsoft.com/kb/822931/en-us

6.  Run dcpromo to remove the old server from the domain.  Once it's a member server, unjoin it from the domain.

7.  Check your old domain and make sure that all traces of the old server have been removed.

8.  Run dcpromo again on the OLD server and create a new domain.  You now have Domain2 created.

9.  Reinstall Exchange on the new server.  

10.  Migrate the users, mailboxes and computers from the old domain to the new one using the Active Directory Migration Tool.  For help downloading and using the tool, look at :  

http://www.microsoft.com/downloads/details.aspx?FamilyID=6f86937b-533a-466d-a8e8-aff85ad3d212&DisplayLang=en

If you won't be preserving the old domain, then I would recommend:

1.  Unjoin all the computers from Domain1.

2. Run exmerge to export all of the mailboxes.

3.  Make a complete backup of all data, including Exchange.

4.  Uninstall exchange.

3.  Run dcpromo to remove AD.  This will effectively delete Domain1 entirely.

4.  Make sure all remnants of the domain are gone.

5.  Make another backup.

6.  Uninstall both DHCP and DNS and make sure all data related to both is gone.

7.  Reinstall DHCP and DNS cleanly.

8.  Run dcpromo again to create the new domain.

9.  Reinstall Exchange.

10.  Recreate your users and mailboxes.  Run exmerge again to restore the mailbox contents.

11.  Rejoin the computers to the new domain.

This should leave any other applications on the server intact, unless you have something that is strongly integrated into AD.  If that's the case, you may have to remove and reinstall those applications.  I would recommend checking with the software company if you have any doubts.

Logically, either of the above methods should work.  I know method 1 is solid, but I can't guarantee that method 2 is, as I can't find any documentation  to support doing what I've suggested.
 
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

691 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