I have a command to stop a service on a remote machine.
I'm using netsvc below within a batch file.
netsvc "SERVICE NAME " \\tdsi-srv1 /stop
I get the following message "Service is pending stop on \\tdsi-srv1". Is there a way to stop this service immediately and not have it pending to stop. Same thing happens when I use the /start.
Thanks in advance,
TN
I'm using netsvc below within a batch file.
netsvc "SERVICE NAME " \\tdsi-srv1 /stop
I get the following message "Service is pending stop on \\tdsi-srv1". Is there a way to stop this service immediately and not have it pending to stop. Same thing happens when I use the /start.
Thanks in advance,
TN