calitos12345, on Jul 22 2008, 07:54 PM, said:
can you batch it so it will have the ability to change computer names remotely?
perhaps batch it in such a way that it will autorun when the user next logins and will change the user computer's name and it will then reboot.
The tool itself won't do that, but sure, it could easily be scripted. The only hard part, is figuring out how you want it to work.
One way, would be making a script check a list with mac addresses and the names of PC with those mac addresses should have (like the standard format wsname supports). Then you enumerate at the NICs, and see if the name matches, if it doesn't, then you make it run wsname. You could run that script anytime you want, but it will need administrative privileges to use wsname.
Similarly, the mac address -> names list could be kept on a web server (in a database or XML file or whatever you want), and accessed as a REST web service by a script (e.g. a VBScript or JScript using a XMLHttpRequest), which would have a method that would return the name for the mac address specified (and have methods to add new names to it and such).
Or then again, you could just use asset tags, if your PCs all have them... So many possibilities.
And yes, you could spawn the process remotely (very simple), but users might not appreciate too much when their PC reboots without warning.
Edit: very strange, the site isn't back online yet (no DNS entry for mystuff.clarke.co.nz)... Not looking good
This post has been edited by crahak: 22 July 2008 - 06:30 PM