Initially I created win application with ServiceController to restart remote windows service, I success to restart remote windows service.
then I implement same code in windows service to restart remote windows service, but it gives some error message like "can not open 'service name' on computer 'machine name'.
In serviceProcessInstaller properties i given like Account = LocalSystem
Note i also check the Service Manager on my local computer and connect it to the remote computer, there i able to restart the service.
then why its not allowing to restart the service from windows service
Please suggest me....