Microsoft KB Archive/102476

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:02, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PSS ID Number: 102476

Article Last Modified on 11/20/2003



The information in this article applies to:

  • Microsoft Windows NT Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1



This article was previously published under Q102476

SUMMARY

In Windows NT, you can do the following:

  • Change the computer name of a Windows NT Advanced Server computer
  • Change the computer name of a workstation in a domain
  • Change the computer name of a server in a domain


MORE INFORMATION

Changing Computer Names of Windows NT Advanced Server Computers

In Windows NT Advanced Server domains, domain membership (whether as workstation or server) is represented by a special system and security (SAM) account on the domain and an LSA Secret Object on the workstation or server.

Both the account and the secret object contain a password that is used by the Netlogon services to set up a secure channel between the machines. Netlogon periodically changes the password (both in the Secret Object and for the account on the domain) to prevent the password from being discovered.

The account on the server is marked with a special bit (either WORKSTATION TRUST ACCOUNT or SERVER TRUST ACCOUNT). These accounts cannot be used to logon interactively, nor can they be used to set up a connection using NET USE. If this is attempted, an error will be returned, ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT or ERROR_NOLOGON_SERVER_TRUST_ACCOUNT.

The LSA Secret Object is created by setup during the initial installation or when a workstation joins a domain. The initial password is the same as the computer name (in lowercase and truncated to 14 characters).

The SAM machine account is created by Server Manager when a workstation or server is added to the domain (or by Setup when an administratrive user name and password are specified). The password is the same as the computer name (in lowercase and truncated to 14 characters).

For Netlogon to start on a workstation or server, the passwords on the Secret Object and on the account on the domain must be the same.

Changing the Computer Name of a Workstation in a Domain

The correct way to change the computer name of a workstation in a domain is as follows:

  1. On the domain, run Server Manager to add a workstation with the new name.
  2. Choose the Network icon in Control Panel, and then leave the current domain (join a workgroup of any name).
  3. Change the computer name.
  4. Reboot the computer.
  5. Choose the Network icon in Control Panel, and then rejoin the domain.
  6. Reboot the computer.
  7. On the Domain, run Server Manager and delete the old workstation name.

Changing the Computer Name of a Server in a Domain

  1. On the domain, run Server Manager to add a server with the new name.
  2. Choose the Network icon in Control Panel, and then change the computer name.
  3. Reboot the computer.


NOTE: If you try to skip this step, Netlogon does not start on the server.

  1. On the server, run Server Manager and choose Synchronize With Domain Controller from the Computer menu. This resets the passwords on both the account and the Secret Object to the same password.
  2. On the domain, run Server Manager and delete the old server name.



Additional query words: prodnt rename

Keywords: kbnetwork KB102476
Technology: kbWinNT310Search kbWinNTAdvSerSearch kbWinNTAdvServ310 kbWinNTS310 kbWinNTS310search kbWinNTsearch kbWinNTSsearch kbWinNTW310 kbWinNTW310Search kbWinNTWsearch