renaming computers on AD

Is it possible to remotely rename computers via DC?

I have about 50 computers that need to be renamed and wondering if there is a way to do it from the server instead of visiting each workstation.

all workstations are windows 7 pro
Anthony H.Asked:
Who is Participating?
 
Will SzymkowskiSenior Solution ArchitectCommented:
This can be done using "netdom" from the AdminToolKit.

Syntax is below...
netdom renamecomputer old-name  /newname:new-name  /userd:domain_admin_login  /passwordd:domain_admin_pwd

You can also use the /reboot:second switch at the end to reboot the machine as well.

You can also do this from Powershell as well. See below link for details...
http://shellyourexperience.com/2013/08/29/renaming-computers-remotely-using-powershell-2-0/

Will.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.