I am trying to build a bat file to automate the process of renaming a network computer. I can use the netdom utility included in the xpsp2 support tools to accomplish this, but I would like to tweak the basic command to allow me to enter the 'old computer' and 'new computer' names when I run the bat file.
Here is the command
netdom renamecomputer machine /newname:new_computername /userd:domainname\administrator_id /passwordd:* /usero:local_admin
/passwordo:* /reboot:seconds before automatic reboot
any help is appreciated. MH
Here is the command
netdom renamecomputer machine /newname:new_computername /userd:domainname\administrator_id /passwordd:* /usero:local_admin
/passwordo:* /reboot:seconds before automatic reboot
any help is appreciated. MH