Hello,
After imaging a suit of computers I currently have to go to each one in turn to set the machines name, as we have several software tools than communicate and log using the machine name as its point of reference.
I believe the best way to achieve my goal is to write a batch file or script that will assign a new machine name by matching the MAC address to a master MAC Address text file.
I can access the MAC address using the command:
getmac /nh /fo table > test.txt
And can interrogate the file with:
findstr.
Can anyone help me fill in the blanks, I am particularly interested in where to change the machine name in the registry so it has a cascade effect upon next reboot. That or a far simpler solution that is probably staring me in the face, and I have overlooked 😉
Thanks in advance for any help,
Kris Dowse