rschmauch
asked on
How do you change computer names in your network using Active Directory?
Recently, we had to do a task where we would have to change all of the computer's names on the network with a different format. An example would be instead of having it be 008-CS-00, it would be formatted 008-Service Tag Number From Dell. Is there an easy way to do this without having to go to each computer to do it? The server is Windows Server 2003 R2 and the workstations are Windows XP Professional.
On each machine, open system properties and redomain as the new name. It should detect that it was previously domained as another name and change AD accordingly.
as far as I know, you need to rename each system by visiting them, and using domain admin creds to authorise the changes and immediate restart.
i know you can do this from the command line, so it maybe possible to set a script running on each system, but no real way to mass deploy as each system will need its own script/systemname set, and you really don't want to expose your creds/passwords.
i know you can do this from the command line, so it maybe possible to set a script running on each system, but no real way to mass deploy as each system will need its own script/systemname set, and you really don't want to expose your creds/passwords.
I could possibly see using a script in combination of using domjoin.exe, and using wmic to pull the s/n, and store it as a variable.....I dont have a Dell handy to see the results....
For example
wmic bios get serialnumber
Should show you the Service Tag number.... Then a little bit of finessing to get into a variable format....
Just thinking off the top of my head really....
For example
wmic bios get serialnumber
Should show you the Service Tag number.... Then a little bit of finessing to get into a variable format....
Just thinking off the top of my head really....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
My bad, thats the one I was thinking of... Where did I get domjoin from?