Hello Jeff,
Yes, you can do this with a tool called SC.exe. This comes with WS2003 or
is on the Resource Kit for Win2k. Here is the command you would use -
sc config <servicename> obj= "domain\user" password= "password"
Make sure you put the spaces between the equal sign and the quotation mark
for both obj= and password=.
For example -
sc config eventlog obj= "testdomain\testuser" password= "testpassword"
You should get the following return if it succeeded -
[SC] ChangeServiceConfig SUCCESS
Reference KB -
166819 Using Sc.exe and Netsvc.exe to Control Services Remotely
http://support.microsoft.com/?id=166819
Best regards,
--
Shain Wray
Microsoft PSS Security Team
This posting is provided "AS IS" with no warranties and confers no rights.
Please reply to the newsgroup so that others may benefit. Thanks!