Solved

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

Posted on 2008-10-24
7
1,492 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 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

828 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