For our users computers, we have the computer name in this format: room#-lastname (for ex - 2E11-Smith). This is nice b/c we can easily point out a users machine. However, it can be pretty labor intensive when a new employee starts and the computer name doesnt get renamed. If you forget, you'll have a long list of computer names to fix up. I needed a way to remotely fix up the computer names from my machine. I use netdom.exe.
Here is a sample command:
netdom renamecomputer 2E11-Smith /NewName:2E11-Rogers /UserD User /PasswordD MyPassword /Force
Use netdom /? or netdom renamecomputer /? for more parameters.
Next time the user restarts their computer, it will reflect on their machine, DNS, and AD.
No comments:
Post a Comment