This script will ask the user for the new computer name, domain credentials and then write a vbs based rename script to the machine. This will not pop up anything on the users machine and will be completed upon next reboot without the user knowing.

When this is finished it will write "Results: Successfully Changed Hostname" to the script log. otherwise it will write an error along the lines of invalid creds/hosname already exists. etc...

Hostname must be one word and if not part of a domain no need to enter username and password


Pawan DandriyalYes

[edited by: Pawan Dandriyal at 10:41 PM (GMT -8) on Dec 10, 2012] Very useful for Kaseya VSA admin