Solved

cannot change computer name

Posted on 2006-06-14
9
447 Views
Last Modified: 2013-11-13
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
Comment
Question by:jvf
  • 4
  • 3
  • 2
9 Comments
 
LVL 24

Expert Comment

by:Kenneniah
ID: 16905716
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
 
LVL 9

Expert Comment

by:AndreDekolta
ID: 16906694
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
 
LVL 24

Accepted Solution

by:
Kenneniah earned 125 total points
ID: 16906827
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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 9

Expert Comment

by:AndreDekolta
ID: 16906864
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
 
LVL 24

Expert Comment

by:Kenneniah
ID: 16907083
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
 
LVL 9

Expert Comment

by:AndreDekolta
ID: 16907138
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
 
LVL 3

Author Comment

by:jvf
ID: 16907307
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
 
LVL 9

Expert Comment

by:AndreDekolta
ID: 16907472
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
 
LVL 3

Author Comment

by:jvf
ID: 16912397
Thanks to all. Congrats to Kenneniah. Your first two reg entries produced the old computer name. After changing them everything worked.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 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