Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-24
7
Medium Priority
?
1,496 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
7 Comments
 
LVL 57

Accepted Solution

by:
Pete Long earned 2000 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
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
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…
Suggested Courses

927 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