Rename a set of or indiviaual Domain PC computer name in windows 2003 domain
I would like to change the computer name remotely through GP/powershell/any script to a standard naming convention in my environment which has XP, Vista and windows 7. Advance thanks for everyone Thanks Alagar
December 8th, 2010 6:30am

Hello, you can use netdom command line tool with a script, more details in: http://support.microsoft.com/kb/325354 http://support.microsoft.com/kb/298593 http://technet.microsoft.com/en-us/library/cc788029(WS.10).aspxBest regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
December 8th, 2010 7:31am

Hi Alagar, It is possible to rename computers in group policy, but it wouldn't be inteligent enough for what you need. Logon or vbs script is certainly an option. One very easy way to do it would be to use WMI, but the only problem here is that it can often be a little messy in a mixed environment, not to mention that any script method would require elivation (i.e. logon details of an account with sufficient priviledges to rename a computer - such as a Domain Admin would be saved in clear text).. not generally recommended for obvious reasons. The following article may be of help: http://blogs.technet.com/b/askds/archive/2009/02/19/renaming-a-computer-using-wmic-and-how-to-get-around-that-aggravating-invalid-global-switch-error.aspx ^ This can be done very easily if you have a list of computers, and what you want to rename them to. Or you could do this in one hit using PSEXEC, but the disadvantage of that is that it relies the remote PC's actually being turned on when you launch the script.Regards, Nathan Owen (Microsoft Certified Systems Engineer) - Please remember to click "Mark as Answer" on the post that helps you. Links: www.mad-monkey.co.uk - www.capitalnetworks.co.uk
December 8th, 2010 7:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics