smartin -
Unless you've a one-for-one replacement, I see some trouble for you here. If end users are allowed to login to any system in the domain (and with workstation naming all over the place as you describe likely no limits within User Manager) you run a risk of a user logging onto a second workstation and having that name incorrectly changed. And if systems are not on the network NBTSTAT will not help check to see if names changed before.

You can use a check file to get around this - if changed once for this user, do not change again - but how do you manage that the user is properly logging into the workstation that should reflect their name when you first install your script?

The INI file you mention will be useful as long as users only log onto 1 machine in the domain. But any duplicate entries will need to be investigated further.

Be interested in seeing your code when completed.

Bill