Solved

How do I change my computer name inside the registry so that it wont crash?

Posted on 2008-10-24
7
1,493 Views
Last Modified: 2013-11-30
I need to figure out how to change the 'computer name' from inside the registry. I would like to add numbers next to the 'computer name' to keep track of them. For example: Computer1-01234, Computer2-01235, Computer3-0123456. I have 30 computers on a domain and they all require the user to log in so I need to figure out the best way to do this without crashing the systems.  - Thanks
0
Comment
Question by:techin4
[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
7 Comments
 
LVL 57

Accepted Solution

by:
Pete Long earned 500 total points
ID: 22794705
Hello techin4,


NETDOM RENAMECOMPUTER machine /NewName:new-name
          /UserD:user [/PasswordD:[password | *]]
          [/UserO:user [/PasswordO:[password | *]]]
          [/Force]
          [/REBoot[:Time in seconds]]


Regards,

PeteLong
0
 

Expert Comment

by:tribalost
ID: 22794716
Right Click on your My Computer Icon or go to Control Panel >> System and under the Computer Name tab you can change it there.
0
 

Author Comment

by:techin4
ID: 22794790
Thanks tribalost but I dont want to change it that way. Inside the registry, I saw 2 folders with 'active folder name' and 'computer name'. I basically want to add numbers next to the computer name. Example: Computer1-0123. The numbers after the computer name will just be for my reference to keep track of which pc is which. I tried adding numbers to it but I notice that when I add long numbers or dashes sometimes, the system would give me the "lsass error". I work in IT department and I need to tag the computers for our reference by just adding these numbers next to the computer name inside the registry but I never done this before. Thanks  
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 25

Expert Comment

by:slam69
ID: 22794928
use net dom.exe as described by pete long above
0
 
LVL 70

Expert Comment

by:KCTS
ID: 22794946
You cannot just change the name in the registry - the machine will lose its trust with the domain if you do - You might not want to use NETDOM but its the only way to do it - other then renaming the machine manually - that will work.
0
 
LVL 4

Expert Comment

by:oks1977
ID: 22795610
It seems that according to MS KB, PeteLong is right. But it applies to Windows XP.

http://support.microsoft.com/default.aspx?scid=kb;en-us;298593&sd=tech
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 22810722
ThanQ
0

Featured Post

Increase your protection from Zero Day threats!

Running two Antivirus' is never a good idea.
Taking advantage of Multiple Security layers on the other hand can often save your hide.
See which top notch security software brands have been proven to happily coexist together.
Reduce your chances of becoming a statistic.

Question has a verified solution.

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

Suggested Solutions

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

751 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