Re: Can I rename computers through AD?

From: Marin Marinov (mlmarinov_at_askme.ca)
Date: 06/07/04


Date: Mon, 7 Jun 2004 17:51:59 -0400

In article <eQs1hFNTEHA.3512@TK2MSFTNGP12.phx.gbl>,
nospam@jimsaccount.com says...
> We have to rename all the computers on our network to comply with new
> company standards. Can I change the computer names through Active Directory
> or do I have to physically go to each machine and change the names?
>
> We are using Windows 2003 server as domain controller.
>
> Thanks,
> jim
>
Hi Jim,
You cannot rename computers from the AD consoles. What OSs do your
clients run? For WinXP you can use NETDOM which you can script to
iterate through a text file with the old name,new name of the machine:

HOW TO: Use the Netdom.exe Utility to Rename a Computer in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;298593&sd=tech

If you have Win2K, however, you cannot use netdom. Take a look at this
script that popped up in my Google search:
http://www.enterpriseitplanet.com/resources/scripts_win/article.php/3082
361

I haven't tested this so be sure to extensively test it should you
decide to use it.

HTH

-- 
Cheers,
   Marin Marinov
   MCT, MCSE 2003/2000/NT4.0,
   MCSE:Security 2003/2000, MCP+I
-
This posting is provided "AS IS" with no warranties, and confers no 
rights.


Relevant Pages

  • Re: Remotely rename computer name and join to domain
    ... go to every single computer and rename it and wait and then ... If this is some unattended installation - why not script it and have it ... If you are joining old computers to a new domain - then why not script it so ...
    (microsoft.public.windowsxp.security_admin)
  • Re: force a script to resume before it is ready
    ... strState = "Offline" ... This is part of my FTP script that connects to multiple Computers (as ... trying to rename a file that does not exist. ...
    (microsoft.public.scripting.vbscript)
  • Re: netdiag /fix DNS_ERROR_RCODE_NOT_IMPLEMENTED error
    ... I don't want to go through the whole procedure of attempting to rename ... Use the DNS MMC snap-in to create the required DNS zones compiled - done ... Server 2003 Server Help and Support Center - done, ... computers that are statically configured for TCP/IP attempt to ...
    (microsoft.public.windows.server.active_directory)
  • compiling a script
    ... How do I run the following script if I want to rename my computers in the domain? ... strValueName = "ActiveComputerName" ...
    (microsoft.public.scripting.wsh)
  • Re: Erroneous DNS Error
    ... renamed to HOSTS2.BAK so that I could rename the original ... >* PLEASE post all messages and replies in the newsgroups ... >> Ever since running Adaware, ... >> computers in my home network before realizing the ...
    (microsoft.public.windowsxp.network_web)

Loading