Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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,495 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 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

730 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