Use:
system q[net start "your service name"]; system q[net stop "your servoce name"]
Type net help start and net help stop at a command line for details.
In reply to Re: Need to stop and start a service in a windows server using admin rights..
by BrowserUk
in thread Need to stop and start a service in a windows server using admin rights..
by kalyanbhave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |