G
Guest
Guest
Archived from groups: microsoft.public.win2000.advanced_server (More info?)
Hello,
I have few Windows services running under windows 2000. These services
run under a specific logon user.
I need to create a script
a)To stop these services.
b)Change the userid and password of the domain user under which the
service is running
c)Start the service again
I have several services running under different users. I dont want to
change them manually thru control panel.Instead I want to write a
batch file or a script to do this.
I'm not sure which windows objects to use for this purpose.
If someone could direct me links to these objects that would be great.
I'm looking at writing either a vbscript(.vbs) or some batch files.
Thanks,
Mahesha
Hello,
I have few Windows services running under windows 2000. These services
run under a specific logon user.
I need to create a script
a)To stop these services.
b)Change the userid and password of the domain user under which the
service is running
c)Start the service again
I have several services running under different users. I dont want to
change them manually thru control panel.Instead I want to write a
batch file or a script to do this.
I'm not sure which windows objects to use for this purpose.
If someone could direct me links to these objects that would be great.
I'm looking at writing either a vbscript(.vbs) or some batch files.
Thanks,
Mahesha