Script to configure an existing service to run with a different account
Does anyone have a script that will configure an existing service running on a PC to use a different user account other than the local system account? Here is an example to put it into context:
SERVER1 (Windows Server 2003) currently has a Service running called 'Service1' which is running as the "log on as" user account of local system. This Service needs to be reconfigured so that the "log on as" user account is 'firstname.lastname@example.org' with the password of 'password'.