Reputation: 1475
I am trying to code a program that can start and stop services on my server remotely.
My main concern is how to make the client and server communicate
Can you guys give me some hint on how start about?
I have read about this: Remotely Check/Start/Stop Services
but that dude just connect to the server without any autentication. I tried his method and I encountered authentication issues.
Thanks in advance.
Upvotes: 1
Views: 94
Reputation: 54
In command line you can use the following, maybe this is already everything you need:
sc \\machine stop/start <service>
Upvotes: 1