Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Computer Rename

39 views
Skip to first unread message

Alex Gonzalez

unread,
Feb 11, 2004, 12:24:00 PM2/11/04
to
Hi
I need to rename 167 computers in my domain
I am a full 2000 AD Site
with domain name test.company.com
test is not a OU
Is it posible to rename the account?
Thanks

Torgeir Bakken (MVP)

unread,
Feb 11, 2004, 11:17:47 PM2/11/04
to
Alex Gonzalez wrote:

Hi

For WinXP clients:

Rename Method in Class Win32_ComputerSystem
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/rename_method_in_class_win32_computersystem.asp

VBScript examples:

http://groups.google.com/groups?selm=3E4F0E3A.8476E52E%40hydro.com

http://www.microsoft.com/technet/scriptcenter/compmgmt/scrcm36.asp


For Win2k and WinXP clients:

If you have access to a Windows 2003 Server CD, get the netdom.exe that is in
the "Support Tools" install, and take a look at the RENAMECOMPUTER parameter.

Netdom.exe from this kit can be used for Win2k, WinXP as well as Win2k3.


C:\>C:\Win2k3SupportTools\Netdom.exe HELP RENAMECOMPUTER
The syntax of this command is:

NETDOM RENAMECOMPUTER machine /NewName:new-name
/UserD:user [/PasswordD:[password | *]]
[/UserO:user [/PasswordO:[password | *]]]
[/Force]
[/REBoot[:Time in seconds]]

NETDOM RENAMECOMPUTER renames a computer that is joined to a domain. The
computer object in the domain is also renamed. Certain services, such as the
Certificate Authority, rely on a fixed machine name. If any services of this
type are running on the target computer, then a computer name change would
have an adverse impact. This command should not be used to rename a domain
controller.
(snip)

--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


0 new messages