-
Rename Computers
Posted on June 14th, 2007 7 comments*-*Update *-*
Edited the post as i just spotted you can’t see all the command!Â
 *-*
How do you name computers on your networks?
Since users make such great use of Remote Web Workplace i’ve taken to naming them the same as the user name (obviously this is dependant on one person having their own PC)
It means the user doesn’t have to remember a PC name, when logging in remotely. They click on “Connect to my computer” and look for their nameÂ
“But what if that person leaves the company?!” I hear you cry
Well I have a batch file that I run from the server for renaming computers. It’s much quicker (and not as messy) as doing it manually
Netdom RenameComputer AndyParkes /NewName:AndyParkesPC /UserD:MyDomain\AdministratorÂ
/PasswordD:*Â /Force /ReBoot
pause
Note: The netdom command and it’s parameters are supposed to be on one line. I’ve seperated here for readabilityÂ
The pause is so that i can view the output when it’s finished.
If i was going to improve this i’d get it to prompt for the new and old computer names but this is a task i perform so infrequently that it’s easier to just edit the batch file
Also note the * for the password is so it prompts for the password. You can save the password in the batch file but who wants to leave their admin passwords lying around?!
Note. NetDom is part of the Windows XP support tools so you’ll need to load that if your going to do it from your PC
7 Responses to “Rename Computers”
-
I’m afraid I’m very boring – machines here at Netlink Towers are named NETLINK001, NETLINK002, etc and are physically labelled as such.
It’s a system that I employ at all my customer sites – CUST001, CUSTSVR, etc – somehow it just helps my addled brain remember machine names at a dozen sites!
-
It’s only a practice i’ve recently adopted to be honest since i’m able to put those practices into place. In my previous job we had a similar system as you and was either CUST001 as your even worse WINXPPC01
My two arguments against this were:
The customer knows who they are…why put it in the computer name? and secondly, why identfy the OS in the computer name..their are plently of places in the management consoles that do that! -
We name computer suites after computing pioneers – Babbage, Berners-Lee, Torvalds, Cray, etc. Office machines are simply “Office-xx”, and servers have proper real names – Rupert, Roxy, Bianca, Patrick, Clive, Bart, Lisa.
That command is useful though – I assume it renames both the machine and the associated AD record? Any gotchas with it?
-
deKay, that makes more sense in a school environment where PCs aren’t assigned to specific people
Yes it renames both the computer and the associated AD computer account
Not aware of any gotchas so would be interested to here if there are any!
-
We sometimes have machines that have been added as “office23″ instead of “office-23″, or have moved from one room to another, so that’s what I’m planning on using it to fix. One thing I have just realised is if you have, for example, a printer shared on a PC and then the PC name is changed. Phonecalls ahoy!
-
Thats understandable
We don’t have many situations where printers are shared from PCs though as they generally have their own in built print server or are shared directly from the server
-
[...] computers Here’s an extremely handy tip from Andy Parkes that will save some time when renaming computers on a network. That is, it will save time in theory. In practice, if you’re anything like me, [...]
Leave a Reply
-



![[This is a SBS Community blog you are reading. Are you subscribed to the Official SBS blog?]](http://www.sbslinks.com/images/sbsblogweb.jpg)


Recent Comments