Renaming a computer
- clientpc named "crapname" and you'd like it to be called "goodname"
- it's on, and reachable from the DC
- domain is foo.in
- you have a domain admin acct with username mbadmin, password seekrit
Open dos as admin and run this:
netdom renamecomputer crapname /newname:goodname /userd:foo.in\mbadmin /passwordd:seekrit /usero:foo.in\mbadmin /passwordo:seekrit /reboot:10 /force
Will force a reboot.