Changing 'log on as' for an NT service
Keywords: wntSvcStart
Question:
I am using the wntSvcStatus and wntSvcStart commands to check for a service running
and to start it, but I need a way to input the username and password for a service to
login as on the fly. Any ideas??? Thanks.
Answer:
The service command line parameters go into the "params" field. I think it is something
like:
AddExtender("WWWNT34I.DLL")
wntSvcStart("\\SERVER", "service-name", "flags", "/U:userid /P:password", " ")
Article ID: W13580
Filename: wntSvcStart and Password Parameter.txt