• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • Last Modified:

cannot change computer name

Hello,
We are stumped. We cannot rejoin a laptop to our domain. So, we deleted the machine account, renamed the laptop and attempted to join the domain again. We still fail and notice that when logging on locally, the logon screen displays the old computer name. Also, when viewing the laptop’s user accounts, the domain column lists the old computer name for the local accounts. All this takes place in spite of the fact that when looking on the ComputerName property tab the new computer name is listed.

How do we get the laptop to ignore its old name and finally use the new one?

                                                Thanks
0
jvf
Asked:
jvf
  • 4
  • 3
  • 2
1 Solution
 
KenneniahCommented:
I've seen this happen with some computers in the past. To see if it's the same problem, right-click My Computer and hit Properties.
On the Computer Name tab, hit Change.
Do "Computer name:" and "Full computer name:" match?
Now hit More.
Does "NetBIOS computer name:" match?
0
 
AndreDekoltaCommented:
You can also try to delete to domain computer account.  Logically disconnect the laptop from the domain (back to workgroup).  Then rename, reconnect to domain.

Andre...
0
 
KenneniahCommented:
In the cases I mentioned before, renaming the computer a few times finally made them match. You can also search the registry for the old name. The most important places being....

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName "ComputerName"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName "ComputerName"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters "Hostname"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters "NV Hostname"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters\{xxxxx-xxxx....} "Hostname"
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
AndreDekoltaCommented:
Hey Kenneniah!  Isn't there a patch/GUI that does this?  I seem to remember something that was easier than the REG hack thing.  Maybe wrong...

Andre...
0
 
KenneniahCommented:
You might be thinking of the WinsockXPFix for resetting TCP/IP which only affects winsock and TCP/IP not computer name. I'm not aware of any the work specifically with computer name, but that doesn't mean it doesn't exist.   :)
0
 
AndreDekoltaCommented:
Hmm...I'll dig into my tool box and see if something comes up.  You've refreshed my memory a bit.  Anyway, thanks!

Andre...
0
 
jvfAuthor Commented:
Thanks everyone, I'll try some of this tonight. Andre-we tried disconnecting and rejoining earlier, but though we deleted the machine account on the server it declared that the account still existed and refused to let us rejoin. At this point we started the computer renaming business. I considered posting the question as 'how do we delete a machine account that has already been deleted and can't be seen in Active Directory?' but since the computer name doesn't seem to be changing that seemed to be more interesting.
0
 
AndreDekoltaCommented:
Rememer...AD (Windoze) does require some time to replicate it's stuff throughout the network.  I usually say 15-20 minutes for "my" network.  Maybe different for yours.  Good luck, and I'll keep diggin' for something that may help.

Andre...
0
 
jvfAuthor Commented:
Thanks to all. Congrats to Kenneniah. Your first two reg entries produced the old computer name. After changing them everything worked.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now