• subscribe
February 01, 1999 12:00 AM

How to Rename Your NT Domain

Windows IT Pro
InstantDoc ID #4784
Rechristen your network without wrecking it

What's in a name? Humans place a lot of importance on names we give the people, pets, and possessions in our lives, including our Windows NT networks. But sometimes—at least in the case of an NT domain—we might outgrow the label that seemed appropriate years ago. Why might you want to rename one of your company's Windows NT domains? Perhaps the administrator who installed NT on the domain's Primary Domain Controller (PDC) answered the domain name question hastily. Maybe your organization merged with another company or simply changed its name. Or perhaps you want to rename your domain in preparation for Windows 2000 (Win2K—formerly NT 5.0). For example, you might want to unify your network's Domain Name System (DNS) and Win2K domain names.

Another possibility is that the person who originally installed the OS (perhaps someone who has long since left the company) chose a name that was just plain silly. An NT 4.0 domain named BARNEY or NT3.1_DOMAIN will drive anyone buggy after a while. But you don't have to live with domain names you don't like. I've met many NT administrators who mistakenly believe that their NT domain name is written in stone. (For one such administrator's domain-renaming story, see Joe Rudich, "Same Domain, New Name," page 107.) Other administrators are convinced that trying to rename a domain would break every service on their network. But you can rename a domain without damaging your network.

Research Your Applications and Services
Successfully renaming a domain requires that you research, plan, and test your procedure before you change your production network. You can rename most NT domains without breaking services or reinstalling software. A few applications and services (such as certain versions of Microsoft Exchange Server and other BackOffice products) tie themselves directly to the NT domain name that they install under and might lose functionality if you rename their domain. To prepare for the possibility that some of the applications you're running won't easily accept a new domain name, you must research the topic of domain renaming with the vendor of every critical application running on your network. This step is crucial because the vendor might be able to provide tips based on prior experience that will save you time and effort and prevent headaches.

For many applications, this research will require you to call the application vendor's technical support department and ask, "Can this application survive a renaming of its NT domain?" In some cases, you might get immediate positive or negative responses. In other cases, you'll get answers along the lines of "We haven't tested that" or "I don't know, but I wouldn't try it." Don't get too discouraged if a vendor seems less than enthusiastic about the prospect of changing your domain name. The process might work even if the vendor tells you it flat-out won't work. I don't mean to suggest that you ignore what the vendor tells you, but take the company's advice with a grain of salt. I have found that many vendors that cast doubt on the success of renaming a domain are simply being conservative. Most haven't actually tested their applications for this change. The thought of being a guinea pig might not thrill you, but you have an excellent chance of success with most applications. For additional information about whether your procedure will work, search newsgroups and Web forums that relate to the application for FAQs on the subject.

Perform a Trial Run
After you complete your fact-finding mission, you're ready for the next step—testing in a lab environment. The most important preparation for renaming your domain is performing the renaming procedure on a test network that emulates your production environment as closely as possible. Lab networks that emulate one-domain environments need at least one PDC and one Backup Domain Controller (BDC), and they need to run all the network's important applications. For multiple-domain environments, I recommend a lab network that contains at least one PDC and one BDC for each of the network's domains and re-creates all trust relationships exactly as they exist on the production network. After you set up your test network's domain controllers, set up a test workstation for each client desktop platform that your network supports (e.g., NT Workstation, Windows 98, Win95, Windows 3.x, MS-DOS). Install on each lab workstation all the important applications that your network runs on the workstation's OS. To quickly implement this kind of lab environment, restore backups of production machines to test machines or use drive-imaging software to directly copy drive information from production systems to lab machines. You can create the environment with fresh installations, but this method doesn't emulate your production environment as closely as copying production machines' drives does.

After you construct your lab, run a test of the domain-renaming procedure to see what, if anything, breaks. This test will give you practice following the renaming procedure's steps in the correct order and in the correct manner, which is essential to the success of the renaming operation. Although changing the domain name on your network involves few steps, you must perform those steps in a definite order and follow a set of rules to avoid problems along the way.



ARTICLE TOOLS

Comments
  • Brian Truman
    10 years ago
    Mar 26, 2002

    This article was a life saver for a project that did not believe could be done. The detailed steps and "Gotchas" where very useful and yes I hit several of the “Gotchas” during the process.

    The Citrix Metaframe XP server did not like the domain name change at all and I had to rebuild the Citrix portion of the server installation. This was due to the Console and all user settings being based on the actual domain name and not the SID of the user, so the server could not be loaded into through any of the Citrix tools.

    I would suggest to all persons attempting this project be sure to add the “Local Administrator” to the authorized users of the Citrix Management Console of each Citrix server or the Farm Console before the process begins. This would have saved me and allowed me to logon to the Console and change the users from the old Domain name to the new name.

    All-in-all I had very few problems that was not covered this article with the exception of the Citrix server.

    Thank you,

  • Jude Wong
    13 years ago
    Aug 06, 1999

    I read “How to Rename Your NT Domain” with fond memories of what I went through when I renamed my office’s Windows NT domain. The project was almost a success.
    All elements in a domain (e.g., PDC, BDCs, member server, workstations) continue to function properly. The only abnormality is that we run out of licenses every now and then. I check the license manager program and find that old domain users are taking up licenses. I delete the old user accounts so that each user appears only from the newly renamed domain. Sometimes the accounts that I delete creep back in. Have you ever come across this situation?

    --Jude Wong



    The situation you’re experiencing might not result from renaming your domain but from a problem inherent to the License Logging Service. I see the situation all the time, even with domains that haven’t been renamed. The License Logging Service tends to mistrack licenses, a problem that can eventually lead to duplicate user sessions or incorrectly restrict users from accessing servers. This problem is so pervasive that I refer to the service as the License Leaking Service.
    The resolution to this problem is simple: Stop and disable the License Logging Service on all of your NT servers. If you’re internally managing your client, server, and application licensing and have purchased the appropriate number of licenses, you really don’t need (nor are you required) to run this service. Microsoft provides the service to users simply as a tool to assist in the monitoring of license usage. Unfortunately, the service can and often will interfere with network operations. If you require a license-tracking software package for use on your network, choose among the many third-party products that provide more features and work more reliably than the License Logging Service. Check previous issues of Windows NT Magazine (http://www.winntmag.com) for reviews of these products.
    --Sean Daily

  • Bob Stern
    13 years ago
    Aug 06, 1999

    I’ve been putting off renaming my company’s domain for a while. I need to rename it to remove an underscore so that the name will comply with the Uniform Naming Convention (UNC) in preparation for Windows 2000 (Win2K). After reading Sean Daily’s timely and informative “How to Rename Your NT Domain” (February), I think I’ll give it a try.

    --Bob Stern

  • Kevin Osborne
    13 years ago
    Aug 06, 1999

    I read Sean Daily’s “How to Rename Your NT Domain” (February) with interest. My company has a Windows NT 4.0 server that is set up as a standalone server. I prefer the machine to be a Primary Domain Controller (PDC). How can I transfer accounts and passwords to a PDC?

    --Kevin Osborne



    Unfortunately, until Windows 2000 (Win2K) comes out, you cannot convert a standalone NT server (non-domain controller) to a PDC, or vice-versa. Under Win2K, you can use the DCPROMO utility to add domain controller functionality to (or remove domain controller functionality from) an NT server.
    However, until Win2K comes out, you must reinstall Windows NT Server to make the change you want. A workaround that might help you retain at least some of your existing user account (SAM database) information is to employ a utility such as the Microsoft Windows NT Server 4.0 Resource Kit ADDUSERS utility to export your existing accounts to a file and later import them back to your PDC.
    --Sean Daily

You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...